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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: