ICEfaces
  1. ICEfaces
  2. ICE-3101

tab is switched automatically after correcting validation errors

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      Assume there's a tabset containing multiple tabs. Each tab folder now contains some input fields marked as required="true". Setting the newly created partialSubmit attribute of the ice:panelTabSet component explicitly to false (ICE-2367) prevents the user from switching the tab until all required input text fields have been filled out. This is just fine, but there seems to be a bug in the following scenario:

      1. In the attached test application, try to switch from tab 0 to tab 1 or 2
      2. This is not possible since the panelTabSet's partialSubmit attribute is set to false. Instead the relevant error messages will appear right beneath the input text fields which is also correct.
      3. Now, fill out each text field, so that the validation errors disappear and tab through them
      4. After filling out the second text field and tabbing to the last "dummy input" text field the tab will automatically be switched to the one selected under #1

      It seems the tab event is queued and executed automatically after the errors on the page have been corrected

        Activity

        Michael Thiem created issue -
        Michael Thiem made changes -
        Field Original Value New Value
        Attachment Test_PanelTabset.war [ 11011 ]
        Michael Thiem made changes -
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Michael Thiem
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: