Per, use a AbstractReadOnlyModel or a DetachableLoadableModel for the attribute value. Regards, Carlos
On 9/6/07, Per Newgro <[EMAIL PROTECTED]> wrote: > Ok. I tried the Attribute Modifier(String, String, boolean, Model) > Constructor but it didn't worked. There have been exactly the same results. > > Thanks for your help > Per > -------- Original-Nachricht -------- > > Datum: Thu, 6 Sep 2007 15:34:14 +0200 > > Von: "Gerolf Seitz" <[EMAIL PROTECTED]> > > An: users@wicket.apache.org > > Betreff: Re: Howto use AttributeModifier > > > you used the constructor AttributeModifer(String, String, Model), which > > only > > modifies the attribute if it's already there. > > if you use Attribute Modifier(String, String, boolean, Model), the > > attribute > > will be added to the tag in case it does not exist yet. > > > > gerolf > > > -- > Psssst! Schon vom neuen GMX MultiMessenger gehört? > Der kanns mit allen: http://www.gmx.net/de/go/multimessenger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]