-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Niall,

Niall Pemberton wrote:
> You pretty much have it - the point at which the value submtted by the
> tag is converted to Globals.CANCEL_KEY is in the RequestProcessor's
> processPopulate() method.

I don't see that code, though.

> Having said that, Struts 1.3.5 uses the new ComposableRequestProcessor
> which replaces all that RequestProcessor functionality with a set of
> Commands and its taken care of in the Command
> AbstractPopulateActionForm in the handleCancel() method.

I have upgraded to 1.3.5, so I'll check out the handleCancel method.

I'm still not sure what the best way to do this is, though. In the
interim, I have created a "dummyForm" that contains no fields and no
validation. I use this to force proper "cancel" handling, because I feel
like it is less hacky than overriding Action.isCancelled to check for
the JSP-specific parameter name.

Any thoughts on that?

Thanks,
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7ZoH9CaO5/Lv0PARAuOLAJ96oSKiWiaol/9Hka7adWbvoO99cwCghrj3
atH+m+N/pTNzD8UOWyKEXmY=
=FqnX
-----END PGP SIGNATURE-----

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

Reply via email to