RE: Recognizing Cancel Button over Submit Button

2002-09-10 Thread Cohan, Sean
Thanks, Eddie. It looks exactly what I'm looking for. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 1:43 PM To: Struts Users Mailing List Subject: Re: Recognizing Cancel Button over Submit Button http://www.husted.com/struts

Re: Recognizing Cancel Button over Submit Button

2002-09-10 Thread Eddie Bush
http://www.husted.com/struts/tips There was a recent commit to make ImageButtonBean a piece of struts. I *think* it will live in o.a.s.util.ImageButtonBean (browse the JAR to find it). I *think* if you look at Ted's tip #1, you'll find what you're looking for. Maybe I misunderstand your req

Recognizing Cancel Button over Submit Button (Cohan, Sean)

2002-09-10 Thread Scott Carlson
rd(); return super.perform(...) } Response to: Recognizing Cancel Button over Submit Button (Cohan, Sean) Date: Tue, 10 Sep 2002 08:32:37 -0700 (PDT) From: Ashish Kulkarni <[EMAIL PROTECTED]> Subject: Recognizing Cancel Button over Submit Button Content-Type: text/plain; charset=us-ascii u can use

RE: Recognizing Cancel Button over Submit Button

2002-09-10 Thread Cohan, Sean
n was pressed and perform different actions accordingly? -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 11:33 AM To: Struts Users Mailing List Subject: Re: Recognizing Cancel Button over Submit Button u can use LookupDispatchActi

Re: Recognizing Cancel Button over Submit Button

2002-09-10 Thread Ashish Kulkarni
u can use LookupDispatchAction to find out which button has been clicked see struts1.1-b2 documentation where they haev an example --- "Cohan, Sean" <[EMAIL PROTECTED]> wrote: > I am sure this a newbie question, but how can I > determine that the cancel > button (html:cancel) was clicked instead

Recognizing Cancel Button over Submit Button

2002-09-10 Thread Cohan, Sean
I am sure this a newbie question, but how can I determine that the cancel button (html:cancel) was clicked instead of the submit button (html:submit) using an html:form. They both end up in the same method of my DispatchAction? Thanks. -- To unsubscribe, e-mail: For