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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: