voyent
Portlet styling  XML
Forum Index -> General Help
Author Message
kdean

Joined: 12/May/2009 00:00:00
Messages: 37
Offline


I'm not sure this is an ICEfaces problem per se but I'm having some difficulty creating dynamic styles for a portlet hosted in Liferay.

If I do:

<ice:portlet styleClass="whatever">

the style "whatever" is correctly written to the "div" tag in the HTML. However, if I do:

<ice:portlet styleClass="#{mainStyleClass}">

and pass mainStyleClass in as a parameter (the portlet declaration is in a template), it doesn't work. To test that the parameter is working, I write:

<ice:outputLabel value="#{mainStyleClass}" />

and the output works, so the parameter is being passed correctly.

Any ideas?
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team