RE: Rendering a fieldset class attribute

2007-11-08 Thread William Hoover
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

RE: Rendering a fieldset class attribute

2007-11-07 Thread William Hoover
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) {

Re: Rendering a fieldset class attribute

2007-11-07 Thread Al Maw
William Hoover wrote: final AttributeModifier levelModifier = new AttributeModifier(class, new Model() { @Override public Object getObject() {

RE: Rendering a fieldset class attribute

2007-11-07 Thread William Hoover
To: users@wicket.apache.org Subject: Re: Rendering a fieldset class attribute William Hoover wrote: final AttributeModifier levelModifier = new AttributeModifier(class, new Model() { @Override

Re: Rendering a fieldset class attribute

2007-11-07 Thread Al Maw
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