Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:compat
Description
Certain components create hidden fields, either via server rendering, or via javascript DOM manipulation, which have a name but no id. These hidden input fields are special, intended for sending one-off messages back to the server. They rely on resetHiddenFields() clearing the special hidden input field values, so that the one-off messages are not re-sent in subsequent form submits.
It should be possible to find all of these, by searching for "hidden" in the source code, so that they can be enumerated, and hopefully removed, thus removing the need for resetHiddenFields() itself. Likely, uses can be replaced with parameters to iceSubmit() and iceSubmitPartial(). An alternate strategy is depicted inICE-5796, the parent task, for removing resetHiddenFields() itself.
It should be possible to find all of these, by searching for "hidden" in the source code, so that they can be enumerated, and hopefully removed, thus removing the need for resetHiddenFields() itself. Likely, uses can be replaced with parameters to iceSubmit() and iceSubmitPartial(). An alternate strategy is depicted in
Issue Links
- blocks
-
ICE-5796 Try to eliminate resetHiddenFields() function in Compat Comps.
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23287 | Thu Dec 02 16:18:18 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/javascript/submit.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23286 | Thu Dec 02 16:08:17 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/CommandLinkRenderer.java
MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/CommandLinkRenderer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23283 | Thu Dec 02 14:23:50 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23279 | Thu Dec 02 11:52:24 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/paneltabset/PanelTabSetRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23270 | Wed Dec 01 17:02:09 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/outputchart/OutputChart.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23269 | Wed Dec 01 14:15:44 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23253 | Tue Nov 30 15:31:59 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23251 | Tue Nov 30 13:56:10 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/javascript/extras/extras.js
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23244 | Mon Nov 29 17:34:39 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelcollapsible/PanelCollapsibleRenderer.java
MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/submit.js |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #23231 | Mon Nov 29 13:49:34 MST 2010 | yip.ng | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/panelcollapsible/PanelCollapsibleRenderer.java
MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/javascript/submit.js |