Hi
I have implemented a LookupDispatchAction action class to deal with a form that
contains multiple submit buttons as outlined in the sample chapter from "The Struts
Survival Guide" at http://www.objectsource.com/Chapter4.pdf I've got everything
working but I would be grateful if someone could
A quick look at the DispatchAction source (if you
don`t have the source, you can download it) would the
best way for you to understand. It`s not that
complicated.
I never took a detailed look at the source, but
basically, it gets the mapping for the method
specified in struts-config.xml and then g
http://struts.apache.org/api/org/apache/struts/actions/LookupDispatchAction.html
Bill Siggelkow
Varley, Roger wrote:
Hi
I have implemented a LookupDispatchAction action class to deal with a form that contains multiple submit buttons as outlined in the sample chapter from "The Struts Survival Guide"
Once you see how LookupDispatchAction works, you should also see that it
is an unnecessarily complicated solution. Try
http://wiki.apache.org/struts/StrutsCatalogMultipleImageTagsSimplified
which shows that all you have to do is:
String button = null;
Enumeration enum = request.getParame
st
> Subject: Re: LookupDispatchAction (Newbie)
>
>
> Once you see how LookupDispatchAction works, you should also
> see that it
> is an unnecessarily complicated solution. Try
> http://wiki.apache.org/struts/StrutsCatalogMultipleImageTagsSi
> mplified
>
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
--
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
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: St
om: 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 t
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 fo
Leandro Melo wrote:
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.
This is way too complicated, Leandro. Just do the following and use the
solution I
>
> >Paul
> >
> >
> >
> >
> >>-Original Message-
> >>From: Michael McGrady
> [mailto:[EMAIL PROTECTED]
> >>Sent: Friday, August 27, 2004 2:54 PM
> >>To: Struts Users Mailing List
> >>Subject:
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 solu
Doh!
Cheers,
Paul
> -Original Message-
> From: Michael McGrady [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 27, 2004 3:23 PM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction (Newbie)
>
>
> I just assumed on the wiki that people woul
23 PM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction (Newbie)
I just assumed on the wiki that people would extend to submit
as follows:
I will amend the wiki to reflect that possibility. This just
mimics the
functionality of the tag.
Michael
15 matches
Mail list logo