Hi Johan,
that really rocks! wicket really is a groovy framework.
-andi
On Jul 12, 2005, at 23:08 Uhr, Johan Compagner wrote:
yes wicket does that.
It looks up html like a resourcebundle and you also can have
different styles
MyPage.html
MyPage_locale.html
MyPage_style_locale.html
and in 1.1 you now also have:
MyPage_variation_style_locale.html
locale can be "de_DE" or "de"
style is a global session thing (that you can set as skinning for
the complete application/session) Like WAP
variation is a panel/page instance thing. So that an instance of a
component can decide i want that variation of the markup.
johan
Andreas Aderhold wrote:
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
-------------------------------------------------------
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