Hi All fields extend AbstractField which is annotated with @SupportsInformalParameters, so you can add attrirbute class='myclass' to all these fields
regards Taha On Mon, Jun 27, 2011 at 10:59 PM, hese <1024h...@gmail.com> wrote: > > Thanks. I get the general idea - have a css defined for highlighting and add > the css class dynamically to the desired form component. > > How do I set the css class to the components in my java class? Would > appreciate any lead. > > 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? > > Thanks. > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/how-do-i-highlight-a-text-field-with-a-different-color-tp4529092p4529167.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org