RE: ActionForm validate and redirect

2004-12-03 Thread Jim Barrows
> -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Ilja Smoli > Sent: Friday, December 03, 2004 7:33 AM > To: [EMAIL PROTECTED] > Subject: ActionForm validate and redirect > > > Hi > I use validate method in one of my ActionForms, after > validation is fail, > method r

RE: ActionForm validate and redirect

2004-12-03 Thread Robert Taylor
I did this by subclassing the RequestProcessor and modifying processValidate(). I place a value in the request which indicates the current url and don't define an input attribute for the action mappings that need this dynamic input functionality. In processValidate() if mapping.getInput() == null

Re: ActionForm validate and redirect

2004-12-03 Thread Hubert Rabago
You can't modify the actual struts instances that were configured in struts-config. However, you can handle the validation in your Action object (see http://marc.theaimsgroup.com/?l=struts-user&m=109302108205069&w=2) and redirect with parameters by constructing your own ActionForward instance. Th