ICEfaces
  1. ICEfaces
  2. ICE-5770

Saving DataPaginator in UIData breaks state saving

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Spring Webflow, standard JSF state saving
    • Affects:
      Compatibility/Configuration

      Description

      The fix in ICE-5383 has the side effect of breaking Spring Webflow, and likely standard JSF state saving, since UIComponents are not Serializable, so storing the DataPaginator in the attributes map of its UIData, can not work.

        Activity

        Hide
        Mark Collette added a comment -

        Store the clientId of the dataPaginator in the UIData/UISeries/HtmlDataTable, which is serializable. Then do a simple component lookup in UISeries.

        Subversion 21506
        icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java
        icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java

        Show
        Mark Collette added a comment - Store the clientId of the dataPaginator in the UIData/UISeries/HtmlDataTable, which is serializable. Then do a simple component lookup in UISeries. Subversion 21506 icefaces\component\src\com\icesoft\faces\component\datapaginator\DataPaginator.java icefaces\component\src\com\icesoft\faces\component\panelseries\UISeries.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: