Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.2.BETA1, 3.2
-
Fix Version/s: 3.3
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
Description
Issue scenario: A tabSet is rendered that shows three tabs. Tab one contains a link that changes the selectedIndex to the third tab. The third tab has a commandLink. After a set of actions when clicking on the link in the third tab, it will automatically change the active tab to the first tab.
Steps to reproduce:
- Click on the 'Show Tab Three' link in tab one. Active tab is now tab three.
- Click on the link in Tab Three. Active tab stays as Tab Three.
- Click on Tab One to make it the active tab.
- Click on the 'Show Tab Three' link in tab one. Active tab is now tab three.
- Click on the link in Tab Three, the active tab is changed to tab one.
-
-
Hide
- Case11671Example.zip
- 20 kB
- Arran Mccullough
-
- Case11671Example/build.xml 3 kB
- Case11671Example/.../ant-deploy.xml 3 kB
- Case11671Example/.../build-impl.xml 77 kB
- Case11671Example/.../genfiles.properties 0.5 kB
- Case11671Example/.../private.properties 0.6 kB
- Case11671Example/nbproject/.../private.xml 0.2 kB
- Case11671Example/.../project.properties 3 kB
- Case11671Example/nbproject/project.xml 0.9 kB
- Case11671Example/src/conf/MANIFEST.MF 0.0 kB
- Case11671Example/src/.../example/Item.java 0.1 kB
- Case11671Example/src/.../TestBean.java 1 kB
- Case11671Example/web/.../context.xml 0.1 kB
- Case11671Example/web/WEB-INF/web.xml 3 kB
- Case11671Example/.../welcomeICEfaces.xhtml 2 kB
-
Hide
- Case11671Example.war
- 9.62 MB
- Migration
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/com/.../example/Item.class 0.3 kB
- WEB-INF/classes/.../example/TestBean.class 2 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-ace.jar 3.16 MB
- WEB-INF/lib/icefaces-compat.jar 2.68 MB
- WEB-INF/lib/icefaces.jar 341 kB
- WEB-INF/lib/javax.faces.jar 2.48 MB
- WEB-INF/web.xml 3 kB
- welcomeICEfaces.xhtml 2 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
The problem was that the yti hidden field is used to communicate the user clicked tab change to the server, and since it's the submitting element, it can't just be a parameter but must be an element. So when the server overrides the selected tab, that field is then stale and incorrect. The server isn't rendering out the yti element itself, since it can be in the tabSet's form or any tabSetProxy's form. So, needed to add post-submit code in the onsuccess handler to clear out the hidden field so it can't become stale later.
icefaces3 trunk
Subversion 34105
Show
Mark Collette
added a comment - The problem was that the yti hidden field is used to communicate the user clicked tab change to the server, and since it's the submitting element, it can't just be a parameter but must be an element. So when the server overrides the selected tab, that field is then stale and incorrect. The server isn't rendering out the yti element itself, since it can be in the tabSet's form or any tabSetProxy's form. So, needed to add post-submit code in the onsuccess handler to clear out the hidden field so it can't become stale later.
icefaces3 trunk
Subversion 34105
Confirmed fixed on ICEfaces3 trunk revision# 34106 in Firefox19, Chrome25, IE10.
Show
Cruz Miraback
added a comment - Confirmed fixed on ICEfaces3 trunk revision# 34106 in Firefox19, Chrome25, IE10.
Support Case #11671