hi.

> I have two different pages that call the same action.  I'm 
> using validate="true" in the action mapping.  Can I specify 
> the 'input' 
> attribute dynamically (or set it somewhere while the action 
> is being called, before validation?).

never tried, but ...

your action's execute method gives you an ActionMapping object which can
call setInput(String input).

you have to set validate="false" in order to give control to the action
before validation starts. you can then manually call
form.validate(mapping, request) (+ save errors into request, + return
inputForward ). 


hth, ralf


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to