beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Feit <>
Subject Re: [PATCH] BEEHIVE-307: Struts validator support for the msg and args' bundle attribute
Date Wed, 31 Aug 2005 23:46:17 GMT
Thanks, Carlin.  I'm sure this one was a joy to debug.  I will get this 
in after we go out the door with 1.0 (I agree that it can wait until then).


Carlin Rogers wrote:

>I've attached a patch to to 
>an issue with NetUI to handle an already formatted error ActionMessage.
>Updating to Struts version 1.2.7 solved the issue within the validator. 
>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 
>ActionMessage with the formatted message and resource=false. The 
>key is the message, not a key for us to use later when processing the errors 
>the Error tag.
>The fix changes the ErrorBaseTag.getErrorMessage() method to check if the 
>ActionMessage is a resource or not. If not, then we just get the already 
>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.

View raw message