DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22357

isCancelled does not work as intended if ActionMapping does not have a form

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From [EMAIL PROTECTED]  2003-08-31 03:40 -------
The isCancelled() method uses a request *attribute*, not a request parameter:
  return (request.getAttribute(Globals.CANCEL_KEY) != null);

In any case, the purpose of the method is to detect whether the Cancel button on
a form has been pressed. Without a form, the method has no meaning.

If you want to "cancel" an operation where you are not using a form, eg via a
link, then you can simply set the link target appropriately.

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

Reply via email to