On Mon, 27 Jun 2011 14:29:46 -0300, hese <1024h...@gmail.com> wrote:
How do I set the css class to the components in my java class? Would
appreciate any lead.
<input ... class="${cssClass}">
public String getCssClass() {
...
}
I've written custom components where I can add attributes to a component
by manipulating MarkupWriter in beginRender(). But is there a way to do
it for tapestry components like TextField, Checkbox etc?
Just add the "class" attribute to them. I couldn't be easier.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org