see StringResourceModel -igor
On Wed, Mar 24, 2010 at 8:42 PM, David Chang <[email protected]> wrote: > > HTML: > > <span wicket:id="x">[sample text]</span> > > Java: > > add(new Label("x", new ResourceModel("x"))); > > Resource file: > > <entry key="x">Hello ${label} !</entry> > > In the above Java, I cannot find a way to provide a value to the argument of > the string. I want the program to display > > Hello David! > Hello Carmen! > > Regards. > > > > > --------------------------------------------------------------------- > 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]
