Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.8, 1.8.2-EE-GA
-
Fix Version/s: 1.8.2-EE-GA_P01, 1.8.3
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
Workaround Exists:Yes
-
Workaround Description:Set concurrentDOMViews to false
Description
When page is reloaded after navigating using forward navigation rules, instead of reloading the last view ID determined by the navigation rules the initial view ID is rendered.
This issue was fixed withICE-3691 but doesn't seem to be fixed when concurrentDOMViews is set to true.
This issue was fixed with
-
Hide
- Case8907Example.war
- 6.89 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/LoginBean.class 1 kB
- WEB-INF/classes/.../example/TestBean.class 0.3 kB
- WEB-INF/faces-config.xml 1 kB
- WEB-INF/lib/FastInfoset.jar 285 kB
- WEB-INF/lib/backport-util-concurrent.jar 319 kB
- WEB-INF/lib/commons-beanutils.jar 226 kB
- WEB-INF/lib/commons-collections.jar 558 kB
- WEB-INF/lib/commons-digester.jar 140 kB
- WEB-INF/lib/commons-discovery.jar 75 kB
- WEB-INF/lib/commons-el.jar 110 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-lang.jar 240 kB
- WEB-INF/lib/commons-logging.jar 52 kB
- WEB-INF/lib/icefaces-comps.jar 1.95 MB
- WEB-INF/lib/icefaces-facelets.jar 596 kB
- WEB-INF/lib/icefaces.jar 1.19 MB
- WEB-INF/lib/jsf-api-1.2.jar 352 kB
- WEB-INF/lib/jsf-impl-1.2.jar 822 kB
- WEB-INF/web.xml 4 kB
- index.jsp 0.1 kB
- login.xhtml 3 kB
- main.xhtml 0.8 kB
-
Hide
- Case8907Example.zip
- 18 kB
- Arran Mccullough
-
- Case8907Example/build.xml 3 kB
- Case8907Example/nbproject/ant-deploy.xml 2 kB
- Case8907Example/nbproject/build-impl.xml 44 kB
- Case8907Example/.../faces-config.NavData 0.5 kB
- Case8907Example/.../genfiles.properties 0.4 kB
- Case8907Example/.../private.properties 2 kB
- Case8907Example/nbproject/.../private.xml 0.2 kB
- Case8907Example/.../project.properties 2 kB
- Case8907Example/nbproject/project.xml 1 kB
- Case8907Example/src/conf/MANIFEST.MF 0.0 kB
- Case8907Example/src/.../LoginBean.java 0.7 kB
- Case8907Example/src/.../TestBean.java 0.1 kB
- Case8907Example/web/index.jsp 0.1 kB
- Case8907Example/web/login.xhtml 3 kB
- Case8907Example/web/main.xhtml 0.8 kB
- Case8907Example/web/META-INF/context.xml 0.1 kB
- Case8907Example/web/.../faces-config.xml 1 kB
- Case8907Example/web/WEB-INF/web.xml 4 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Obtaining a new component tree on page reload is standard JSF behavior.
Show
Ted Goddard
added a comment - Obtaining a new component tree on page reload is standard JSF behavior.
Views are not reused on page reload when concurrentDOMViews is enabled. This is the expected behavior since 1.6 release.
See: http://www.icefaces.org/docs/v1_8_2/htmlguide/devguide/keyConcepts11.html
and http://jira.icefaces.org/browse/ICE-3907?focusedCommentId=23848&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_23848 .
Show
Mircea Toma
added a comment - Views are not reused on page reload when concurrentDOMViews is enabled. This is the expected behavior since 1.6 release.
See: http://www.icefaces.org/docs/v1_8_2/htmlguide/devguide/keyConcepts11.html
and http://jira.icefaces.org/browse/ICE-3907?focusedCommentId=23848&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_23848 .
I think this issue is caused by disposing views on page reload. There is a Javascript function onbeforeunload to call dispose views.
On page reload, views are disposed and "MultiViewServer" creates a new view.
Show
Isuru Perera
added a comment - I think this issue is caused by disposing views on page reload. There is a Javascript function onbeforeunload to call dispose views.
On page reload, views are disposed and "MultiViewServer" creates a new view.
Assigning to Mircea.
Show
Deryk Sinotte
added a comment - Assigning to Mircea.
Even though this is the standard behavior, I had few issues after reloading the page when concurrentDOMViews is set to true.
The issue was caused by the dispose views handler..
In my application, after a reload, correct pages were not displayed.
Suppose there are two pages, "edit" and "view". Both pages are displayed after a "search" page.
Initial search page navigation is a redirect, and therefore "search" url is displayed. Then I search and go to a "view" page (No redirect here). Then I reload the page. Search page is displayed (Default behavior). But hereafter navigation to edit page won't work. No redirect to edit page also.
This happens when the url get "rvn=" parameter. If I reload the page when the url has "rvn=" parameter, navigation to that same page doesn't work. What happens is that initial view is displayed. In my case it is the search page.
All these issues were causing as the views were disposed as soon as I reload the page. All the views are removed.
I don't have much time to explain in detail and I hope you understood what I say.
I will comment again later.