Hi,
I want to add an additional class value to the class attritbute of a
tag in onComponentTag():
aTag.getAttributes().add(class, newvalue);
Looking at the javadocs, this seems to be supported. Nevertheless,
while rendering only the first value is rendered (see
Hi Erik,
You should look at aTag.getAttributes as if it is a Map. If you do an
'add' you replace the existing value.
You can either do a get first and add your value, or use the behavior
wicket.AttributeModifier.
Regards,
Erik.
Erik Brakkee schreef:
Hi,
I want to add an additional
Or use the AttributeAppender
Martijn
On 11/13/06, Erik van Oosten [EMAIL PROTECTED] wrote:
Hi Erik,
You should look at aTag.getAttributes as if it is a Map. If you do an
'add' you replace the existing value.
You can either do a get first and add your value, or use the behavior