dev@woodstock.java.net

how to get styleClass of a textfield

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Wed, 26 Mar 2008 10:57:19 -0700

Hi,
We moved to woodstock 4.2 recently from 4.0.2, and I cannot retrieve the
styleClass the same way as in 4.0.2.
In 4.0.2, i can do
    styleClass = component.className;

Can someone tell me how i can retrieve the styleClass in JS after i get
hold of this component ?

<webuijsf:textField id="Connections" styleClass="integer"
text="#{connections}" />

thanks
Anissa.