Good questoin - I'm not sure how that works with wicket:message. But I suppose you could easily add a label to the fragment and control the property key to your label easily....
-- Jeremy Thomerson http://www.wickettraining.com On Wed, May 13, 2009 at 11:37 AM, Kaspar Fischer <h...@rapsak.com> wrote: > How can one override properties in Fragments? > > Given a component: > > <div><wicket:message key="foo"/></div> > > which I instantiate twice, say, in > > <div wicket:id="c1" /> > <wicket:fragment id="fragment"> > <div wicket:id="c2" /> > </wicket:fragment/> > > I can override c1's property foo via > > c1.foo=Bar > > but neither c2.foo=Bar nor fragment.c2.foo=Bar work. > > What is the property path to access c2's foo? > > Kaspar > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org