Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: 3.0.1, EE-3.0.0.GA
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Chrome, Firefox, IE, TomCat 7
Description
Modification of the ace:tabSet selectedIndex via server side does not trigger tab change on the client. Click on refresh button in the browser is required in order to force tab change.
To reproduce:
1. Create a test case from attached source code.
2. Launch application and click on change tab command link
Notice:
- Server log will display messages:
Action Event begin
Old Index value: 0
New index value: 1
Action Event end
- Tab1 will switch to Tab2 in the browser and display its content
3. Click on change tab for the second time.
Notice:
- Server log will display messages:
Action Event begin
Old Index value: 1
New index value: 2
Action Event end
- The content of tab 2 will disappear and it will remain selected in the browser.
4. Hit refresh button in the browser
Notice:
- Tab 2 will switch to Tab3 in the browser and display its content.
5. Click on change tab link. Behavior of steps 2-4 will be repeated.
Other notes:
Tried sample code with different parameters of the cache attribute for tabs without any success.
No errors were present in the JavaScript console or server log during the test.
To reproduce:
1. Create a test case from attached source code.
2. Launch application and click on change tab command link
Notice:
- Server log will display messages:
Action Event begin
Old Index value: 0
New index value: 1
Action Event end
- Tab1 will switch to Tab2 in the browser and display its content
3. Click on change tab for the second time.
Notice:
- Server log will display messages:
Action Event begin
Old Index value: 1
New index value: 2
Action Event end
- The content of tab 2 will disappear and it will remain selected in the browser.
4. Hit refresh button in the browser
Notice:
- Tab 2 will switch to Tab3 in the browser and display its content.
5. Click on change tab link. Behavior of steps 2-4 will be repeated.
Other notes:
Tried sample code with different parameters of the cache attribute for tabs without any success.
No errors were present in the JavaScript console or server log during the test.
Activity
Evgheni Sadovoi
created issue -
Evgheni Sadovoi
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [5007000000LEgFj] |
Evgheni Sadovoi
made changes -
Attachment | sampleCode.rar [ 14131 ] |
Evgheni Sadovoi
made changes -
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Fix Version/s | EE-3.0.0.GA [ 10262 ] | |
Fix Version/s | 3.0.1 [ 10282 ] | |
Assignee Priority | P2 | |
Assignee | Ken Fyten [ ken.fyten ] | Mark Collette [ mark.collette ] |
Ken Fyten
made changes -
Assignee Priority | P2 | P1 |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28366 | Fri Mar 16 08:23:21 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #28388 | Sun Mar 18 09:50:56 MDT 2012 | mark.collette | |
Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
|
Mark Collette
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P1 |
Evgheni Sadovoi
made changes -
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |
There are four main scenarios:
1. When the user clicks to change tabs, the form doesn't validate, and the tabSet is set to remain on the old tab
2. When the user clicks to change tabs, the application uses a tabChangeListener, and forces it to remain on the old tab
3. When the user clicks to change tabs, the application uses a tabChangeListener, and forces it to go to a tertiary tab
4. When the user clicks on some other component, the action[Listener] changes the tabSet's selectedIndex
Both the QA test app and the support case are scenario #4. Fixing that won't necessarily fix any of the other scenarios. Not that they've necessarily been tested nor shown to be broken.