Hi Carfield,

There is also the <wicket:message> tag.

I am trying to find documentation on the wiki but I failed. I guess 
you'll have to google for it.

     Erik.

Carfield Yim schreef:
> Have read these two page:
>
> http://cwiki.apache.org/confluence/display/WICKET/General+i18n+in+Wicket
> http://www.wicket-wiki.org.uk/wiki/index.php/I18n_in_Wicket
>
> Look like I have 2 options:
> 1) Have a of of <span wicket:id=xxx></span> at HTML and fill all those
> <span> at Java code.
> 2) Have a lot of MyPage_[locate].html .
>
> Sound like both are not very ideal, as 1) need programmer add a long
> list of labels at java code, and 2) need designer keep multiple copy
> of HTML in sync manually.
>
> I just wonder if I have just have HTML template like
>
>  <html>
> <body>
>     <span wicket:id = "main_border">
>         {label.message_to_user}
>     </span>
> </body>
> </html>
>
> Then wicket will look it up from bundle without the programmer fill a
> long list of <span> component?

-- 
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to