well thanq Igor,if its possible, can u explain how can i do the same for the signin example, i created a properties file with the username and password keys and i saved this file in the same folder containing the src java files. but wicket is searching for thisfile in some other jar file instead of this folder. I have put the default locale as English-US. Iam getting this displayed in the console:
INFO - PropertiesFactory - Loading properties files from jar:file:/E:/eclipse/workspace/wicketExample/lib/wicket-1.2.1.jar!/wicket/Application.properties Y is wicket searching fro properties file at this location instead of the src folder? igor.vaynberg wrote: > > the properties are not loaded explicitly - when you change the locale in > that dropdown it calls session.setlocale(locale) - the next time wicket > renders it will look for property bundles with that locale and load them. > > -Igor > > > On 8/15/06, sathya81 <[EMAIL PROTECTED]> wrote: >> >> >> Hello, >> >> Iam getting used to Wicket, going through the docs available for the past >> few days, I would like to know how are properties files loaded by >> wicket.. >> with reference to the Forminput example given in the list of wicket >> examples, when i run this example on my eclipse, i c that on selection or >> change of the locale, the .properties file of that locale is being loaded >> as >> displayed in the eclipse console, but i dont c where the code is writtem >> to >> load these locale specific properties files? And i tried to follow this >> example for signin exampel but i cud not load the properties file here.. >> i >> dont understand how and where is the path being set to load the >> properties >> file? >> >> Please help >> >> Thanks in advance >> Sathya >> -- >> View this message in context: >> http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827453 >> 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 >> > > ------------------------------------------------------------------------- > 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 > > -- View this message in context: http://www.nabble.com/How-are-properties-files-loaded-in-wicket-tf2113575.html#a5827718 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