Michael, i`d preffer to do it the way i described.
Having all "submit" buttons with the it`s name beeing
"method" por exemplo, and then checking if the return
of getName() is null. If it is -> 
String methodName request.getParameter("method") 

dipatchMethod(..., methodName); 



 --- Michael McGrady <[EMAIL PROTECTED]>
escreveu: 
> I just assumed on the wiki that people would extend
> to submit as follows:
> 
> <html>
>     <form method='get' action='test.html'>
>       <input type='hidden' name='poo' value='oop'>
>         <input type='submit' name='add.x'
> value='add'>
>         <input type='submit' name='delete.x'
> value='delete'>
>     </form>
> </html>
> 
> I will amend the wiki to reflect that possibility. 
> This just mimics the 
> functionality of the <input type='image'> tag.
> 
> Michael
> 
> Paul McCulloch wrote:
> 
> >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]
> >
> >
> >
> >
> >  
> >
> 
> 
> 
>
---------------------------------------------------------------------
> 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]

Reply via email to