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.7, 2.0.6
         Environment: Tomcat Struts 2.06 / 2.0.7 
            Reporter: Yves-Marie Lainé


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.

Reply via email to