Action Messaging for i18n
-------------------------

                 Key: WW-2514
                 URL: https://issues.apache.org/struts/browse/WW-2514
             Project: Struts 2
          Issue Type: Bug
            Reporter: S.Anbuvel


How can I use a global resource properties file 
 for setting an action message text in an action class having an message key ? 

I tried in action class: addActionMessage(getText("msg.common.recordUpdated")), 
but the problem is that the text is not found and the key is returned. 

When I use only in jsp: <s:text name="msg.common.recordUpdated" /> the text is 
found - the output is ok. 
When I use in the action the call: 'getText("error.business.norights")' the key 
is returned and after that in jsp the s: text tag does not output the value of 
the key anymore. The output is the key: msg.common.recordUpdated. 

Is this a bug or is there a way to do this ? 



-- 
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