ICEfaces
  1. ICEfaces
  2. ICE-9677

ace:dataTable - The entire table is returned in the update upon row selection/deselection

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P01
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Mojarra 2.1.6
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Affects:
      Compatibility/Configuration
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      Set PARTIAL_STATE_SAVING to true:

          <context-param>
              <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
              <param-value>true</param-value>
          </context-param>
      Show
      Set PARTIAL_STATE_SAVING to true:     <context-param>         <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>         <param-value>true</param-value>     </context-param>

      Description

      A basic ace:dataTable uses two ace:ajax tags, one for select, the other for deselect. Upon selection/deselection only the updated row should be returned in the update, as this is all that changes. Normally this works fine but under certain conditions this is not the case.

      Conditions:
       - The following context parameter is set in the web.xml:
          <context-param>
              <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
              <param-value>false</param-value>
          </context-param>
       - There needs to be two ace:ajax tags used, for example:
                          <ace:ajax event="select" render="@all" execute="@all" />
                          <ace:ajax event="deselect" render="@all" execute="@all" />

      If one ajax tag is removed then only the selected/deselected row is returned in the response even with P_S_S set to false.
      1. update-comparison-18-11-2013.txt
        3 kB
        Arran Mccullough

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Attachment update-comparison.txt [ 16558 ]
        Attachment Case12411Example.war [ 16559 ]
        Attachment Case12411Example.zip [ 16560 ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000W6M94AAF
        Ken Fyten made changes -
        Environment All Mojarra 2.1.6
        Ken Fyten made changes -
        Assignee Arturo Zambrano [ artzambrano ]
        Fix Version/s 4.0 [ 10770 ]
        Fix Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Assignee Priority P1 [ 10010 ]
        Arturo Zambrano made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Affects Compatibility/Configuration [ 10002 ]
        Arran Mccullough made changes -
        Attachment update-comparison.txt [ 16558 ]
        Arran Mccullough made changes -
        Attachment update-comparison-18-11-2013.txt [ 16583 ]
        Arturo Zambrano made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Affects Version/s 4.0.BETA [ 10770 ]
        Affects Version/s EE-3.3.0.GA_P02 [ 11371 ]
        Ken Fyten made changes -
        Fix Version/s 4.0 [ 11382 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: