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.
-IgorOn 8/15/06, sathya81 [EMAIL PROTECTED] wrote:
Hello,Iam getting used to
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
wicket searches for property files basedon class hierarchy and their nestinglets say you have:page A - panel B - panel Cwicket will then search like thisA.propertiesB.properties
C.propertiesthen it searches the application class
and yeah...package names are not part of the file name, they are just there for clarity.-IgorOn 8/16/06, Igor Vaynberg
[EMAIL PROTECTED] wrote:wicket searches for property files basedon class hierarchy and their nesting
lets say you have:page A - panel B - panel Cwicket will then search like
Thanq very much Igor, its working now, i misplaced the file in my dir
structure.
-Sathya
igor.vaynberg wrote:
wicket searches for property files basedon class hierarchy and their
nesting
lets say you have:
page A - panel B - panel C
wicket will then search like this