You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Kieselhorst (JIRA)" <de...@myfaces.apache.org> on 2015/05/29 15:22:18 UTC

[jira] [Commented] (TOBAGO-953) item no longer NULL

    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14564790#comment-14564790 ] 

Dennis Kieselhorst commented on TOBAGO-953:
-------------------------------------------

With latest version you can now use:
{code:xml}
<f:selectItem itemLabel="All" noSelectionOption="true" />
{code}

> <f:selectItem itemValue="" itemLabel="All" /> item no longer NULL
> -----------------------------------------------------------------
>
>                 Key: TOBAGO-953
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-953
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.5.0-alpha-2
>         Environment: Facelets
>            Reporter: Guido Dubois
>
> The value of <tx:selectOneChoice> gets "0" selecting the first item... The first select item has to return NULL. In version 1.0.x this behaviour works correctly...
>           <tx:selectOneChoice value="#{tableofproductsController.filterSelectedNorm}" label="#{bundle.popupFilterNormFilter}" labelWidth="225px">
>             <f:selectItem itemValue="" itemLabel="#{bundle.itemAll}" />
>             <f:selectItems value="#{tableofproductsController.filterNormSelectItems}" />
>           </tx:selectOneChoice>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)