NeverMind. Brain freeze. -----Original Message----- From: Cohan, Sean [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 10, 2002 2:57 PM To: 'Struts Users Mailing List' Subject: Tip #1
Should we be extending ActionForm for this tip? I'm guessing yes since the sample Action code was listed as: String selected = ((myForm) form).getSelected(); if (Constants.CANCEL.equals(selected)) ... -----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/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 requirements though. Regards, Eddie Cohan, Sean wrote: >Thanks, but what if I want to use html:image and don't want the bean:message >tag to display text on the page? > >I should have mentioned that in the first email. What I really is two image >buttons within the same form. Can I have them go to the same action class >where I can know which button was pressed and perform different actions >accordingly? > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>