You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave (JIRA)" <de...@myfaces.apache.org> on 2007/01/21 14:36:29 UTC

[jira] Created: (TOMAHAWK-869) empty selection does not work

<t:selectOneCountry> empty selection does not work
--------------------------------------------------

                 Key: TOMAHAWK-869
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-869
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: SelectOneCountry
    Affects Versions: 1.1.5-SNAPSHOT
         Environment: JBOSS, XP, IE/FireFox
            Reporter: Dave


<t:selectOneCountry emptySelection="" 
value="#{bean.country}"
valueChangeListener="#{ bean.countryChanged}"  
 /> 
 
When changing country from US to Canada, or from empty selection to US, everything worked fine.  But changing from US to empty selection, the backing bean variable "country" was not changed, and the valueChangeListener was not called. I expected the country variable to become null when user selected empty selection. 
 
Also the empty selection should be turned on/off programactically? OFF - the empty selection does not show up if the country is required.

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

        

[jira] Resolved: (TOMAHAWK-869) empty selection does not work

Posted by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cagatay Civici resolved TOMAHAWK-869.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.5-SNAPSHOT

> <t:selectOneCountry> empty selection does not work
> --------------------------------------------------
>
>                 Key: TOMAHAWK-869
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-869
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: SelectOneCountry
>    Affects Versions: 1.1.5-SNAPSHOT
>         Environment: JBOSS, XP, IE/FireFox
>            Reporter: Dave
>         Assigned To: Cagatay Civici
>             Fix For: 1.1.5-SNAPSHOT
>
>
> <t:selectOneCountry emptySelection="" 
> value="#{bean.country}"
> valueChangeListener="#{ bean.countryChanged}"  
>  /> 
>  
> When changing country from US to Canada, or from empty selection to US, everything worked fine.  But changing from US to empty selection, the backing bean variable "country" was not changed, and the valueChangeListener was not called. I expected the country variable to become null when user selected empty selection. 
>  
> Also the empty selection should be turned on/off programactically? OFF - the empty selection does not show up if the country is required.

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