myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: golink - oraLink styleClass overrides
Date Sun, 20 Apr 2008 12:05:25 GMT
Another hack is to use both style selectors in your skin to increase the weight
I think the syntax is something like:

oralink::yourstyle

On 4/20/08, Shankar K <shankar25@gmail.com> wrote:
> Hi,
>
> The styleClass "*OraLink*" gets added to the tr:goLink component inaddition
> to the styleClass that I provide and overrides the styles that I have
> provided in my styleClass. Although I have provided styles for OraLink in my
> skin file, I wanted to override this particular go:Link with a different
> style. Now, I'm unable to do this unless I provide inlineStyle.  Shouldn't
> this be a bug ? I tried searching for any post on this but couldn't find.
>
> The following line in my XHTML
>
> <tr:goLink text="Breadcrumb" *styleClass="navigation_link" *
> destination="/faces/breadcrumbs.xhtml">*
> *
> Translates to
>
> <a href="/components/faces/breadcrumbs.xhtml" *class="navigation_link
> OraLink*">Breadcrumb</a>
>
> Appreciate your help
>
> Thanks,
> Shankar
>

Mime
View raw message