The Trinidad renderers usually just call:

    renderStyleClass(context, arc, styleClass);

If you want to do this from a non-Trinidad component, then you could call

RenderingContext arc = RenderingContext.getCurrentInstance();
String style = arc.getStyleClass(styleClass);

where styleClass would be "af|panelBox::body" or similar.

On 8/21/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>
> Is there a way to get a value from the skin programmatically?
>
> For example, I have to add a color to an attribute of a JSF component.
> I would like to use a value from the current skin. Specifically the
> background color from:
> af|panelBox::medium af|panelBox::body
>
> Is there any way to accomplish this?
>



-- 
Chordiant Software Inc.
www.chordiant.com

Reply via email to