struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chuck Cavaness <chuckcavan...@attbi.com>
Subject Re: Internationalization and <html:submit
Date Fri, 19 Apr 2002 21:35:05 GMT
Although I'm not real found of this action, I would look at the 
org.apache.struts.actons.LookupDispatchAction. This is a pre-built action 
that can be used exactly for what you are trying to do.

Chuck

At 04:30 PM 4/19/2002 +0200, you wrote:
>Hi,
>
>we are developing an application that uses the i18n capabilities of Struts,
>and we have found a problem trying to use this capability with the
>. For instance, if we use in our JSP pages: then in our code we will do 
>like this: if (action.equals("Accept")){ returnPage = "accept"; } else{ 
>returnPage = "cancel"; } but if we want to translate the value of the 
>buttons the another languages let's say: How can we make the presentation 
>of the value, and the value passed to the property 'action' not coupled. I 
>would like to put into the 'action' property always the content in 
>English, but the view in the JSP page in different languages depending on 
>the localization of the user? Is this possible in Struts? Regards Diego 
>XpertOnline Technical Manager e-mail: diego.parrilla@olecenter.com Adecco 
>OleCenter C/Severo Ochoa, 55 Parque Empresarial Casablanca II 28100 
>Alcobendas Madrid - Spain Telf: +34 91 484 77 08 -- To unsubscribe, 
>e-mail: For additional commands, e-mail:


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message