Re: different inputs in struts-config

2004-08-20 Thread Susan Bradeen
Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004 09:25:38 PM: Thanks Susan. Refer to my comments below Sebastian Ho On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote: Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004 05:19:35 AM: hi I used the same actionform for

Re: different inputs in struts-config

2004-08-20 Thread struts lover
Hi , You can validate using LookupDispatchAction class. The validation.xml will take care of it. Also if you want to do other business side validations, you can do it in your methods in the action class. --- Susan Bradeen [EMAIL PROTECTED] wrote: Sebastian Ho [EMAIL PROTECTED] wrote on

RE: different inputs in struts-config

2004-08-20 Thread Jim Barrows
-Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 6:26 PM To: Struts Users Mailing List Subject: Re: different inputs in struts-config Thanks Susan. Refer to my comments below Sebastian Ho On Thu, 2004-08-19 at 21:23

different inputs in struts-config

2004-08-19 Thread Sebastian Ho
hi I used the same actionform for a few JSP pages, which I guess is good practice. The problem occurs when I add in validation in my ActionForm. Because in the struts-config, only one input is specified for every Action. Therefore, whenever validation fails and struts display the error

Re: different inputs in struts-config

2004-08-19 Thread Susan Bradeen
Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004 05:19:35 AM: hi I used the same actionform for a few JSP pages, which I guess is good practice. The problem occurs when I add in validation in my ActionForm. Because in the struts-config, only one input is specified for every Action.

RE: different inputs in struts-config

2004-08-19 Thread Jim Barrows
-Original Message- From: Sebastian Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:20 AM To: Struts Users Mailing List Subject: different inputs in struts-config hi I used the same actionform for a few JSP pages, which I guess is good practice. The problem

Re: different inputs in struts-config

2004-08-19 Thread Sebastian Ho
Thanks Susan. Refer to my comments below Sebastian Ho On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote: Sebastian Ho [EMAIL PROTECTED] wrote on 08/19/2004 05:19:35 AM: hi I used the same actionform for a few JSP pages, which I guess is good practice. The problem occurs when I add

Re: different inputs in struts-config

2004-08-19 Thread struts lover
Try using the attribute/formAttribute in the action mapping. I think it should work. --- Sebastian Ho [EMAIL PROTECTED] wrote: Thanks Susan. Refer to my comments below Sebastian Ho On Thu, 2004-08-19 at 21:23, Susan Bradeen wrote: Sebastian Ho [EMAIL PROTECTED] wrote on