You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Yee-Wah Lee (JIRA)" <de...@myfaces.apache.org> on 2008/02/22 02:00:20 UTC

[jira] Commented: (TRINIDAD-965) cursor does not appear to go anywhere after PPR if next tabbed component was updated

    [ https://issues.apache.org/jira/browse/TRINIDAD-965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571248#action_12571248 ] 

Yee-Wah Lee commented on TRINIDAD-965:
--------------------------------------

Observations: The cursor does go to the second inputText briefly (it highlights the existing contents) before the inputText's contents are replaced. 

> cursor does not appear to go anywhere after PPR if next tabbed component was updated
> ------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-965
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-965
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.0.6-core
>         Environment: IE 7/Firefox 2
>            Reporter: Paul Mander
>            Priority: Minor
>
> Test case based on TRINIDAD-952
> <tr:inputText label="Label 1"
>                       id="inputText1"
>                       binding="#{tabfails.inputText1}"
>                       autoSubmit="true"
>                       valueChangeListener="#{tabfails.doSomething1}"/>
>         <tr:inputText label="Label 2"
>                       id="inputText2"
>                       binding="#{tabfails.inputText2}"
>                       partialTriggers="inputText1" />
>         <tr:inputText label="Label 3"
>                       id="inputText3"
>                       binding="#{tabfails.inputText3}"
>                       partialTriggers="inputText1"/> 
> public void doSomething1(ValueChangeEvent valueChangeEvent) {
>         String value1 = inputText1.getValue() == null ? null : inputText1.getValue().toString();
>         String value2 = inputText2.getValue() == null ? null : inputText2.getValue().toString();
>         
>         inputText2.setSubmittedValue(null);
>         inputText2.setValue(value1 + value2);
>     }
> Enter anything in inputtext1 and tab. InputText2 is updated but no component appears to have focus. 
> Note that in 1.0.6, different behaviour was seen between IE and Firefox. IE would maintain focus back on "tabbed from" input. Since TRINIDAD-952 both browsers behave the same.

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