You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Philip Luppens (JIRA)" <ji...@apache.org> on 2007/02/07 17:15:16 UTC

[jira] Commented: (WW-1716) Internationalization

    [ https://issues.apache.org/struts/browse/WW-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40019 ] 

Philip Luppens commented on WW-1716:
------------------------------------

Would you mind telling us a) what's going wrong, b) why this is filed as a task and assigned to Ted, c) why you don't post this kind of questions on the struts user list ?

> Internationalization
> --------------------
>
>                 Key: WW-1716
>                 URL: https://issues.apache.org/struts/browse/WW-1716
>             Project: Struts 2
>          Issue Type: Task
>    Affects Versions: 2.0.2
>            Reporter: Manoj Sinha
>         Assigned To: Ted Husted
>
> Hi Ted,
> I am trying to create Loin form that should support Localization.Code is below:
> <s:form action="Login">
>     <s:combobox label= "%{getText('loginlang.language')}"  name="language" list="{'English','French','Italian'}"
>    value="English" ></s:combobox>
>   <s:textfield label="%{getText('loginlang.loginid')}" name="username"/>
>   
>   <s:password label="getText('loginlang.password')" name="password" />
>   
>   <ul>
>     <li>
>     		<s:url id="en" action="Login">
>     		<s:param name="request_locale" >en</s:param>
>         <s:property value="getText('loginlang.language')"/>
>         <s:property value="getText('longinlang.loginid')"/> 
>         <s:property value="getText('longinlang.password')"/>
>         </s:url>
>                
>         
>         </li>
>         <li>
>         <s:url id="fr" action="Login">
>         	<s:param name="request_locale">fr</s:param>
>         	     <s:property value="getText('loginlang.language')"/>
>         <s:property value="getText('longinlang.loginid')"/> 
>         <s:property value="getText('longinlang.password')"/>
>         </s:url>
>         
>                 
>         </li>
>     <li>
>               <s:url id="it"action="Login">
>         <s:param name="request_locale">it</s:param>
>     	<s:property value="getText('loginlang.language')"/>
>         <s:property value="getText('longinlang.loginid')"/> 
>         <s:property value="getText('longinlang.password')"/>
>            
>         	</s:url>
>         	
>         </li>
>           
>   
> </ul>
>   <s:submit/><s:reset/>
> </s:form>
> Ted Expecting suggestion ASAP.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.