onComponentTag(...) { tag.remove("class"); } On Wed, Jun 16, 2010 at 12:37 AM, David Chang <david_q_zh...@yahoo.com>wrote:
> Hello, > > I add a CSS class to component dynamcially the following way: > > inputComponent.add(new AttributeAppender("class", new > Model<String>("errorField"), " ")); > > How can I remove this CSS class in java code? > > Best! > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Jeremy Thomerson http://www.wickettraining.com