Details
-
Type: Bug
-
Status: Closed
-
Priority: 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:
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.
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.
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 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38790 | Thu Nov 14 14:44:45 MST 2013 | art.zambrano | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/renderkit/CoreRenderer.java
|
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 ] |
Attached a sample test case that shows this issue. Note: The war file needs the icefaces.jar, icefaces-ace.jar, and icefaces-compat.jar from the current icefaces3 trunk to run.
Steps:
I also attached a txt file that shows the comparison with different settings/code.