Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P01, EE-3.3.0.GA_P02
-
Fix Version/s: 4.0, EE-3.3.0.GA_P03
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
-
Support Case References:Support Case #12854 - https://icesoft.my.salesforce.com/5007000000cbw7S
-
Workaround Exists:Yes
-
Workaround Description:Use a View or Window Scope for the managed bean instead of the Request scope.
Description
An ace:dataTable uses lazy loading. The managed bean for the for the list is a request scoped bean. This is working well when displaying the data in the table.
The issue is seen when trying to send a check box selection to another bean. This other bean is a session scoped bean. If the selectBooleanCheckbox uses an f:ajax tag or the icecore:singleSubmit tag is used, the selection is lost (clicking a checkbox will immediately uncheck it). The response returned is clearing out the checkbox.
If lazy loading is set to false and the full set of data is used, this is not an issue using the same request/session scoped bean combination.
The issue is seen when trying to send a check box selection to another bean. This other bean is a session scoped bean. If the selectBooleanCheckbox uses an f:ajax tag or the icecore:singleSubmit tag is used, the selection is lost (clicking a checkbox will immediately uncheck it). The response returned is clearing out the checkbox.
If lazy loading is set to false and the full set of data is used, this is not an issue using the same request/session scoped bean combination.
Activity
Arran Mccullough
created issue -
Arran Mccullough
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | Case12854Example2.war [ 17243 ] | |
Attachment | Case12854Example2.zip [ 17244 ] |
Ken Fyten
made changes -
Assignee | Mircea Toma [ mircea.toma ] | |
Fix Version/s | 4.0 [ 11382 ] | |
Fix Version/s | EE-3.3.0.GA_P03 [ 11572 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #41501 | Tue Jun 24 08:52:04 MDT 2014 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
|
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Attached test case source code and war file. Note, to run the war file the icefaces ace and icefaces core jar files need to be added back in.
Steps:
" on the ace:dataTable component in welcomeICEfaces.xhtml