In the class "MyAttributeModifier", this code is problematic for me:
@Override
public void onComponentTag(final Component component, final ComponentTag tag) {
System.out.println("ononComponentTag called. component="+component+", tag="+tag);
if (isEnabled(component)) {
System.out.println("changing attribute, value="+value);
tag.getAttributes().put(attribute, value);
}
}
What is this construct trying to achieve, please? I don't know this method in Wicket 1.4 and in 6.0 the super class declares it as final! Once I know what's it's for, I'll be able to ask for help to the Wicket mailing-list.
Regards,