Michael Jouravlev wrote:
On 7/16/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
So if I'm understanding correctly, the only thing that needs to change to
make this all work nicely is for automatic validatain to save errors with
session scope. The code is already there to support redirect-to-input and
to clear the errors out of the session again, right?

That sounds like it could be a simple change with a big benefit if I'm
right :-)

I personally do not need automatic validation, because I switched to
dispatch action, and I need to process every call, even if input data
is invalid.

Even further, I would prefer everything to be manual. Action.execute()
would get called, and I would call ActionForm.reset(),
ActionForm.populate(), ActionForm.validate() and whatnot. It is much
easier for me to see the code.

As long as validate is set to false, that's the way it works and that's the way it would continue to work. All I'm saying is that most of the caveats in the StrutsCatalogRedirectToInputPage piece would go away if the validator framework saved errors to session scope. Then you could use redirect to input in place of forward to input whether using automatic validation or not, no?

L.
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie


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

Reply via email to