Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.1
-
Component/s: Documentation, Framework
-
Labels:None
-
Environment:portal portlet
Description
In a normal use case, when you navigate away from a normal ICEfaces page, the client bridge attempts to dispose the views on that page along with any request-scoped beans that are associated with it. With portlets there can be 1 or more views that are registered and the dispose-views request will send all the views on that page.
However if you a number of portlets on the page and navigate away from the portal page before it's had a chance to render all the portlets, the views that have not yet been rendered (along with their request-scoped beans) will be orphaned. This is due to the fact that the server-side objects (views and request beans) are created for all the portlets but the ones that are not rendered don't get a chance to register themselves with the client bridge. This means that when the dispose-views is issued, it only includes the views that it knows about (ie the ones that have been rendered).
However if you a number of portlets on the page and navigate away from the portal page before it's had a chance to render all the portlets, the views that have not yet been rendered (along with their request-scoped beans) will be orphaned. This is due to the fact that the server-side objects (views and request beans) are created for all the portlets but the ones that are not rendered don't get a chance to register themselves with the client bridge. This means that when the dispose-views is issued, it only includes the views that it knows about (ie the ones that have been rendered).
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21828 | Wed Jun 30 16:24:03 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java
MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/AssociatedPageViewsImpl.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/NoOpAssociatedPageViews.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/AssociatedPageViews.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/DisposeViews.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/View.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21524 | Fri May 28 11:07:54 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java
MODIFY /icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/webapp/http/servlet/MainSessionBoundServlet.java MODIFY /icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/AssociatedPageViews.java MODIFY /icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/context/View.java MODIFY /icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/NoOpAssociatedPageViews.java MODIFY /icefaces/scratchpads/patches/SF-8988-EE_p01/icefaces/core/src/com/icesoft/faces/webapp/http/portlet/page/AssociatedPageViewsImpl.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21484 | Wed May 26 14:40:22 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/patches/SF8080/icefaces/core/src/com/icesoft/faces/webapp/http/core/DisposeViews.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21481 | Wed May 26 10:51:14 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/projects/portletviews/trunk/src/com/icesoft/faces/webapp/http/portlet/page/JBossAssociatedPageViews.java
ADD /projects/portletviews/trunk/lib/liferay MODIFY /projects/portletviews/trunk/build.xml ADD /projects/portletviews/trunk/src/com/icesoft/faces/webapp/http/portlet/page/LiferayAssociatedPageViews.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21474 | Tue May 25 13:06:02 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
ADD
/icefaces/scratchpads/patches/SF8080/icefaces/lib/liferay/portal-service.jar
ADD /icefaces/scratchpads/patches/SF8080/icefaces/lib/liferay |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21471 | Tue May 25 11:01:49 MDT 2010 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/patches/SF8080/icefaces/core/src/com/icesoft/faces/context/View.java
MODIFY /icefaces/scratchpads/patches/SF8080/icefaces/core/src/com/icesoft/faces/webapp/http/core/MultiViewServer.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #19220 | Thu Sep 03 16:05:19 MDT 2009 | deryk.sinotte | |
Files Changed | ||||
ADD
/projects/portletviews/trunk/readme.txt
|