Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Framework
-
Labels:None
-
Environment:server
Description
To avoid any subtle issues in the future we need to make sure only one view state key is generate per page load. Right now, during page load, com.sun....FormRender and BridgeSetup generate a view state key by calling StateManager.getViewState method. When the view is handled by ICEfaces it will modify the forms within the page to use the key generated by the form renderer.
Activity
Mircea Toma
created issue -
Mircea Toma
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] | |
Description | To avoid any subtle future issues in the future we need to make sure only one view state key is generate per page load. Right now com.sun....FormRender and BridgeSetup generate a view state key by calling StateManager.getViewState method. When the view is handled by ICEfaces it will modify the forms within the page to use the key generated by the form renderer. | To avoid any subtle issues in the future we need to make sure only one view state key is generate per page load. Right now, during page load, com.sun....FormRender and BridgeSetup generate a view state key by calling StateManager.getViewState method. When the view is handled by ICEfaces it will modify the forms within the page to use the key generated by the form renderer. |
Assignee | Mircea Toma [ mircea.toma ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21238 | Thu Apr 15 15:53:20 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
MODIFY /icefaces/scratchpads/glimmer/core/src/main/javascript/submit.js MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21239 | Thu Apr 15 16:19:30 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 | #21246 | Fri Apr 16 08:18:41 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
MODIFY /icefaces/scratchpads/glimmer/core/src/main/java/org/icefaces/event/BridgeSetup.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21247 | Fri Apr 16 09:11:47 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21248 | Fri Apr 16 09:15:34 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/core/src/main/javascript/application.js
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Fix Version/s | 2.0-Beta [ 10231 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Currently the script UIOutput components are prepared with the static value of the ViewState key at the time they are added to the component tree. It should be possible to create a UIOutput that dynamically produces its value from the ViewState key at the time of rendering. (It is still possible for the component tree to be altered during the render phase, but the risk is at least reduced.)
It may also make sense to allow a mode where the value is looked up in the browser from javax.faces.ViewState. This would work well in the Servlet case when forms are present, so could be the default mode.