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
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Assignee Priority | P2 | |
Affects Version/s | 2.0-Alpha3 [ 10032 ] | |
Affects Version/s | 2.0-Beta1 [ 10231 ] | |
Assignee | Mark Collette [ mark.collette ] |
Mark Collette
made changes -
Ken Fyten
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0.0 [ 10230 ] | |
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Assignee Priority | P2 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee | Mark Collette [ mark.collette ] | Ted Goddard [ ted.goddard ] |
Ted Goddard
made changes -
Assignee | Ted Goddard [ ted.goddard ] | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Salesforce Case | [] | |
Assignee Priority | P1 | P2 |
Assignee | Ken Fyten [ ken.fyten ] | Yip Ng [ yip.ng ] |
yip.ng
made changes -
Attachment | screenshot-01.png [ 12713 ] |
yip.ng
made changes -
Attachment | screenshot-02.png [ 12714 ] |
yip.ng
made changes -
Attachment | screenshot-03.png [ 12715 ] |
yip.ng
made changes -
Attachment | screenshot-04.png [ 12716 ] |
yip.ng
made changes -
Attachment | screenshot-05.png [ 12721 ] |
yip.ng
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |