I've attached a patch to http://issues.apache.org/jira/browse/BEEHIVE-307 to 
fix
an issue with NetUI to handle an already formatted error ActionMessage.

Updating to Struts version 1.2.7 solved the issue within the validator. 
However,
when an alternate resource bundle is used, the struts validator Resources 
class will
format the message using the alternate resource bundle and then create the 
new
ActionMessage with the formatted message and resource=false. The 
ActionMessage
key is the message, not a key for us to use later when processing the errors 
in
the Error tag.

The fix changes the ErrorBaseTag.getErrorMessage() method to check if the 
error 
ActionMessage is a resource or not. If not, then we just get the already 
formatted
message and return.

The patch also has the updated test files along with a new testRecorder BVT.

Let me know if you see any issues.

Thanks,
Carlin

Reply via email to