You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Don Brown (JIRA)" <ji...@apache.org> on 2008/04/20 06:42:05 UTC

[jira] Commented: (WW-1968) i18n problem with getText when calling some actions in same time

    [ https://issues.apache.org/struts/browse/WW-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43692#action_43692 ] 

Don Brown commented on WW-1968:
-------------------------------

Could you provide more information, specifically your XML configuration and/or screenshots?  I'm having trouble understanding the exact problem.

> i18n problem with getText when calling some actions in same time
> ----------------------------------------------------------------
>
>                 Key: WW-1968
>                 URL: https://issues.apache.org/struts/browse/WW-1968
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.6, 2.0.7
>         Environment: Tomcat Struts 2.06 / 2.0.7 
>            Reporter: Yves-Marie Lainé
>             Fix For: Future
>
>
> Hi, sorry if this is not a bug but i believe it is :
> I have a multipart internationalized form that contains a lot of text field. In the middle of this form there is a file input field that allow the user to upload image that are kept in session before final validation. After uploading image, the form is displayed back and uploaded images are displayed on the form by calling another action that return image as stream result. Everything works fine at this point.
> The problem is that when the navigator request images from the download action before the end of the render process of the form, all the i18n keys are displayed instead of the values that are present in my support file.
> In debug mode i can see :
> [LocalizedTextUtil] Unable to find text for key 'i18n.key' in class 'package.DownloadImageAction' and locale 'fr'
> But, in fact the form that contain the <s:text ../> tag isn't the resut of thist action.
> If I desactivate image in the navigator, all my label are displayed fine.
> Yes-Marie Lainé

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