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> <item> <parameter name="width" value="99%"/> <parameter name="bgcolor" value="green"/> <coplet-layout name="coplet" layout-renderer-name="nowindow"> <coplet-instance-data>Coplet-1</coplet-instance-data> </coplet-layout> </item>


-- lg, Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to