Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA, EE-3.3.0.GA_P02
-
Fix Version/s: 4.0, EE-3.3.0.GA_P03
-
Component/s: Framework
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:Support Case #13033 - https://icesoft.my.salesforce.com/5007000000nOEak
-
Workaround Exists:Yes
-
Workaround Description:Remove the @WindowDisposed annotation
Description
When using the @WindowDisposed annotation for a ViewScoped bean, this beans constructor is called when doing a redirect to a new page.
Scenario:
- TestBean - ViewScoped bean
- PageBean - ViewScoped Bean
When the page that uses TestBean is loaded the constructor is called as expected. This page has a commandButton which will do a redirect to the page that uses PageBean. On click of this button the TestBean constructor is called as well as the PageBean constructor.
Removing the @WindowDisposed annotation prevents this additional call to the constructor.
Scenario:
- TestBean - ViewScoped bean
- PageBean - ViewScoped Bean
When the page that uses TestBean is loaded the constructor is called as expected. This page has a commandButton which will do a redirect to the page that uses PageBean. On click of this button the TestBean constructor is called as well as the PageBean constructor.
Removing the @WindowDisposed annotation prevents this additional call to the constructor.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45798 | Tue Jul 28 13:59:48 MDT 2015 | mircea.toma | 10729 Ported forward |
Files Changed | ||||
ADD
/icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/IcefacesBeanDestroyRecorder.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #45796 | Mon Jul 27 16:05:52 MDT 2015 | mircea.toma | 10729 Ported forward |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #44031 | Mon Feb 09 16:10:06 MST 2015 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
MODIFY /icefaces4/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #42697 | Mon Oct 06 12:50:16 MDT 2014 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/core/src/main/java/org/icefaces/impl/application/WindowScopeManager.java
|