RE: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Nadia Kunkov
ch action where validate="false". It seems to be working. Is it an OK practice to have many mappings for the same dispatch action? Thanks NK -Original Message- From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 12:51 PM To: Struts Users Mailing Li

RE: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Durham David R Jr Contr 805 CSPTS/SCE
I've solved this problem a couple of different ways. 1) Turn off validation in the struts-config and handle it within your action method. Something like: ActionErrors errors = form.validate(mapping, request); if (errors != null && !errors.isEmpty()) { saveErrors(request, errors);

Re: Dispatch Action and Validate - rephrased subject

2004-10-04 Thread Michael McGrady
If you are talking about this one action, I am not sure why you would want to use DispatchAction. If you were planning in the future to maybe use multiple methods off this action, then DispatchAction or something like DispatchAction might make sense. As it is, it doesn't make sense. You are