[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1178) s:selectItems creates select items twice

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri Apr 13 11:46:59 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1178?page=comments#action_12359258 ] 
            
Pete Muir commented on JBSEAM-1178:
-----------------------------------

Thanks for the bug report!

> s:selectItems creates select items twice
> ----------------------------------------
>
>                 Key: JBSEAM-1178
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1178
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: JSF
>    Affects Versions: 1.2.1.GA
>            Reporter: Stephan Bublava
>         Assigned To: Pete Muir
>             Fix For: 1.3.0.BETA1
>
>
> UISelectItems overrides getValue() to create a list of SelectItem instances. However in a Faces request getValue() will be called (at least) twice - once during validation and once during rendering.
> The implementation should check this condition and only call asSelectItems() once per request.

-- 
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