Ted, Appreciate your suggestion. But on selection of language Options,It is not reflecting in Label fields.Obliged to receive early response.Refined Codes: <s:form action="Login"> <s:i18n name="/package path....../"> <s:combobox label="%{getText('language')}" name="language" list="{'English','French','Italian'}" value="English" ></s:combobox> <s:textfield label="%{getText('username')}" name="username"/> <s:password label="%{getText('password')}" name="password"/> </s:i18n> <s:submit/> <s:reset></s:reset> </s:form> <ul> <li> <s:param name="request_locale" >en</s:param> <s:i18n name="/package path....."> <s:property value="%{getText('language')"/> <s:property value="%{getText('username')"/> <s:property value="%{getText('password')"/> </s:i18n> </li> <li> <s:param name="request_locale">fr</s:param> <s:i18n name="/package path...."> <s:property value="%{getText('language')"/> <s:property value="%{getText('username')"/> <s:property value="%{getText('password')"/> </s:i18n> </li> <li> <s:param name="request_locale">it</s:param> <s:i18n name="/package path...."> <s:property value="%{getText('language')"/> <s:property value="%{getText('username')"/> <s:property value="%{getText('password')"/> </s:i18n> </li> </ul>
Ted Husted <[EMAIL PROTECTED]> wrote: The code here appears to be trying to store the new settings for the client as they are being changed. Of course, that's a good idea, but it also might be confusing the markup. First, I'd try simplifying the page so that it just changes the locale, as we do here * http://struts.apache.org/2.x/docs/localizing-output.html Once that is known to work, then add the code that stores the locale under the client's login ID. And, of course, at some point, the login password should be removed, as it would represent a security concern. Values like a password can be stored in the session, which is secure, and then accessed by the Action class as needed -- HTH, Ted. * http://www.husted.com/struts/ On 2/7/07, manoj sinha wrote: > Hi, > Expecting solution:i m writing Login Form with Internationlization > support.But as i Select Language it doesn't reflect in Form Field.Pls > Suggest ASAP > > > value="English" > > > > > > > > > > > > > en > > > > > > > > > > fr > > > > > > > > > > it > > > > > > > > > > > > > > --------------------------------- > Don't be flakey. Get Yahoo! Mail for Mobile and > always stay connected to friends. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ================= With Warm Regads Manoj Sinha 09335274190 --------------------------------- Now that's room service! Choose from over 150,000 hotels in 45,000 destinations on Yahoo! Travel to find your fit.