You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Vladimir K <ko...@gmail.com> on 2009/06/22 10:45:50 UTC
Re: how to split application properties file into several
properties files
As usual it becomes pretty simple if you know how.
in the init method you should add:
getResourceSettings().addStringResourceLoader(new
ClassStringResourceLoader(YourModule.class));
If ClassStringResourceLoader didn't called base class it would be more
efficient implementation.
Vladimir K wrote:
>
> I would like to split the application properties file into several
> properties files.
> I know that I can share resources of base component and page among their
> descendants and at that I can use package propeties files. I just don't
> want
> to go this way because most of messages are organized in different way
> than
> components and pages.
> I wanna just split one file into several distinct files.
>
> What is the best way?
>
>
--
View this message in context: http://www.nabble.com/how-to-split-application-properties-file-into-several-properties--files-tp24121864p24143617.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org