see StringResourceModel

-igor

On Wed, Mar 24, 2010 at 8:42 PM, David Chang <david_q_zh...@yahoo.com> 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: 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

Reply via email to