You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Guido Dubois (JIRA)" <de...@myfaces.apache.org> on 2010/11/26 20:18:14 UTC

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

<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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964741#action_12964741 ] 

Guido Dubois commented on TOBAGO-953:
-------------------------------------

What abaut this issue? This is really essential...

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970195#action_12970195 ] 

Guido Dubois commented on TOBAGO-953:
-------------------------------------

No, this hint doesn't work...

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970174#action_12970174 ] 

Guido Dubois commented on TOBAGO-953:
-------------------------------------

I tried to prevent this behaviour with a converter. But I get the same result. The value of selectOneChoice is not NULL when I'm selecting the empty item.

I have no idea how to prevent this behaviour. Please give me a hint? It is really important for me...

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970805#action_12970805 ] 

Guido Dubois commented on TOBAGO-953:
-------------------------------------

Yes, I do...

I tried it allready before with the <tc:selectItem> but including itemValue. Now I have tried exactly what Bernd recommended...

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Guido Dubois (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972504#action_12972504 ] 

Guido Dubois commented on TOBAGO-953:
-------------------------------------

I'm thinking about going back to version 1.0.32 because in this state version 1.5.0 (alpha-2) is unuseable...

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970801#action_12970801 ] 

Udo Schnurpfeil commented on TOBAGO-953:
----------------------------------------

Did you recognize the <tc:> (instead of the <f:>) in the comment of Bernd?

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970184#action_12970184 ] 

Bernd Bohmann commented on TOBAGO-953:
--------------------------------------

Can you try <tc:selectItem  itemLabel="#{bundle.itemAll}" > without setting the itemValue, please. 

> <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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.