I just happened to be in that part of my code , so here goes :

Map<String, String> map = new HashMap<String, String>();
map.put("username", user.getDisplayName);
MapModel<String, String> values = new MapModel<String, String>(map);
String message = getLocalizer().getString("deleteConfirm", values);
etc...
--
Eugene

On 03 Dec 2010, at 8:01 AM, Ernesto Reinaldo Barreiro wrote:

> What do you want to use instead? A map? I think it will also work with
> a map: map.put("name", "Bla Bla"). If not I think old Java style
> properties  are also supported (thought I'm not 100% sure)
> 
> property = The user {0} will be deleted. Proceed?
> 
> and then passing an array of Object.
> 
> Ernesto
> 
> 
> On Fri, Dec 3, 2010 at 1:47 PM, sap2000 <sap2...@indiatimes.com> wrote:
>> 
>> ok. thank you.
>> but is there any way when you don't have a bean?
>> 
>> - Shantanu
>> --
>> View this message in context: 
>> http://apache-wicket.1842946.n4.nabble.com/Internationalization-dynamic-message-for-feedback-Panel-tp3070945p3071012.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>> 
>> ---------------------------------------------------------------------
>> 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