Hi,

You need a custom implementation of
org.apache.wicket.resource.loader.IStringResourceLoader.
Check the default provided implementations for inspiration.

You can register it with: MyApp#init():
getResourceSettings().getStringResourceLoaders().add(0, new MyImpl())

On Thu, Aug 2, 2012 at 9:13 AM, oliver.stef <[email protected]> wrote:
> Hi,
>
> How can I load external properties file? (i mean that I don't want to load a
> file that is in the regular wicket hierarchy where i have HelloWorld.java,
> HelloWorld.html, HelloWorld.properties), what i want is to load file from-
> C:\project\HelloWorld.properties.
>
> i tried to do this but wicket won't load the file.
>
> any tips?
>
> Thanks!
>
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/load-properties-file-from-extrnal-path-tp4650944.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to