Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Labels:None
-
Environment:ICEfaces 2 JSF 2
Description
Based on the navigation test (samples/test/nav) It looks like there may be a problem during certain navigation scenarios.
If you click on a button that causes a full page replacement (ie a ViewRoot update), then the ViewState does not appear to be re-applied to all the forms in the page. This leads to the next submission likely not working properly.
In the navigation test identified above, if you click a button that posts back to the same page and:
- with stock JSF 2, has f:ajax render='all' or
- is enabled with ICEfaces
the resulting full page update is applied but the ViewState update is not applied to all the forms.
If you then click a button that attempts to navigate to page 2, it will not work because the ViewState is not included. Instead, you'll get another ViewRoot update of the full page, which will then properly apply the ViewState to all the forms and the next click will work as designed and navigate you to page 2.
If you click on a button that causes a full page replacement (ie a ViewRoot update), then the ViewState does not appear to be re-applied to all the forms in the page. This leads to the next submission likely not working properly.
In the navigation test identified above, if you click a button that posts back to the same page and:
- with stock JSF 2, has f:ajax render='all' or
- is enabled with ICEfaces
the resulting full page update is applied but the ViewState update is not applied to all the forms.
If you then click a button that attempts to navigate to page 2, it will not work because the ViewState is not included. Instead, you'll get another ViewRoot update of the full page, which will then properly apply the ViewState to all the forms and the next click will work as designed and navigate you to page 2.
Issue Links
- depends on
-
ICE-5675 ICEfaces 2 - remove Mojarra JSF 2.0.2 issue workarounds reminder
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21461 | Sun May 23 03:22:29 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/JSFViewStateNavigationFix.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21444 | Tue May 18 14:01:00 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/WindowAndViewIDSetup.java
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/JSFViewStateNavigationFix.java MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/UIOutputWriter.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21443 | Tue May 18 13:47:25 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21440 | Tue May 18 10:43:46 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/JSFViewStateNavigationFix.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21438 | Tue May 18 10:03:50 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/JSFViewStateNavigationFix.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21437 | Tue May 18 08:03:31 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/resources/META-INF/faces-config.xml
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/context/DOMResponseWriter.java ADD /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/JSFViewStateNavigationFix.java |