You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/01/07 12:06:16 UTC

DO NOT REPLY [Bug 32991] New: - New CachingPortletAdapter

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32991

           Summary: New CachingPortletAdapter
           Product: Cocoon 2
           Version: 2.1.6
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: blocks
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: durdina@asset.sk
 BugsThisDependsOn: 32166,32783


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.