javaserverfaces-spec-public
  1. javaserverfaces-spec-public
  2. JAVASERVERFACES_SPEC_PUBLIC-1211

UIOutput.resetValue() and UIInput.resetValue() produce unwanted state that is equal to the default values of the property accessor methods

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: None
    • Component/s: Components/Renderers
    • Labels:
      None

      Description

      UIOutput/UIInput resetState() call set methods that cause StateHelper to add state that actually is the same as the default values that would be returned by the respective get-methods.

      Proposed state neutral solution is be to remove the state from StateHelper using getStatehelper().remove(PropertyKey.xxx).

      1. changebundle-1211.txt
        2 kB
        Hanspeter Duennenberger

        Issue Links

          Activity

          Hide
          Manfred Riem added a comment -

          Setting priority to Major

          Show
          Manfred Riem added a comment - Setting priority to Major
          Hide
          Ed Burns added a comment -

          Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          Show
          Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
          Hide
          Hanspeter Duennenberger added a comment -

          Added changebundle containing the proposed changes.

          Show
          Hanspeter Duennenberger added a comment - Added changebundle containing the proposed changes.
          Hide
          Hanspeter Duennenberger added a comment -

          if resetValue() would remove the state UIData could make use of UIInput.resetValue() while restoring descendant state iterating the rows.

          Show
          Hanspeter Duennenberger added a comment - if resetValue() would remove the state UIData could make use of UIInput.resetValue() while restoring descendant state iterating the rows.

            People

            • Assignee:
              Unassigned
              Reporter:
              Hanspeter Duennenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: