A nice little extra thing is that those files are loaded through our normal resource loading mechanism, meaning that if you're in development mode and make changes, they will be reloaded.
Eelco On 10/7/06, Erik van Oosten <[EMAIL PROTECTED]> wrote: > Craigdd, > > Wicket surprised me with a very advanced resource loading concept. You > can define .properties files for any component and then there is a > clever searching algorithm that moves up in the component hierarchy. In > practice you can define labels on any component, any override those in > any place where you use the component (both when you add it to a > container, or when you subclass the component). BTW, this is not > different from how the html templates are found. > > The book Pro Wicket has an extensive explanation on this subject. > > Regards, > Erik. > > craigdd schreef: > > As I'm evaluating wicket I'm not seeing many examples of using resource > > bundles. > > > > I was wondering how, or what the best practices of using resource bundles > > with wicket was. I'm primarily interested on how you setup resource bundles > > through wicket, how to use resource bundles in html pages for things like > > labels, and how to use resource bundles within wicket objects such as forms > > to display back error messages gotten from resource bundles. > > > > -- > Erik van Oosten > http://day-to-day-stuff.blogspot.com/ > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
