You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2008/06/02 23:17:45 UTC
[jira] Closed: (TAPESTRY-2431) Choose a strategy to build bean in
BeanEditor
[ https://issues.apache.org/jira/browse/TAPESTRY-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-2431.
------------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
5.0.12 includes the ability to mark the preferred constructor with @Inject.
On the other hand, you can use the prepare event, from the Form, to instantiate the object yourself, which gives you ultimate control.
> Choose a strategy to build bean in BeanEditor
> ---------------------------------------------
>
> Key: TAPESTRY-2431
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2431
> Project: Tapestry
> Issue Type: Improvement
> Components: Core Components
> Affects Versions: 5.0.12
> Reporter: José Paumard
> Assignee: Howard M. Lewis Ship
>
> It would be nice ot have at least one more strategy to build a bean in a BeanEditor. Right now T5 chooses a constructor with as many parameters as possible. Being able to have it choose the no-arg constructor would be a useful improvement. Being able to contributing a method to build that class of beans or a pointing a particular constructor would be nice too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org