You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Juan Espinosa <pc...@adinet.com.uy> on 2007/02/13 13:56:17 UTC

I18N Problems

> Hi to all, i need some help with a intenationalization. I have a file
> named package.properties in the folder where i have located the actions.
> The localization is not working in actionerrors, i have the following code
> in the action:
> 
> addActionError("myapplication.registration.error.userNameNotFound")
> 
> I dont know why this code is not working, i have an entry
> "myapplication.registration.error.userNameNotFound" in package.properties
> but this thing doesnt work
> 
> Another thing that does not work is this
> 
> i have this action to call a jsp (i dont want to call it directly)
> 
> 	<action name="viewCustomerLogin">
> 		<result>/private/customer/security/login.jsp</result>
> 	</action>
> 
> in this case the localization also does not work, alsto i tried to put the
> I18N interceptor  <interceptor-ref name="i18n"/>
> but no way
> 
> but if i call the jsp throw a real action the localization works...
> 
> 	<action name="viewCustomerLogin" method="viewCustomerLogin"
> class="uy.com.MyActionClass">
> 		<result>/private/customer/security/login.jsp</result>
> 	</action>
> 
> Any help will be appreciated.
> 
> Thanks
> 
> 
-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 12/02/2007
13:23