Subject: Re: Improved I18N support From: "Wei Gao" <[EMAIL PROTECTED]> === I believe that you can do it with current struts by this: <html:submit property="addUser"> <html:message key="button.addNewUser"> </html:submit>
"Heath Chiavettone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello all, > > I know that you guys are about to stabilize the 1.1 release, but I noticed a > possible area where your I18N support is lacking. There are a bunch of tags > which take the "value" parameter for comparison. I can see some areas, > especially related to buttons, where you may want to specify a valueKey > argument as well. This would match up with your pattern for the title, and > titleKey. Essentially, if somebody wants to write a page which can be > reused in a variety of languages, it may be difficult right now to use all > the tags correctly. > > The best example may be the <html:submit> tag. In the following example, if > I wanted to have a button that changes its text based on the user's locale, > I can't see how to do this easily right now: > > i.e. <html:submit property="addUser" value=" Add New User "/> > > I would appreciate your thoughts on this... > > Thanks, > Heath > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>