Logo

CPSPortlets draft

Last modified: 05/20/2006 07:49 AM
Revision: cpsportlets-draft.txt 30521 2005-12-12 19:49:39Z dkuhlman

1   Goals

  • ./goals.txt
  • ../../CPSSkins/doc/CPS3-Integration.txt

2   Implementation

Implementation notes:

  • CPSPortlet: Base class for all portlets. Child of CPSDocument. It means you can use the schemas / layouts machinery with the portlets. Notice one portlet == one portal_type now.

    The FlexibleTypeInformation is patched and holds now a cps_is_portlet property so that it's easy to filter the portal_type defined to be portlets.

    It means for a portlet will have schemas and layouts (generics and specifics) with eventually specific widgets. (most of the time) Check the PortletWidgets sub-folder (README.txt)

  • PortletsContainer: Container (BTreeFolder2) holding the portlets. Store, create, delete portlets. Simple API

    PortletsContainer are placeful. They are used to store local portlet configurations overriding or extending global portlet configuration. The id used within CPS for those is .cps_portlets

  • PortletsTool: Inherits PortletsContainer and redefines methods to cope with global and local portlets. Global portlets are stored within

3   Miscellaneous

  • Schemas / Layouts / Vocabularies / FTIs are defined within the skins.

4   Comments

  • Notice CPSPortlets deals only with portlet content. CPSSkins take care of the way it is displayed the cache etc...
This site is powered by CPS, which includes CPSSkins. CPS and its design are Copyright © 2002-2006 Nuxeo SAS.
CPSSkins is Copyright © 2003-2006 Jean-Marc Orliaguet.
powered_by_nuxeo.png