Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-965

cursor does not appear to go anywhere after PPR if next tabbed component was updated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.6-core
    • 2.1.5-core, 2.2.2-core
    • Components
    • None
    • IE 7/Firefox 2

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmander Paul Mander
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: