cursor does 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.

Reply via email to