This is a good way to achieve the required effect. If you have a custom
session you could set the style in the constructor. 
You could also check some system variable (passed in to the JVM with the -D
switch on the command line) so you don't have to recompile your app every
time you want to switch mode.

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 




Srikanth.NT wrote:
> 
> I think you could use setStyle of Session object with a text "test",
> "prod".
> And rename your files into MyApplication.properties (default when you dont
> set the style), 
> MyApplication_test.properties(when style = "test") and
> MyApplication_prod.properties (when style="prod")
> 
> Regards,
> Srikanth NT
> 

-- 
View this message in context: 
http://www.nabble.com/Properties-file-tp20610610p20620313.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to