cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Mayrhuber <>
Subject Re: [Portal] coplet attributes - how?
Date Thu, 19 Feb 2004 13:54:11 GMT
Jon Evans wrote:
> Hi,
> The portal we're building is now at a pretty advanced stage of 
> development, and a week or so ago I switched over to the new Portal 
> framework because my sitemap was getting to be too complicated.
> In the portal framework samples, row.xsl and column.xsl both check for 
> an attribute called "bgColor" and optionally set the background colour 
> of the table if it is set.  I have copied this construct for my window 
> xml, except it looks for an attribute called "class" so I can render 
> using a different class for my div, so that my CSS can make certain 
> parts of the site look different.
> Unfortunately there aren't any samples that actually use bgColor, so I 
> don't know how to pass in that attribute!  I tried to work it out, but I 
> ended in a maze of twisty xml files, all the same. :-) Ideally it would 
> be specified in the "layout" xml file, so I can basically say "put this 
> coplet here, but with a yellow title bar".

Parameters are specified in layout/portal.xml <item>
   <parameter name="width" value="99%"/>
   <parameter name="bgcolor" value="green"/>
   <coplet-layout name="coplet" layout-renderer-name="nowindow">

lg, Chris

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message