Thanks. By the way I just found that the key must existed otherwise
the application will not run.

I personally think as there is already default message for that tag,
may be we don't need to make it as requirement of have key at bundle?

On 11/1/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> MyApplication.properties
> MyApplication_nl_NL.properties
> MyApplication_fr.properties
> MyApplication_bg.properties
> MyApplication_jp.properties
>
> Martijn
>
> On 11/1/06, Carfield Yim <[EMAIL PROTECTED]> wrote:
> > Thanks for pointing out this, this is very useful. However according to
> >
> > http://wicketframework.org/wicket-1.1/apidocs/wicket/WicketMessageResolver.html
> >
> > Look like if for page class MyPage.class, then it will use the bundle
> > define at MyPage_[locate].properties, right?
> >
> > However, I guess most people like to put all bundles key value pair in
> > single properties file so that it is easier to reuse and translate. I
> > believe this can be done in wicket, anyone know how?
> >
> >
> > On 11/1/06, Erik van Oosten <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> >
> > -------------------------------------------------------------------------
> > 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
> >
>
>
> --
> <a href="http://www.thebeststuffintheworld.com/vote_for/wicket";>Vote</a>
> for <a href="http://www.thebeststuffintheworld.com/stuff/wicket";>Wicket</a>
> at the <a href="http://www.thebeststuffintheworld.com/";>Best Stuff in
> the World!</a>
>
> -------------------------------------------------------------------------
> 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
>

-------------------------------------------------------------------------
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