You would need to override RequestProcessor class there is postProcessValidate() Method you can try using that for your purpose... over there you get ActionErrors instance..if you are using tiles and depending upon the struts version you would need to override TilesRequestProcessor. I am not sure abt the version.
I think the ActionErrors is stored in request scope with key Globals.ERROR_KEY. You can try getting it from here and then modifying the same. -----Original Message----- From: Krishna, Hari [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:49 PM To: Struts Users Mailing List Subject: RE: Validation message Help How to filter out and where to do it?Do i need to customize validation.xml? -----Original Message----- From: Vishal Seth [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:34 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: Validation message Help You can try filtering out the error list for displaying unique error messages. You would require a validation for each field, but to display one message rather than duplicating them you can filter out the error list Vishal -----Original Message----- From: Tejas Bavishi [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:26 PM To: 'Struts Users Mailing List' Subject: RE: Validation message Help Hi Possible solution: Write tags to check if the error message is set in the request and correspondingly apply the style on the text boxes to render them in RED color and also show the same error message. Thanks & regards Tejas -----Original Message----- From: Krishna, Hari [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:03 PM To: user@struts.apache.org Subject: Validation message Help Hi I have a registration page where i have a list of text boxes (all are mandatory).Is it possible to show one single error message for all the fields while highlighting all of them in RED color?Please get me ur advice.I know only one way of validation where we show multiple mandatory validation messages for multiple fields while highlighting all of them in RED color. I need one message but multiple highlighting . With Best Regards, I.Hari krishna. ------------------------------------------------------------ Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -------------------------------------------------------------- Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.patni.com World-Wide Partnerships. World-Class Solutions. _____________________________________________________________________ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _____________________________________________________________________ MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] MASTEK "Making a valuable difference" Mastek in NASSCOM's 'India Top 20' Software Service Exporters List. In the US, we're called MAJESCOMASTEK ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited, unless specifically indicated to that effect. Mastek Limited does not accept any responsibility or liability for it. This e-mail and attachments (if any) transmitted with it are confidential and/or privileged and solely for the use of the intended person or entity to which it is addressed. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. This e-mail and its attachments have been scanned for the presence of computer viruses. It is the responsibility of the recipient to run the virus check on e-mails and attachments before opening them. If you have received this e-mail in error, kindly delete this e-mail from all computers. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]