Re: correct way to get css classes of component

2011-01-31 Thread msj121
: https://cwiki.apache.org/WICKET/how-to-modify-an-attribute-on-a-html-tag.html Matthew -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/correct-way-to-get-css-classes-of-component-tp3248490p3249278.html Sent from the Users

Re: correct way to get css classes of component

2011-01-31 Thread Pedro Santos
You can override the Component#onComponentTag or AbstractBehavior#onComponentTag method and use the ComponentTag API to deal with the tag attributes. On Mon, Jan 31, 2011 at 9:07 AM, Patrick Petermair < patrick.peterm...@openforce.com> wrote: > Hi! > > I was trying to solve the problem of replac

correct way to get css classes of component

2011-01-31 Thread Patrick Petermair
Hi! I was trying to solve the problem of replacing a specific css class of a wicket component with another css class. Google pointed me to the following thread: http://apache-wicket.1842946.n4.nabble.com/How-to-add-and-remove-css-classes-the-right-way-td1868408.html The nice and simple solut