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 -
        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
        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 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16753 Fri May 30 12:03:44 MDT 2008 adnan.durrani Fix for ICE-3101(tab is switched automatically after correcting validation errors)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSet.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16754 Fri May 30 12:04:26 MDT 2008 adnan.durrani Fix for ICE-3101(tab is switched automatically after correcting validation errors)
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSet.java
        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
        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: