ginal Message-
From: Brandon Mercer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 10:02 AM
To: Struts Users Mailing List
Subject: Re: Two cancel buttons in one form
Abdullah Jibaly wrote:
>Hi all,
>
>I want to have two cancel buttons in a form, however I run into the problem
I ended up putting this in my base action class. Is there a better alternative?
public String getCancelledValue(HttpServletRequest request) {
return (String)
request.getAttribute(org.apache.struts.Globals.CANCEL_KEY);
}
-Original Message-
From: Abdullah Jibaly
Sent: Tuesday,
Abdullah Jibaly wrote:
>Hi all,
>
>I want to have two cancel buttons in a form, however I run into the problem of
>not being able to distinguish which one is being pressed (one cancels the
>whole operation and the other returns to the first screen). The reason is that
>they both use the Globals
3 matches
Mail list logo