12 May 21:41
[TUTORIAL] widget creation (cpsskins)
From: Jean-Marc Orliaguet <jmo@...>
Subject: [TUTORIAL] widget creation (cpsskins)
Newsgroups: gmane.comp.web.zope.zope3.ecm.general
Date: 2006-05-12 19:44:23 GMT
Subject: [TUTORIAL] widget creation (cpsskins)
Newsgroups: gmane.comp.web.zope.zope3.ecm.general
Date: 2006-05-12 19:44:23 GMT
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
RSS Feed