Nobody knows how to do that?
In the source code i've found this comment :

The message can be overridden using the <code>NavigatorLabel</code> property
key, the default message is used is of the
 format <code>Showing ${from} to ${to} of ${of}</code>
So i guess it should work, i must have missed something...



On Mon, Feb 23, 2009 at 10:15 AM, Loic Descotte <loic.desco...@gmail.com>wrote:

> Hi all,
> I have a question about Wicket Datatable Component Internationalization.
> In the datatable, in don't find how to change the text "Showing 1 to 10 of
> N" in the navigation toolbar.
>
> The Datatable component is associated to a NavigatorToolBar component, wich
> is associated to a NavigatorLabel.
> I've found this code in the NavigatorLabel.java file :
>
> "new StringResourceModel("NavigatorLabel", this,
>             new Model<LabelModelObject>(new LabelModelObject(table)),
>             "Showing ${from} to ${to} of ${of}")"
>
> I've tried to redefine "NavigatorLabel" in my properties files, but it
> does'nt work, the text the "Showing 1 to 10 of N" does'nt change.
>
> I've tried this :
>
> NavigatorLabel = Lignes ${from} à ${to} sur ${of}"
> and
>
> NavigatorLabel = Lignes ${0} à ${1} sur ${2}"
>
> Do anyone knows how to make this work?
>
> Thanks a lot
>
> --
> Loïc Descotte
> 9 rue Sébastien Gryphe
> 69007 Lyon
>
> 06 23 23 36 80
>



-- 
Loïc Descotte
9 rue Sébastien Gryphe
69007 Lyon

06 23 23 36 80

Reply via email to