wicket tries to load localized files first. so if you have MyPage.class and you are in german locale the loading order would be MyPage_DE_de.html MyPage_DE.html MyPage.html
then there are also variations, if your page.getvariation() returns "foo" then the loading order is MyPage_foo_DE_de.html MyPage_foo_DE.html MyPage_foo.html MyPage_DE_de.html MyPage_DE.html MyPage.html there is also session.set/getstyle() which is just like variation but will set the style on session-level instead of page-level. -igor On Jan 21, 2008 5:32 AM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > Hi! > > I'm developing a site that has different views and languages. How does this > fit in the wicket framework? > > When adding a WebPage you get a default .html view. Is there anyway on > having multiple views for a wicket page? How do you develop a site with same > model but different views? > > // Mathias > -- > View this message in context: > http://www.nabble.com/Different-views-in-wicket-tp14997475p14997475.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
