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 2007/04/16 22:31:15 UTC

[jira] Created: (TOBAGO-357) and is only executed if changed twice

<tc:selectOneRadio> and <f:facet name="change"> is only executed if changed twice
---------------------------------------------------------------------------------

                 Key: TOBAGO-357
                 URL: https://issues.apache.org/jira/browse/TOBAGO-357
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.10
         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.6 snap (16.04.2007), tobago 1.0.11 snap (16.04.2007)
            Reporter: Guido Dubois


Initialy nothing is choosen. Then select the first one ("N"), nothing happend. Select the second one ("O"), now the method is invoked and the radio is setted to the first one ("N"). Set to the second ("O") does nothing. Set to the third ("S"),  method is invoked and radio setted to second ("O").

  <tc:selectOneRadio required="true">
    <tc:selectItem itemValue="N" itemLabel="Nord" />
    <tc:selectItem itemValue="O" itemLabel="East" />
    <tc:selectItem itemValue="S" itemLabel="South" />
    <tc:selectItem itemValue="W" itemLabel="West" />
    <f:facet name="change">
      <tc:command actionListener="#{bbg.value1Changed}" />
    </f:facet>
  </tc:selectOneRadio>


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


[jira] Commented: (TOBAGO-357) and is only executed if changed twice

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

Guido Dubois commented on TOBAGO-357:
-------------------------------------

Good advice, this works...

> <tc:selectOneRadio> and <f:facet name="change"> is only executed if changed twice
> ---------------------------------------------------------------------------------
>
>                 Key: TOBAGO-357
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-357
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.6 snap (16.04.2007), tobago 1.0.11 snap (16.04.2007)
>            Reporter: Guido Dubois
>
> Initialy nothing is choosen. Then select the first one ("N"), nothing happend. Select the second one ("O"), now the method is invoked and the radio is setted to the first one ("N"). Set to the second ("O") does nothing. Set to the third ("S"),  method is invoked and radio setted to second ("O").
>   <tc:selectOneRadio required="true">
>     <tc:selectItem itemValue="N" itemLabel="Nord" />
>     <tc:selectItem itemValue="O" itemLabel="East" />
>     <tc:selectItem itemValue="S" itemLabel="South" />
>     <tc:selectItem itemValue="W" itemLabel="West" />
>     <f:facet name="change">
>       <tc:command actionListener="#{bbg.value1Changed}" />
>     </f:facet>
>   </tc:selectOneRadio>

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


[jira] Commented: (TOBAGO-357) and is only executed if changed twice

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

Guido Dubois commented on TOBAGO-357:
-------------------------------------

This happens only in IE, in Firefox it works accurate...

> <tc:selectOneRadio> and <f:facet name="change"> is only executed if changed twice
> ---------------------------------------------------------------------------------
>
>                 Key: TOBAGO-357
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-357
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.6 snap (16.04.2007), tobago 1.0.11 snap (16.04.2007)
>            Reporter: Guido Dubois
>
> Initialy nothing is choosen. Then select the first one ("N"), nothing happend. Select the second one ("O"), now the method is invoked and the radio is setted to the first one ("N"). Set to the second ("O") does nothing. Set to the third ("S"),  method is invoked and radio setted to second ("O").
>   <tc:selectOneRadio required="true">
>     <tc:selectItem itemValue="N" itemLabel="Nord" />
>     <tc:selectItem itemValue="O" itemLabel="East" />
>     <tc:selectItem itemValue="S" itemLabel="South" />
>     <tc:selectItem itemValue="W" itemLabel="West" />
>     <f:facet name="change">
>       <tc:command actionListener="#{bbg.value1Changed}" />
>     </f:facet>
>   </tc:selectOneRadio>

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


[jira] Commented: (TOBAGO-357) and is only executed if changed twice

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

Bernd Bohmann commented on TOBAGO-357:
--------------------------------------

Please try 

<f:facet name="click">
   <tc:command actionListener="#{bbg.value1Changed}" />
</f:facet> 

> <tc:selectOneRadio> and <f:facet name="change"> is only executed if changed twice
> ---------------------------------------------------------------------------------
>
>                 Key: TOBAGO-357
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-357
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.10
>         Environment: winxp prof, tomcat 5.5.20, myfaces 1.1.6 snap (16.04.2007), tobago 1.0.11 snap (16.04.2007)
>            Reporter: Guido Dubois
>
> Initialy nothing is choosen. Then select the first one ("N"), nothing happend. Select the second one ("O"), now the method is invoked and the radio is setted to the first one ("N"). Set to the second ("O") does nothing. Set to the third ("S"),  method is invoked and radio setted to second ("O").
>   <tc:selectOneRadio required="true">
>     <tc:selectItem itemValue="N" itemLabel="Nord" />
>     <tc:selectItem itemValue="O" itemLabel="East" />
>     <tc:selectItem itemValue="S" itemLabel="South" />
>     <tc:selectItem itemValue="W" itemLabel="West" />
>     <f:facet name="change">
>       <tc:command actionListener="#{bbg.value1Changed}" />
>     </f:facet>
>   </tc:selectOneRadio>

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