Re: [Wicket-user] WicketTester & .properties file
Ingram Chen schreef: You can alter locale in webSession, for example: wicketTester.getWicketSession().setLocale(new Locale("fa_IR")); Thanks, but that wasn't really what i was looking for. I've now subclassed my own WicketTester: MyWicketTester, and i can have my own MyWicketTester.properties file (and any localized versions) to manipulate. This works fine so far. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] WicketTester & .properties file
You can alter locale in webSession, for example:wicketTester.getWicketSession().setLocale(new Locale("fa_IR"));On 5/22/06, BramB < [EMAIL PROTECTED]> wrote: I'm using the getString(String key) method in a few Components, to accesslocalized Strings from the properties file.When testing the components with WicketTester, how do i point WicketTesterto the properties file i want it to use? --View this message in context: http://www.nabble.com/WicketTester+-+.properties+file-t1663331.html#a4506775Sent from the Wicket - User forum at Nabble.com.---Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen
[Wicket-user] WicketTester & .properties file
I'm using the getString(String key) method in a few Components, to access localized Strings from the properties file. When testing the components with WicketTester, how do i point WicketTester to the properties file i want it to use? -- View this message in context: http://www.nabble.com/WicketTester+-+.properties+file-t1663331.html#a4506775 Sent from the Wicket - User forum at Nabble.com. --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user