you have to implement:
protected String newValue(final String currentValue, final String replacementValue)
    {
        return replacementValue;
    }
from the attribute modifier and concat the currentValue with the old

On 3/23/06, Dorel Vaida <[EMAIL PROTECTED]> wrote:
Can anyone check if this is a bug

the following:

label.add(new AttributeModifier("class", true, new Model("newClass")));

will not add the class attribute to the label's <span>, but it will
replace it if it's there.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to