Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3 RC1, Chrome, Tomcat 7
-
Assignee Priority:P1
Description
I'm using ace:tabSet with clientSide="false" and all my tabPanes have cacheOnClient="true". The caching behavior is as expected and when a tab is selected, the cached dom node are show instantly and an ajax request updates the state of the tabs behind the scenes. The problem is that once this ajax request returns, the tab that originally fired gets selected even if the user had selected another one before the original ajax request is returned.
If the user is on tab A and clicks on tab B and immediately clicks on tab C, he will get to tab C but once the state has been updated on the server for the tab B click event, the user is brought back to tab B and after a the update for the tab C click event is done, is again brought back to tab C. Very confusing to the user.
To reproduce the problem use attached files to recreate a sample ICEfaces2.1BETA2 project. Once up and running click on tab B and then within 2 seconds click on tab C. Wait for a second or two.
The update of the tabset state on the server should not have any effect on the client side (it should not switch to a tab) since the client side already reflects the correct state. If this is not possible, we should have a way to tell the component not to change tab after the state is updated.
If the user is on tab A and clicks on tab B and immediately clicks on tab C, he will get to tab C but once the state has been updated on the server for the tab B click event, the user is brought back to tab B and after a the update for the tab C click event is done, is again brought back to tab C. Very confusing to the user.
To reproduce the problem use attached files to recreate a sample ICEfaces2.1BETA2 project. Once up and running click on tab B and then within 2 seconds click on tab C. Wait for a second or two.
The update of the tabset state on the server should not have any effect on the client side (it should not switch to a tab) since the client side already reflects the correct state. If this is not possible, we should have a way to tell the component not to change tab after the state is updated.
Issue Links
- depends on
-
ICE-7138 ace:tabSet additional cacheStatically policies
-
- Closed
-
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | TabServerSide.java [ 13741 ] | |
Attachment | welcomeICEfaces.xhtml [ 13742 ] |
Assignee | Ken Fyten [ ken.fyten ] |
Salesforce Case | [5007000000JN4wJ] |
Security | Private [ 10001 ] |
Fix Version/s | 2.1 [ 10241 ] |
Assignee | Ken Fyten [ ken.fyten ] | Evgheni Sadovoi [ evgheni.sadovoi ] |
Comment | [ A comment with security level 'icesoft-internal-developers' was removed. ] |
Comment | [ A comment with security level 'icesoft-internal-developers' was removed. ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 3.0.RC1 [ 10300 ] | |
Fix Version/s | 3.0 [ 10241 ] | |
Resolution | Duplicate [ 3 ] |
Resolution | Duplicate [ 3 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Environment | ICEfaces 2.1BETA2, Chrome, Tomcat 7 | ICEfaces 3 RC1, Chrome, Tomcat 7 |
Fix Version/s | 3.0.RC1 [ 10300 ] | |
Affects Version/s | 3.0.RC1 [ 10300 ] | |
Affects Version/s | 2.1-Beta2 [ 10294 ] | |
Assignee | Evgheni Sadovoi [ evgheni.sadovoi ] | Mark Collette [ mark.collette ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Attachment | RC1 code to reproduce issue.rar [ 13849 ] |
Attachment | TabServerSide.java [ 13741 ] |
Attachment | welcomeICEfaces.xhtml [ 13742 ] |
Attachment | RC1 code to reproduce issue.rar [ 13849 ] |
Attachment | Code to reproduce issue.rar [ 13850 ] |
Comment | [ Sorry I don't understand what the problem is. The tabs should switch. Is there an issue where if you revisit a previously viewed tab that the contents of the tab are re-sent to the browser? That would be a bug. ] |
Assignee | Mark Collette [ mark.collette ] | Nils Lundquist [ nils.lundquist ] |
Assignee Priority | P1 |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 3.0 [ 10241 ] |
Fix Version/s | 3.0.RC2 [ 10313 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |