Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.1.6
-
None
-
None
-
Operating System: All
Platform: Other
-
32991
-
Patch available
Description
This patch contains implementation of CachingPortletAdapter.
CachingPortletAdapter provides caching ability for JSR168 portlets.
CachingPortletAdapter works on these principles:
* portlet hyperlinks are cached with contents
* links for window icons have different validity category mode that links
located in content
* fullscreen state stored on session
Some extensions to existing implementation was required:
* added links validity categories to EventConverter (request, half-session,
session, permanent)
* new CopletLinkingEventConverter that implements half-session links validity
* new PortletInstanceEvent implemented by PortletURLProviderImpl to
distinguish that portlet events are NOT targeted to CachingURICopletAdapter
(caused conflict)
* storing EntryLayout (fullscreen) to PortalService attribute (session)
instead of temporaryAttribute (request)
* refactoring of caching methods to new CopletCache class
* refactoring of portlet content loading to loadPortletContent method
* all changes are backwards compatible
CachingPortletAdapter in hierarchy of coplet adapters:
AbstractCopletAdapter
PortletAdapter URICopletAdapter
CachingPortletAdapter CachingURICopletAdapter
ApplicationCopletAdapter
The code contains modified samples that demonstrate new portlet caching
ability. It has been tested with cocoon-2.1.6. Please take a look at it and
possibly apply it to BRANCH_2_1_X and thereafter to trunk.
Thank you,
Michal
CachingPortletAdapter provides caching ability for JSR168 portlets.
CachingPortletAdapter works on these principles:
* portlet hyperlinks are cached with contents
* links for window icons have different validity category mode that links
located in content
* fullscreen state stored on session
Some extensions to existing implementation was required:
* added links validity categories to EventConverter (request, half-session,
session, permanent)
* new CopletLinkingEventConverter that implements half-session links validity
* new PortletInstanceEvent implemented by PortletURLProviderImpl to
distinguish that portlet events are NOT targeted to CachingURICopletAdapter
(caused conflict)
* storing EntryLayout (fullscreen) to PortalService attribute (session)
instead of temporaryAttribute (request)
* refactoring of caching methods to new CopletCache class
* refactoring of portlet content loading to loadPortletContent method
* all changes are backwards compatible
CachingPortletAdapter in hierarchy of coplet adapters:
AbstractCopletAdapter
PortletAdapter URICopletAdapter
CachingPortletAdapter CachingURICopletAdapter
ApplicationCopletAdapter
The code contains modified samples that demonstrate new portlet caching
ability. It has been tested with cocoon-2.1.6. Please take a look at it and
possibly apply it to BRANCH_2_1_X and thereafter to trunk.
Thank you,
Michal
Attachments
Attachments
Issue Links
- depends upon
-
COCOON-1336 [PATCH] PortletWindowAspect: hiding portlet mode icons and new feature "force-sizable"
- Open
-
COCOON-1385 [PATCH] Portlet ActionResponse.setWindowState() not working
- Closed