[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2334) @DataModelSelection: allowing for initial value

Christian Bauer (JIRA) jira-events at lists.jboss.org
Sat Dec 1 10:18:01 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-2334?page=all ]

Christian Bauer closed JBSEAM-2334.
-----------------------------------

    Resolution: Duplicate Issue

http://jira.jboss.com/jira/browse/JBSEAM-2296

> @DataModelSelection: allowing for initial value
> -----------------------------------------------
>
>                 Key: JBSEAM-2334
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2334
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 2.0.0.GA
>            Reporter: Marc Lustig
>            Priority: Critical
>
> @DataModel
> private List<Area> areas;
> 	
> @Out
> @DataModelSelection
> private Area selectedArea;
> @Begin
> public String begin()  {
>   selectedArea = new Area(3);
> }
> The above code sets an initial value for the selectedArea (=preselection).
> However, after leaving the @Before-annotated method, Seam overwrites selectedArea with the first item of List<Area>.
> Hence, it is impossible to set an initial value, which is a basic requirement for web-UIs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list