You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rainer Rohloff (JIRA)" <de...@myfaces.apache.org> on 2009/03/24 08:59:52 UTC

[jira] Created: (TOBAGO-748) with inside of selectOneChoice lost focus after action

<tc:command> with <facet name="change"> inside of selectOneChoice lost focus after action
-----------------------------------------------------------------------------------------

                 Key: TOBAGO-748
                 URL: https://issues.apache.org/jira/browse/TOBAGO-748
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Facelets
    Affects Versions: 1.0.20
            Reporter: Rainer Rohloff


When using <tc:command> with <facet name="change"> inside of selectOneChoice the field lost the focus and activates the first field in the form. This is a usability problem.

example:
<tx:in label="input" value="#{myBean.input}" />
<tx:selectOneChoice label="Select" required="true" value="#{myBean.value}">
	<f:selectItems value="#{myBean.items}" />
	<f:facet name="change">
	     <tc:command action="#{myBean.actionChange}" />
	</f:facet>
</tx:selectOneChoice>

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


[jira] Resolved: (TOBAGO-748) with inside of selectOneChoice lost focus after action

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

Bernd Bohmann resolved TOBAGO-748.
----------------------------------

    Resolution: Fixed

> <tc:command> with <facet name="change"> inside of selectOneChoice lost focus after action
> -----------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-748
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-748
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.20
>            Reporter: Rainer Rohloff
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.22, 1.1.0
>
>
> When using <tc:command> with <facet name="change"> inside of selectOneChoice the field lost the focus and activates the first field in the form. This is a usability problem.
> example:
> <tx:in label="input" value="#{myBean.input}" />
> <tx:selectOneChoice label="Select" required="true" value="#{myBean.value}">
> 	<f:selectItems value="#{myBean.items}" />
> 	<f:facet name="change">
> 	     <tc:command action="#{myBean.actionChange}" />
> 	</f:facet>
> </tx:selectOneChoice>

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