Jean-Marc Orliaguet | 12 May 21:41

[TUTORIAL] widget creation (cpsskins)


Hi!

I've updated the tutorial with some code for creating widgets.

In the example, the widget simply displays news items with data coming 
from an RSS portlet.
the animation demonstrates how to "colorize" the widget using the style 
editor.

ANIMATION:
http://www.z3lab.org/sections/front-page/design-features/news-portlet-widget

SOURCE CODE:
http://svn.z3lab.org/trac/z3lab/browser/z3ecm/trunk/src/ecm/cpsskins/example7

this is the first iteration of the widget API, so it will be simplified 
but the idea is basically:

- providing a template (ZPT, DTML, python, ...) to output HTML markup 
from on a data structure
- providing an HTML preview to be used the style editor.
- registering the widget in ZCML

Regards
/JM


Gmane