Re: Extending RequestProcessor to handle validation errors

2005-02-03 Thread Frank W. Zammetti
Hi Kishore, I've actually decided to not use this trick anyway, based on a point raised by Niall. I'll actually be cloning the ActionMapping and changing the input in that clone. I hope to actually implement this today, but I have a huge conference call most of the day, so we'll see. This

Extending RequestProcessor to handle validation errors

2005-02-02 Thread Frank W. Zammetti (MLists)
Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I want to do is have a way to redirect to a given JSP when ActionForm validation errors occur that will OVERRIDE whatever might be configured in the action mapping. In

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Benedict, Paul C
specified input and success forward. Is your question actually posed by a misdesign? Thanks, Paul -Original Message- From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle

Re: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Joe Germuska
With the ComposableRequestProcessor, the validation is independent from the command which puts an ActionForward into the context in the event of a failed form validation. It should be very straightforward for you to change the SelectInput command or add another one which uses request context

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I

Re: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
You are referring to the CoR-based Struts build, correct Joe? If not, I'm not seeing that class in the 1.1 javadocs. If your talking CoR as I think you are though, I haven't gotten that far yet :) I'm trying to get this to a point of equillibrium that I'm happy with based on the current

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Joe Germuska
to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I want to do is have a way to redirect to a given JSP when ActionForm validation errors occur that will OVERRIDE whatever might be configured

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
specified input and success forward. Is your question actually posed by a misdesign? Thanks, Paul -Original Message- From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle

Re: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Niall Pemberton
: Wednesday, February 02, 2005 6:28 PM Subject: RE: Extending RequestProcessor to handle validation errors On Wed, February 2, 2005 1:10 pm, Joe Germuska said: This actually stimulated another thought. Perhaps instead of overriding process validate, you could arrange to have your ActionMappings

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Joe Germuska
At 10:28 AM -0800 2/2/05, [EMAIL PROTECTED] wrote: On Wed, February 2, 2005 1:10 pm, Joe Germuska said: This actually stimulated another thought. Perhaps instead of overriding process validate, you could arrange to have your ActionMappings dynamically instantiated with the correct value for

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
On Wed, February 2, 2005 1:28 pm, [EMAIL PROTECTED] said: Actually, now you've stimulated a though in me! :) Correct me if I'm wrong, but processPreprocess() fires BEFORE processValidate(), correct? In that case, since I can in fact determine the input after processPreprocess() fires, I can

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I want to do is have a way to redirect to a given JSP when ActionForm validation errors occur that will OVERRIDE whatever might

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread dbrosius
: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I want to do is have a way to redirect to a given JSP when ActionForm

Re: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
RequestProcessor to handle validation errors On Wed, February 2, 2005 1:10 pm, Joe Germuska said: This actually stimulated another thought. Perhaps instead of overriding process validate, you could arrange to have your ActionMappings dynamically instantiated with the correct value for input

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Joe Germuska
-Original Message- From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I

RE: Extending RequestProcessor to handle validation errors

2005-02-02 Thread fzlists
Message- From: Frank W. Zammetti (MLists) [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:39 PM To: dev@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I

Re: Extending RequestProcessor to handle validation errors

2005-02-02 Thread Niall Pemberton
@struts.apache.org Subject: Extending RequestProcessor to handle validation errors Hi folks... I'm working on an update of my Struts Web Services project, and I can't seem to work out how to do something... What I want to do is have a way to redirect to a given JSP when ActionForm