I was thinking about this yesterday...

This is a very common scenario, specially for i18n messages related to
exceptions.

Thanks for the info =)


On Mon, Oct 5, 2009 at 9:52 AM, Robin Sander <robin.san...@gmx.net> wrote:

>
> Wicket uses a chain of resolvers, by default these are: (see Settings
> class)
>
>  ComponentStringResourceLoader, PackageStringResourceLoader,
> ClassStringResourceLoader and ValidatorStringResourceLoader.
>
> So besides the component specific resource you may define respources per
> package (e.g. 'package_de.properties') and for the
> whole application, the latter named like your application class (e.g.
> MyApp.properties)
>
>
>
>
> On Oct 4, 2009, at 05:32, David Chang wrote:
>
>  I am reading <<Wicket in Action>> and have this i18n/i10n-related question
>> :
>>
>> Suppose that I have a string that is used on multiple (but NOT ALL) pages.
>> One solution is that I can put this string in the property files for each
>> page on which the string is used.
>>
>> Any other better solutions?
>>
>> Thanks for your input!
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>


-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*/

Reply via email to