myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Lessard <simon.lessar...@gmail.com>
Subject Re: [Trinidad] Unable to set tr:commandLink style class
Date Thu, 19 Mar 2009 18:17:54 GMT
Hi,

The generated CSS si perfect with the selector you used, however I assume
you're using IE 6 and therefore composite selectors are not supported. So
change your skin CSS to use

.myLoginLink {
 font-size:30px;
}

instead of

af|commandLink.myLoginLink {
 font-size:30px;
}

regards,

~ Simon

On Thu, Mar 19, 2009 at 11:28 AM, Adme Admirolas <admirolaz@gmail.com>wrote:

> 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 {
>  font-size:30px;
> }
>
> 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?
>
>

Mime
View raw message