I think you can do it as follows:
deleteConfirm: Do you want to delete user ${name} from the list?
and
getLocalizer().getString("deleteConfirm", this, new Model<User>(user));
Assuming User is a bean with a getName() method.
Ernesto
On Fri, Dec 3, 2010 at 12:31 PM, sap2000 <[email protected]> wrote:
>
> Hello,
> In my code following lines are present and works as expected.
>
> .java file for Panel contains a FeedbackPanel and displays warning message
> using following code:
> info(getLocalizer().getString("deleteConfirm", this));
>
> application.properties file contains
> deleteConfirm: Do you want to delete user from the list?
>
> What is required now, is to include user name to the existing message.
> e.g. Do you want to delete user 'XYZ' from the list?
> Since user name will be available at runtime, dynamically how can it be
> included in the message?
>
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Internationalization-dynamic-message-for-feedback-Panel-tp3070945p3070945.html
> Sent from the Users forum 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]