Re: correct way to get css classes of component

2011-01-31 Thread msj121
You can also use an AttributeModifier, which will give you the old value (as I recall). overriding the method onComponentTag(ComponentTag tag), will let you easily put a new variable for your class etc... but you will need to use tag.get(), and tag.put(tag.get("")+"..."). Looks somewhat messy whe

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