You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Koci (JIRA)" <de...@myfaces.apache.org> on 2010/02/09 15:21:28 UTC

[jira] Updated: (MYFACES-2542) Don't throw exception if no SelectItems found

     [ https://issues.apache.org/jira/browse/MYFACES-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Koci updated MYFACES-2542:
---------------------------------

    Status: Patch Available  (was: Open)

> Don't  throw exception if no SelectItems found
> ----------------------------------------------
>
>                 Key: MYFACES-2542
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2542
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: General
>    Affects Versions: 2.0.0-beta-2
>         Environment: myfaces trunk
>            Reporter: Martin Koci
>            Priority: Trivial
>         Attachments: MYFACES-2542.patch
>
>
> if  <f:selectItems  value="#{aNonExistentModel}" /> resolves in runtime to null a expection is throw. But having no SelectItem(s) is legal and this state should not breaks view processing/rendering.  JSF RI  handles this situation without a exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.