ICEfaces
  1. ICEfaces
  2. ICE-7321

Generator: avoid using client ids for state saving

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta
    • Fix Version/s: 2.1-Beta2, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any
    • Assignee Priority:
      P1

      Description

      Currently, the generated getter and setter methods use the client id of the component as a key to a map stored in the StateHelper to store values. The purpose of this is to differentiate among instances inside UIData, ui:repeat, etc. Using the client id leads to problems when building component programmatically or from a model, as in the case of the menu component. The problem is that the client id is tried to be determined when creating the component object, but since the component object is not yet attached to the component tree, the client ids turn out to be wrong in the rendered page. It is necessary to implement a different approach to save the component values without requiring to determine the client id at the moment of setting values that would still be able to differentiate among different instances of the same component in UIData, etc.

        Activity

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Arturo Zambrano [ artzambrano ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.1 [ 10241 ]
        Assignee Priority P1
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.1-Beta2 [ 10294 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: