I gues the point of the ImageTagUtil class is specially for use with "submit" image buttons. However you can do build your wokraround for use in any cases. In my case for example, here`s what i do.
In my application, i decided to make of my submissions that go for Actions must have the parameter "method=nameOfMethodToBeCalled" in the cases the submissions don`t came from image buttons. Then i if the ImateTagUtil class returns null for the name of the button, i get the parameter "method" and dispatches to the specific method. --- Paul McCulloch <[EMAIL PROTECTED]> escreveu: > I'm confused. Looking at the wiki (ImageTagUtil > class) it seems that a non > null command will only be returned if there is a > request parameter with name > ending in ".x". My understanding of html is that > only <input type="image" > .../> tags send the x & y coordinates to the server > in submission. > > What am I missing? > > Thanks, > > Paul > > > > -----Original Message----- > > From: Michael McGrady > [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 27, 2004 2:54 PM > > To: Struts Users Mailing List > > Subject: Re: LookupDispatchAction (Newbie) > > > > > > Paul McCulloch wrote: > > > > >Am I right in thinking that your solution works > for image > > buttons, whereas > > >the LookupDispatchAction is for text labeled > buttons? > > > > > >Paul > > > > > > > No, my solution works for both, Paul. The code > mined is decoupled > > entirely from the display. > > > > Michael > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > ********************************************************************** > Axios Email Confidentiality Footer > Privileged/Confidential Information may be contained > in this message. If you are not the addressee > indicated in this message (or responsible for > delivery of the message to such person), you may not > copy or deliver this message to anyone. In such > case, you should destroy this message, and notify us > immediately. If you or your employer does not > consent to Internet email messages of this kind, > please advise us immediately. Opinions, conclusions > and other information expressed in this message are > not given or endorsed by my Company or employer > unless otherwise indicated by an authorised > representative independent of this message. > WARNING: > While Axios Systems Ltd takes steps to prevent > computer viruses from being transmitted via > electronic mail attachments we cannot guarantee that > attachments do not contain computer virus code. You > are therefore strongly advised to undertake anti > virus checks prior to accessing the attachment to > this electronic mail. Axios Systems Ltd grants no > warranties regarding performance use or quality of > any attachment and undertakes no liability for loss > or damage howsoever caused. > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]