How to reference css in backing beans

Hi,

Can someone please tell how can I reference the stylesheet in backing bean. I have a css and want to get some layouts inside the backing bean itself rather than hard coding. So just trying to see if can reference css in the beacking beans.

Thanks

[269 byte] By [whitesox12a] at [2007-11-27 11:14:50]
# 1

The styleClass attribute just supports EL.

<h:someComponent styleClass="#{myBean.style}" />

BalusCa at 2007-7-29 14:09:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

use css name

lysmarta at 2007-7-29 14:09:19 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...