Re: Struts2 Validaions

2008-02-13 Thread Martin Castellanos
Ok this is my problem: The first time I tried to add validation I made an ActionName-methodname-validation.xml file, and added the validationWorkFlow stack. The validation was executed and errors were detected but the action just kept going, I asked and the problem was that my action needed to imp

Re: Struts2 Validaions

2008-02-13 Thread Dave Newton
--- Martin Castellanos <[EMAIL PROTECTED]> wrote: > I had this problem, I don't think it's related to the theme. I'm new to > struts so this might not be the best solution, I made my action implements > Preparable and I clean up the errors in the prepare method. I believe you may be responding to

Re: Struts2 Validaions

2008-02-13 Thread Martin Castellanos
I had this problem, I don't think it's related to the theme. I'm new to struts so this might not be the best solution, I made my action implements Preparable and I clean up the errors in the prepare method. On Feb 13, 2008 7:46 AM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Sanjeewa Saman <[EMA

RE: Struts2 Validaions

2008-02-13 Thread Dave Newton
--- Sanjeewa Saman <[EMAIL PROTECTED]> wrote: > We are using simple theme with struts2 here and the problem is repeating > the error message in the UI. The "simple" theme's UI components, IIRC, don't include the error messages. > When we do not use a theme may be the default theme we do not have

RE: Struts2 Validaions

2008-02-13 Thread Sanjeewa Saman
components with this default one. Thanks, sanjeewa -Original Message- From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 6:38 PM To: Struts Users Mailing List Subject: Re: Struts2 Validaions Hi, Your issue is not clear. can you please tell. what is the theme

Re: Struts2 Validaions

2008-02-13 Thread Nuwan Chandrasoma
Hi, Your issue is not clear. can you please tell. what is the theme now your using? are you using javascript validation? what is the theme that didnt have this issue? Thanks, Nuwan Sanjeewa Saman wrote: Hi All, We have a problem in using validations. I have tried both xml based

Struts2 Validaions

2008-02-13 Thread Sanjeewa Saman
Hi All, We have a problem in using validations. I have tried both xml based and annotation based validations. But the problem is , The error messages don't get cleared once we get a error message and it will repeat in the UI. This will happen with the simple theme ,as if we don't us