Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-4.1.0.GA, EE-3.3.0.GA_P04, 4.2.BETA
-
Fix Version/s: EE-4.2.0.GA, EE-3.3.0.GA_P05
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #14034 - https://icesoft.my.salesforce.com/5007000001hjPc5
Description
An ace:tabSet is set to display two tabPane's. Each tabPane has a ViewScoped bean assigned to it. In this scenario, only the active tab should be initialized when the page is loaded.
This is true unless the second tabPane has an ace:dataTable on the page. With the dataTable included, it is initializing the View scoped bean on load and is doing so before the bean for the first tabPane.
No changes to the cache attribute of the ace:tabPane have any effect on this behavior.
This is true unless the second tabPane has an ace:dataTable on the page. With the dataTable included, it is initializing the View scoped bean on load and is doing so before the bean for the first tabPane.
No changes to the cache attribute of the ace:tabPane have any effect on this behavior.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached test case.
Steps:
- Load welcomeICEfaces .jsf
- In the server logs it will show the following (incorrect):
TabPaneTwoBean Initialized!
TabPaneOneBean Initialized! - With the ace:dataTable commented out of the second tabPane the following is shown on page load (correct):
TabPaneOneBean Initialized!
Show
Arran Mccullough
added a comment - Attached test case.
Steps:
Load welcomeICEfaces .jsf
In the server logs it will show the following (incorrect):
TabPaneTwoBean Initialized!
TabPaneOneBean Initialized!
With the ace:dataTable commented out of the second tabPane the following is shown on page load (correct):
TabPaneOneBean Initialized!
Resolved.