Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 2.0-Beta1
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 + Mojarra 2
-
ICEsoft Forum Reference:
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Users are migrating ICEfaces 1.8.x applications to ICEfaces 2, and finding that dynamic ui:includes are not working. We need to investigate why this is, and come up with either code changes, or a new technique that developers should use. This should be documented in the wiki, in its own page, and link to by: http://wiki.icefaces.org/display/ICE/Compatibility
Activity
Mark Collette
created issue -
Mark Collette
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Affects | [Documentation (User Guide, Ref. Guide, etc.)] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22116 | Fri Aug 06 10:47:25 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
DEL
/icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/com
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22117 | Fri Aug 06 11:05:09 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/org
ADD /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/org/icefaces/test ADD /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/org/icefaces/test/dyninc/NavBean.java ADD /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/org/icefaces ADD /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/java/org/icefaces/test/dyninc |
Deryk Sinotte
made changes -
ICEsoft Forum Reference | http://www.icefaces.org/JForum/posts/list/30/16949.page#64021 | |
Salesforce Case | [] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #22126 | Fri Aug 06 13:44:54 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/stock/start.xhtml
MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/stock/page01.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/ice/start.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/stock/page03.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/ice/page03.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/ice/page01.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/stock/page02.xhtml MODIFY /icefaces2/trunk/icefaces/samples/test/dyninc/src/main/webapp/ice/page02.xhtml |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Resolution | Cannot Reproduce [ 5 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Based on a conversation that Mark and I had, I've heavily modified the test case (icefaces2/samples/test/dyninc) to provide 3-way page navigation as well as output a bit more information. The basic finding is the same as noted in the discussion in that both stock JSF and ICEfaces with compat components appear to behave in the same way. Adding the 3rd page did show the behaviour that Mark hypothesized with the navigation defaulting back to the default page when the navigation bean is request scoped. To summarize:
Request-scoped bean: The initial include correctly renders the default - page 1. Switching to dynamically include page 2 or 3 works but subsequent navigation always returns to page 1.
View-scoped bean: The initial include correctly renders the default - page 1. Switching to dynamically include page 2 or 3 works but subsequent navigation does not work - whatever page your are on you stay on.
Session-scoped bean: Dynamic includes appear to work all over.
Window-scoped bean: Dynamic includes appear to work if the page is enabled for ICEfaces. In stock JSF it behaves as a Request-scoped bean.