After playing around for a while and finally finding out that it was
as easy as setting:

 <skin-family>simple</skin-family>

in the trinidad-config.xml I got skinning to run in the portlet
environment. In the end, I'm not very happy with what I see, though.

I'm attaching a screenshot - basically, not much change happens by
applying skinning - obviously due to the fact that the portlet
containers don't offer many default style-class hooks.
Have I been getting this wrong or does it really look like this?

If I have been doing the right thing, wouldn't it be nice to have a
way of adding the stylesheet with javascript dynamically in the body?

Something like this:

http://cse-mjmcl.cse.bris.ac.uk/blog/2005/08/18/1124396539593.html

might be in order to have full skinning available, and still be
standards compliant.

I'd implement this in a component, if nobody has better ideas...

regards,

Martin


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

<<attachment: portlet-screenshot.JPG>>

Reply via email to