Author: jmorliaguet Date: Sun Oct 9 20:13:42 2005 New Revision: 28090 Modified: z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt z3lab/cpsskins/branches/jmo-perspectives/interfaces.py Log:
- test / interface updates Modified: z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt (original) +++ z3lab/cpsskins/branches/jmo-perspectives/doc/portlet-rendering.txt Sun Oct 9 20:13:42 2005 @@ -119,7 +119,7 @@ ... return widget_filter(data) >>> test_render(widget, data) - '<h1>Test of HTML</h1>' + '<div><h1>Test of HTML</h1></div>' Available widgets: ================== @@ -172,7 +172,7 @@ ------------ >>> widget = Widget('frame_box') >>> test_render(widget, data) - '<fieldset><legend>Example frame box</legend><h1>Test of HTML</h1></fieldset>' + '<fieldset><legend>Example frame box</legend><div><h1>Test of HTML</h1></div></fieldset>' b) horizontal scrollbar ----------------------- Modified: z3lab/cpsskins/branches/jmo-perspectives/interfaces.py ============================================================================== --- z3lab/cpsskins/branches/jmo-perspectives/interfaces.py (original) +++ z3lab/cpsskins/branches/jmo-perspectives/interfaces.py Sun Oct 9 20:13:42 2005 @@ -76,10 +76,9 @@ """Set a portlet in the a slot """ - def setFormat(object, format, predicate): - """Set a format + def addPortlet(slot, portlet, perspective): + """Add a portlet to a slot """ - def removeDisplays(object): """Remove the display of an element """ -- http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins