Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-1398

New CachingPortletAdapter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.6
    • None
    • Blocks: Portal
    • 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              durdina@asset.sk Michal Durdina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: