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

        Hide
        Michael Thiem added a comment -

        test application for tomcat 5.5, using the patched jars from ICE-2367

        Show
        Michael Thiem added a comment - test application for tomcat 5.5, using the patched jars from ICE-2367
        Hide
        Adnan Durrani added a comment -

        trunk: revision 16753
        branch 1.7 : revision 16754

        Show
        Adnan Durrani added a comment - trunk: revision 16753 branch 1.7 : revision 16754

          People

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

            Dates

            • Created:
              Updated:
              Resolved: