a fieldset class attribute
William Hoover wrote:
Is it better to use AbstractBehavior and override onComponentTag?
I assume that the AttributeModifier is only for cases when the attribute
already exists in the markup, correct?
Well, given the javadoc I told you to read for the second
never mind... my mistake i needed to use AbstractBehavior (below). Sorry for
the post :)
fieldset.add(new AbstractBehavior() {
@Override
public void onComponentTag(Component component,
ComponentTag tag) {
William Hoover wrote:
final AttributeModifier levelModifier = new
AttributeModifier(class,
new Model() {
@Override
public Object getObject() {
To: users@wicket.apache.org
Subject: Re: Rendering a fieldset class attribute
William Hoover wrote:
final AttributeModifier levelModifier = new
AttributeModifier(class,
new Model() {
@Override
William Hoover wrote:
Is it better to use AbstractBehavior and override onComponentTag?
I assume that the AttributeModifier is only for cases when the attribute
already exists in the markup, correct?
Well, given the javadoc I told you to read for the second parameter
there, no. ;-)
It