ICEfaces
  1. ICEfaces
  2. ICE-5805

sparkle input components should use hidden form fields for value

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Beta2, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2 sparkle

      Description

      The sparkle input components, like checkbox and slider, render their value into a javascript hashtable, and don't use input fields. Because of this, if the application changes the component's value, when it's submitted, back to the original value, or to some other value, then the standard DOMPartialViewContext.applyBrowserChanges(-) mechanism won't work with it. Slider has code in it, to work-around this issue. So, either we find a way to make the sparkle input components work with applyBrowserChanges(-), or we replicate the slider work-around in each sparkle input component.

      One approach would be, as we change the input components to do the proper partialSubmit behaviour, to use hidden input fields, or regular input fields, which will then be handled by applyBrowserChanges(-).

        Activity

        Mark Collette created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Assignee Judy Guglielmin [ judy.guglielmin ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Beta [ 10231 ]
        Ken Fyten made changes -
        Summary sparkle input components ignored by DOMPartialViewContext.applyBrowserChanges(-) sparkle input components should use hidden form fields for value
        Salesforce Case []
        Ken Fyten made changes -
        Fix Version/s 2.0-Beta2 [ 10242 ]
        Fix Version/s 2.0-Beta1 [ 10231 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Salesforce Case []
        Assignee Judy Guglielmin [ judy.guglielmin ] Mark Collette [ mark.collette ]
        Ken Fyten made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Mark Collette [ mark.collette ]
        Ken Fyten made changes -
        Fix Version/s 2.0.0 [ 10230 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: