Re: How to change the properties file location in Wicket

2012-05-31 Thread oliver.stef
Hi Tom, my usecase is: I wan't wicket to search for the key=value in particular order, i.e: let's say i have those propertis files: 1. ...\java\com\mycompany*\external\*WicketApplication_en.properties 2. ...\java\com\mycompany\WicketApplication_en.properties 3.

Re: How to change the properties file location in Wicket

2012-05-31 Thread oliver.stef
Please change the sentence so i want Wicket to load the wicket:messag in the following order: to so i want Wicket to load the wicket:messag from the following files: Thanks! -- View this message in context:

Re: How to change the properties file location in Wicket

2012-05-21 Thread Martin Grigorov
See org.apache.wicket.resource.loader.BundleStringResourceLoader Or create your own impl of org.apache.wicket.resource.loader.IStringResourceLoader and register it with : app.getStringResourceLoaders().add(yours) On Sun, May 20, 2012 at 6:47 PM, oliver.stef ova...@gmail.com wrote: Hi Martin,

Re: How to change the properties file location in Wicket

2012-05-20 Thread oliver.stef
Hi Martin, Thank you for your help, but my problem is that i need to put my properties file in folder that is not next to the HTML and Java files. i need to change the look-up algorithm of wicket. Any body know how to do it? Thanks! -- View this message in context:

Re: How to change the properties file location in Wicket

2012-05-20 Thread Thomas Götz
Why do you need to change that? What is your usecase? -Tom On 20.05.2012 at 18:47 oliver.stef wrote: Hi Martin, Thank you for your help, but my problem is that i need to put my properties file in folder that is not next to the HTML and Java files. i need to change the look-up

How to change the properties file location in Wicket

2012-05-17 Thread oliver.stef
Hi all, I just start using Wicket and I have a big problem! I have a few sources files (Page (folder) with the files: Page1.html, Page1.java, Page1.properties, Page2(another folder) with the files: Page2.html, Page2.java, Page2.properties). now, my problem is that i want to merge all the

Re: How to change the properties file location in Wicket

2012-05-17 Thread Martin Grigorov
Hi, Create MyApplication.properties and put it next to MyApplication.java. On Thu, May 17, 2012 at 2:27 PM, oliver.stef ova...@gmail.com wrote: Hi all, I just start using Wicket and I have a big problem! I have a few sources files (Page (folder) with the files: Page1.html, Page1.java,