This content has been marked as final.
Show 1 reply
-
1. Re: 2.4.1: how to dynamically select css file for a page
bvogt Jun 28, 2007 2:23 AM (in response to bvogt)I have a solution, although it's somewhat like a hack...
- the page has been defined a 'declaredProperty', e.g. 'layout'
- the declaredProperty is retrieved within a portlet instance, which is placed on every page, and set into the APPLICATION_SCOPE's session
- a custom ThemeTagHandler retrieves the layout value from the page-context's session and replaces the css file generated by theme.assembleResponse()
Is there a smarter way of doing this in Portal 2.4?