Hi,

i'm new to Wicket and just got passed the reading-all-about-it phase and starting to do a little app. just wanted to jump in here with a quick question related to the locale post.

I made the experience that using localized templates is quite ok if you're not exclusively dealing with CRUD screens or only short "message type" content.

Would Wicket choose the proper html template based on the locale automatically? like the example below: Locale is german -> wicket looks for mypage_de.html, if not there falls back to mypage.html?


thanks
andi


On Jul 12, 2005, at 22:22 Uhr, Johan Compagner wrote:

you could also create:  mypage_de.html

which would be completely german then.

The problem is that you then have to maintain 2 pages if the component structure changes.

johan

Nick Heudecker wrote:


Okay, new problem. I need to retrieve localized messages for the HTML
pages.  Things like form field names and error messages.  There must
be a way to just put a Wicket tag into the HTML markup without having
to add more Java code to the Page class.


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to