myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adme Admirolas <>
Subject [Trinidad] Unable to set tr:commandLink style class
Date Thu, 19 Mar 2009 15:28:55 GMT
Us explained in "Apache Trinidad Skinning" article i have tried to set
styleClass attribute to tr:commandLink.

In css file i have added this:

af|commandLink.myLoginLink {

An in jsp:

<tr:commandLink text="Login" action="aa" styleClass="myLoginLink"/>

But font size do not change. In generated HTML i see, that there is set two
class'es - myLoginLink OraLink. In generated CSS there is no myLoginLink
class. There is .af_commandLink.myLoginLink {font-size:30px}

So how i should set styleClass for commandLink? What i'm doing wrong?

View raw message