Re: how to split application properties file into several properties files

2009-06-22 Thread Vladimir K

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



how to split application properties file into several properties files

2009-06-19 Thread Vladimir Kovalyuk
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?