Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.0
-
Fix Version/s: EE-3.0.0.BETA, 3.0.1
-
Component/s: Sample Apps
-
Labels:None
-
Environment:ICEfaces tutorial
Description
Push updates are not observed in the easyAjaxPush tutorial until the user clicks on a button.
Activity
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #27920 | Fri Feb 17 10:11:18 MST 2012 | ted.goddard | use ColorBean as front-end to ensure instantiation on page load ( |
| Files Changed | ||||
MODIFY
/icefaces3/trunk/icefaces/tutorials/easyAjaxPush/src/main/java/org/icefaces/tutorial/easyajaxpush/beans/ColorBean.java
MODIFY
/icefaces3/trunk/icefaces/tutorials/easyAjaxPush/src/main/webapp/color.xhtml
|
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #27921 | Fri Feb 17 10:26:35 MST 2012 | ted.goddard | use ColorBean as front-end to ensure instantiation on page load ( |
| Files Changed | ||||
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/tutorials/easyAjaxPush/src/main/webapp/color.xhtml
MODIFY
/icefaces3/branches/icefaces-3.0.x-maintenance/icefaces/tutorials/easyAjaxPush/src/main/java/org/icefaces/tutorial/easyajaxpush/beans/ColorBean.java
|
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Ted Goddard [ ted.goddard ] |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Fix Version/s | EE-3.0.0.BETA [ 10324 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

The easyAjaxPush tutorial makes use of two beans: one in application scope with the shared state and another (ColorBean) in view scope handling user events. Since ColorBean manages the push group membership, it is important that it be instantiated when the page is loaded. This does not occur because no output from the bean is required to render the page.