Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.7.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:any
-
Support Case References:
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
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
| Field | Original Value | New Value |
|---|---|---|
| Attachment | Test_PanelTabset.war [ 11011 ] |
| Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4873 |
| Fix Version/s | 1.7.1 [ 10122 ] | |
| Assignee Priority | P2 | |
| Assignee | Adnan Durrani [ adnan.durrani ] |
| 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 |
| Files Changed | ||||
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 |
| Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/paneltabset/PanelTabSet.java
|
| Status | In Progress [ 3 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |
| Assignee Priority | P2 | |
| Assignee | Adnan Durrani [ adnan.durrani ] |

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