ICEfaces
  1. ICEfaces
  2. ICE-7385

ACE baseMeta property audit for using improved getters/setters

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1-Beta
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ACE

      Description

      With our baseMeta inheritance mechanism, the properties that the JSF base classes provide all use their own getters/setters, which do not function well in dataTables, nor when combining programmatic calls to setters with ValueExpressions to those properties. We should investigate / audit those properties to see which ones we want to flip to using our generated properties and getter/setter methods, which fix all those problems. The issue would be the properties that are special in their implementation, such as id, value, etc. where they have behavioural side-effects that should not be overridden with our code.

      An example of one we'd like to do is UIData.first, which the dataPaginator calls the setter for, but that an application might have a ValueExpression to, for controlling when the application change the page itself.

        Activity

        Hide
        Ken Fyten added a comment -

        This should be considered during a major release due to backwards compatibility concerns.

        Show
        Ken Fyten added a comment - This should be considered during a major release due to backwards compatibility concerns.

          People

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

            Dates

            • Created:
              Updated: