look at BoundedCompoundPropertyModel (i could type the name a bit
wrong, cant check at this time) With that you can do something like:
label1.setmodel(bcpm.bind('key') and do the samething for label2On 9/27/07, Peter Dotchev <[EMAIL PROTECTED]> wrote: > > Hi, > > I'd like to use the same value in several places of a page, e.g. two labels > with same content. > Let's say I want to substitute the same property using > CompoundPropertyModel. > > How can I do that in Wicket 1.3? > > Thanks for your help. > > Peter > > -- > View this message in context: > http://www.nabble.com/substitute-same-value-in-several-places-tf4530268.html#a12927782 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]
