At 1:58 PM -0500 1/13/05, [EMAIL PROTECTED] wrote:
Sorry, I seem to have spoken too soon.  The method paramater will have a value
because the previous button has been pressed.  I don't want to say we won't
validate on previous or next, since we need to, I just need to not validate if
struts is coming from another action

And this is something that Struts is not designed to do, because it is not designed to support two passes through the RequestProcessor for a single HTTP Request.


Lots of work is underway for Struts 1.3.x to make this more straightforward, but this is not ready for production applications, and probably won't be for several weeks if not months.

In the meantime, probably the most straightforward thing to do would simply be to have a second action mapping which has validate="false" and use that mapping path in your forward/chain. I think you said this wasn't appealing, but having it work is probably more appealing than not!

There's a lot of recent chatter in the archives of both the Struts user and dev lists about the ComposableRequestProcessor for Struts 1.3 which should make this easier. It is possible to use a precursor to this in Struts 1.2 using the struts-chain library, which was never formally released, but which can be extracted from the SVN repository.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex


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



Reply via email to