SOLVED ALREADY
added request.setCharacterEncoding("UTF-8"); near the top of the security
filter
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg79130.html
thanks anyway
--
View this message in context:
http://struts.1045723.n5.nabble.com/LookUpDispatchAction-problem-with-besta
On 9/12/06, fea jabi <[EMAIL PROTECTED]> wrote:
Have a html:text . onchange of the value entered in this field, have to
submit the form.
Using LookupDispatchAction.
LookupDispatchAction checks ALL the resource bundles (and doesn't even
stop when it finds the key). Does anyone see any reason why it can't
use the same mechanism as everything else, or has this been fixed in a
later version?
- Scott
--
just check out in ur struts-config file,
if by mistake u have pressed space or tab after button.valider=valider
even I got the same error once
and this was the mistake
On 4/24/06, DOUILLARD David <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have this error using Lookupdispatchaction
>
> javax.servl
On 4/5/06, Karin Schellner <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using Struts 1.2.7 with the LookupDispatchAction and everything
> works fine, as long as the labels of the buttons (=values of the keys of
> the resourcebundles) are not using special characters. If there are
> special characters
Thanks for the info - I was already using a UTF-8 filter that does the
following (as all my input-fields should accept special characters):
-
request.setCharacterEncoding("UTF8");
chain.doFilter(request, response);
-
but in the meantime, I
Arnaud,
Validator is independent on any actions, it can handle JS validation as
well,
http://66.102.7.104/search?q=cache:4urwhau-PQcJ:struts.apache.org/userGuide/dev_validator.html+struts+validator&hl=en&client=firefox-a
Regards
On 11/3/05, arnaud gonzales <[EMAIL PROTECTED]> wrote:
>
> hello,
>
Hi. arnaud. I hope I understand your question.
Each jsp pages for the lookupdispatchaction should have a page element added:
Then in your validation.xml file have:
name="wizardForm">
the action mappings should look something like this:
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> After googling some more, it seems as though there's no 'elegant' way
> of doing what seems simple on the surface in terms of swapping two
> tags. I think I'm just going to wind up using the ImageButtonBean
> work-around.
>
> Thanks for the lin
After googling some more, it seems as though there's no 'elegant' way
of doing what seems simple on the surface in terms of swapping two
tags. I think I'm just going to wind up using the ImageButtonBean
work-around.
Thanks for the links!
On 10/20/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
http://www.michaelmcgrady.com/button/jsp/dispatch_action.jsp
http://issues.apache.org/bugzilla/attachment.cgi?id=15762
http://struts.sourceforge.net/strutsdialogs/selectaction.html
On 10/20/05, Keith Sader <[EMAIL PROTECTED]> wrote:
> I'm trying to use the LookupDispatchAction with the html:image
From: "Tiller, Volker" <[EMAIL PROTECTED]>
I can't get started with the example about using LookupDispatchAction
of Ted Husted, Tip #3 (http://husted.com/struts/tips/index.html).
What is my error or can I get some working code ?
The 'method' parameter should be set to the _value_ from
App
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> You know, we've really gotten away from what was originally being
> discussed here... we were talking about DispatchActions, and now we're
> talking about redirect-after-post. How did that happen?
Because these are related things. Because
On Mon, July 25, 2005 3:38 pm, Michael Jouravlev said:
> Oh gosh, Frank, can you think more abstractively (is this a proper
> adjective?) It does not really matter, why login page follows welcome
> page, this is merely an *example*. Ok, consider that welcome page *is*
> a login page, but a user cam
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said:
> > Ok, I will use the same use case I used during last weeks :) a login
> > form. Say, you have a welcome page on a website, which directs a user
> > to a login page. How many pages do
On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said:
> Ok, I will use the same use case I used during last weeks :) a login
> form. Say, you have a welcome page on a website, which directs a user
> to a login page. How many pages do you have? I hope your answer is
> two.
I would have said one...
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> > Having same address is important to prevent browser history from
> > growing, thus effectively disabling Back button. This makes
> > application more robust and user experience closer to desktop
> > application.
>
> In my experience, the
On Mon, July 25, 2005 2:32 pm, Michael Jouravlev said:
> DispatchAction allows you to have one mapping for a related set of
> operations. Therefore, you can call different operations for one
> object using the same web address, which is impossible using separate
> actions unless you use filter or s
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> I actually do not use any form of DispatchAction most of the time... very
> rarely will I use anything along those lines. I find it to break the idea
> of separating responsibilities. I prefer to see a well-named Action for
> each actual
On Mon, July 25, 2005 1:55 pm, Michael Jouravlev said:
> Well, I am not sure that Struts can pick up changes in property file,
> though I saw some "Reloadable properties" subproject in Struts
> Applications tree.
You can always force the issue... not a good idea, but it can be done.
You are corre
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> On Mon, July 25, 2005 1:11 pm, Michael Jouravlev said:
> > Having the map right in an action file is easier, faster and does not
> > tie you to a property file, does it?
>
> Just wanted to stick my proboscis in on this particular point (I'
On Mon, July 25, 2005 1:11 pm, Michael Jouravlev said:
> Having the map right in an action file is easier, faster and does not
> tie you to a property file, does it?
Just wanted to stick my proboscis in on this particular point (I've been
following along this whole discussion by the way)...
I vie
On 7/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote:
> starki78 wrote the following on 7/25/2005 2:04 AM:
> > Hi, I've tested both types of actions but I really
> > cannot say which action is better and I don't have the slightest
> > feeling when which action to take.
>
> Without trying to open up
starki78 wrote the following on 7/25/2005 2:04 AM:
Hi, I've tested both types of actions but I really
cannot say which action is better and I don't have the slightest
feeling when which action to take.
Without trying to open up a whole other can of worms since there have
been a bunch of recent
When you have you get a
whatever.x and whatever.y returned as request parameters with x and y
intergers showing the coordinates of the button press on the client.
The simplest code you can have solving the problem is the ones at
www.michaelmcgrady.com and mentioned by Jouravlev recently. I have
Actually the images I use *do* scale automagically. It all depends
upon how sophisticated you are in this sort of thing.
On 6/14/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 6/14/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > If you just want images on the buttons, you can do it with CSS
From: "Rafael Taboada" <[EMAIL PROTECTED]>
> I tried to use css like Wendy said but alt option is missing.
Missing from what? There is an 'alt' attribute for the tag.
Are you trying to get 'hover text' on your submit button? I think that's
the 'title' attribute. If you already have working,
Yep, MSIE is a sucky one. For the following image button:
Firefox generates the following:
method.x=48&method.y=20&method=add
while MSIE generates just the following:
method.x=48&method.y=20
Hmm, how to obtain method name on MSIE? I don't know yet. But
obviously I need to update my DialogAc
> You need to specify method name in "value" attribute. Since it is an
> image, it won't be shown:
>
> value="myProcName" src="myimage.gif" />
>
> The above should produce request like this:
> method.x=51&method.y=16&method=myProcName
Hmm... Seems like MSIE do not add "method=myProcName" for
va
Rafael, first of all, as web developer you should always know what
input your application receives. If you use Firefox, go to their
plugin site and get LiveHTTPHeaders plugin, an invaluable thing. After
you install it, you will be able to trace requests and responses.
To save you time, I can tell
From: "Rafael Taboada" <[EMAIL PROTECTED]>
> altKey="ComprasNuevo.imagen.agregararticulo"
> border="0" property="method" src="../images/Nuevo.png" />
>
> javax.servlet.ServletException: Request[/ComprasNuevo] does not contain
> handler parameter named 'method'.
Did you look at the request parame
I think there are problems with property.x and property.y
Do u know about it? How to solve it?
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Please. Any suggestions?
Do u know about "ImageButtonDispatchAction.java in the archives of
'struts-user '"??? Where can I find it???
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Well my code is like this. In my jsp:
In my Action class I extend LookupDispatchAction. Methods:
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("ComprasNuevo.boton.preagregarArticulo", "preagregarArticulo");
map.put("ComprasNuevo.boton.registrar", "agregarArticulo");
retur
On 6/14/05, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> If you just want images on the buttons, you can do it with CSS and keep the
> (which you already have working):
> http://www.ampsoft.net/webdesign-l/image-button.html
Neat! But images do not scale automatically, I prefer not to use them.
W
Hi,
create a hidden value that has name of the property of your
LookupDispatchAction which is defined in your struts-config.xml . Then
set the necessary value to the property when image is clicked.
All you need is to send a parameter(property in your struts-config.xml )
with necessary value.
hop
Cool... Thanks so much =)
--
Rafael Taboada
Software Engineer
Cell : +511-97753290
"No creo en el destino pues no me gusta tener la idea de controlar mi vida"
From: "Rafael Taboada" <[EMAIL PROTECTED]>
> Hi folks. I'm using LookupDispatchAction in order to manage
> several buttons in a form.
> All work fine, but I want to use html:image instead of html:submit
> Please, do u know how to use that? I don't understand its attributes very
> well.
If you ju
Dakota Jack worked with image buttons: www.michaelmcgrady.com/button
Maybe you find this useful.
On 6/14/05, Rafael Taboada <[EMAIL PROTECTED]> wrote:
> Hi folks. I'm using LookupDispatchAction in order to manage several buttons
> in a form.
> All work fine, but I want to use html:image instead
OkayI figured out what I was doing wrong, so I'm going to post this
FYI out there just in case someone else makes the same mistake I did.
In my form, I had a hidden field with the same name as the parameter
(e.g. methodToCall) defined in my action. After my initialization
action forwarded
How are you setting the value of "dispatch" in your page? A hidden
field? Is it hard-coded or do you set it when the button is clicked.
Is there more than one form in the page such that Enter might be
submitting a different form than you expect? You might need some
javascript to ensure that
Tim Christopher wrote the following on 3/15/2005 1:46 PM:
I have the following code within a jsp:
When the user clicks on the 'Update' button it goes off and updates
the record as you would expect.
The problem I'm having is that every time the user presses the 'enter
key' to submit the form
Hi Toll,
Your observation is correct. If you use LookupDispatchAction for creating
your own action class, and if you specify validate="true" in your
struts-config.xml then Struts will always validate the input regardless
which method in your action class is invoked.
One of the solution is to set
You can do the same thing WITHOUT the parameter values in the
struts-config.xml and the following code:
New
if you what the method to be "new(ActionMapping mapping, ActionForm
form, HttpServletRequest request, HttpServletResponse response) and
you use the following class (with logging changes)
On Fri, 14 Jan 2005 18:01:25 -0200, Flávio Maldonado
<[EMAIL PROTECTED]> wrote:
> Hello...
>
> When I use this tags above, the Button works well, but the Link doesn't
> work.
>
>
> key="button.new"/>
> New
Try the following code below
<%
String message =
org.apache.struts.taglib.TagUtils.
From: "Flávio Maldonado" <[EMAIL PROTECTED]>
> New
>
LDA follows the parameter value back to the property name, and uses the
property name to pick a method. So instead of 'button.new' here, you need
whatever text mapped to in the [usually] ApplicationResources.properties
file. Maybe...
button.n
o the clicked button.
>
>
>
>
> -Original Message-
> From: andy wix [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 10, 2004 2:56 PM
> To: [EMAIL PROTECTED]
> Subject: RE: LookupDispatchAction issue
>
> Hi,
>
> This is now fixed. It
can quite elegantly add an onclick event to
your submit buttons which would set value of "method" to the value related
to the clicked button.
-Original Message-
From: andy wix [mailto:[EMAIL PROTECTED]
Sent: Friday, December 10, 2004 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE:
Hi,
This is now fixed. It was because I didn't have a 'default' method
specified in the form tag. I.e.,
Regards,
andy
_
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger
0, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 08, 2004 8:03 AM
> > To: [EMAIL PROTECTED]
> > Subject: RE: LookupDispatchAction doesn't lookup mapping
> -Original Message-
> From: Dakota Jack [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 11:28 AM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction doesn't lookup mapping
>
>
> Sorry if this is not helpful to you, Jim. Ho
information on this thread is correct.
Jack
On Wed, 8 Dec 2004 09:09:46 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote:
>
>
>
>
> > -Original Message-
> > From: Alexander Czernay [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, December 08, 2004 6
to:[EMAIL PROTECTED]
> > Sent: Wednesday, December 08, 2004 6:14 AM
> > To: Struts Users Mailing List
> > Subject: Re: LookupDispatchAction doesn't lookup mapping
> >
> >
> > Dakota Jack wrote:
> > > My experience is that the computer is always right
> As far as I remember "weiter" is the German word for "forward" - There
> might be a locale issue here.
>
> Hermod
>
>
>
>
> -Original Message-
> From: Alexander Czernay [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 2:1
The code in LookupDispatchAction is:
String key = (String) lookupMap.get(name);
String methodName = (String) keyMethodMap.get(key);
Therefore, if you know what your code is returning as "key" and you
know what your code is returning as "methodName" and if the "key" is
correct, t
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 8:03 AM
> To: [EMAIL PROTECTED]
> Subject: RE: LookupDispatchAction doesn't lookup mapping
>
>
> Hi
>
> You write that : The LookupDispatch
> -Original Message-
> From: Alexander Czernay [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 08, 2004 6:14 AM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction doesn't lookup mapping
>
>
> Dakota Jack wrote:
> > My experi
ue here.
Hermod
-Original Message-
From: Alexander Czernay [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 2:14 PM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction doesn't lookup mapping
Dakota Jack wrote:
> My experience is that the computer is always
Please ignore this message.
-Original Message-
From: Dakota Jack [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 08, 2004 7:47 AM
To: Struts Users Mailing List
Subject: Re: LookupDispatchAction doesn't lookup mapping
My experience is that the computer is always right, so I
Dakota Jack wrote:
My experience is that the computer is always right, so I would look in
my properites file, if I were you, and see whether or not I had
reversed the myButtonForward=go to go=myButtonForward. Did you? I
feel compelled to reiterate that LookupDispatchAction is a fairly poor
exampl
I meant mybutton.forward=go to go=mybutton.forward
On Wed, 8 Dec 2004 04:46:58 -0800, Dakota Jack <[EMAIL PROTECTED]> wrote:
> My experience is that the computer is always right, so I would look in
> my properites file, if I were you, and see whether or not I had
> reversed the myButtonForward=go
My experience is that the computer is always right, so I would look in
my properites file, if I were you, and see whether or not I had
reversed the myButtonForward=go to go=myButtonForward. Did you? I
feel compelled to reiterate that LookupDispatchAction is a fairly poor
example of the code neede
Dakota Jack wrote:
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
The problem is, that only one of those buttons
works, while the other throws a MissingResourceAction. That sounds like
a typo, but the strange thing is, that it tries to lookup the button's
value rat
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
> The problem is, that only one of those buttons
> works, while the other throws a MissingResourceAction. That sounds like
> a typo, but the strange thing is, that it tries to lookup the button's
> value rather than i
> -Original Message-
> From: Susan Bradeen [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 07, 2004 12:07 PM
> To: Struts Users Mailing List
> Subject: Re: LookupDispatchAction doesn't lookup mapping
>
>
> On Tue, 07 Dec 2004 15:54:20 +0100, Alexande
On Tue, 07 Dec 2004 15:54:20 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
> Susan Bradeen wrote:
>
>
>
> >
> >
> >
> >>/**
> >> * Key method for mapping methods to buttons
> >> */
> >>protected Map getKeyMethodMap() {
> >> Map map = new Ha
Susan Bradeen wrote:
/**
* Key method for mapping methods to buttons
*/
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("authors-form.button.create", "create");
map.put("authors-form.button.
On Tue, 07 Dec 2004 12:02:52 +0100, Alexander Czernay
<[EMAIL PROTECTED]> wrote:
> I have a strange problem with LookupDispatchAction:
> I built a form displaying several entries from a db as a list. There are
> several buttons for editing/removing the entries an also two buttons for
> paging thoug
You might want to look at
http://www.michaelmcgrady.com/button/jsp/dispatch_util.jsp.
This would mean, for example, that you could do what you want with the
following code, requiring nothing else:
JSP CODE (changes property="submit" for example, to property="edit.dispatch")
LUDA is just too complex and too outmoded, as Paul says.
However, since you want to use LUDA, I don't get what your problem is.
Can you provide the code?
Here is what I understand: A. you are using javascript to set the
action. B. then you have "separate methods" for each action. You
need to
You can override the execute method in your action and do your common
stuff, then just call super.execute() to let LUDA do it's thing (which
will include dispatching to your action-specific methods, of course).
-- Jeff
Václavík Radek wrote:
Hi,
I wanted to follow best practices and thus using LU
I've come round to Michael McGrady's way of thinking. LUDA is far more
complex than it needs to be.
See http://wiki.apache.org/struts/StrutsCatalogVariousButtonSolutions
Paul
> -Original Message-
> From: Vaclavik Radek [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 04, 2004 1:47 PM
The code has nothing to do with myAction.dispatch. And, the code is
not mine. You have it all wrong: dispatch is not connected to the
action but to the html. There is nothing related to action chaining
inconsistent with any of the alternatives. I don't know what you've
done with the code, but -
Hi Jack,
you are right, it is indeed mixed up - all becuase I
need to support action chaining. So I had to modify
your code a bit 'cus it seems that the simple
MyAction.dispatch can not support my case.
secondly, I just realize that even my
code is wrong becuase 'value=xxx' will be used as
label
Hello, Chu,
You seem to be a bit mixed up. I am not even sure which solution you
are using anymore. However, if you are using the solution at
www.michaelmcgrady.com/button we discussed, then you have this coded
wrong.
First, you should have nothing in the parameter attribute of your
action mapp
problem solved - I made a mistake in the JSP file,
here is the right one to return a parameter for a
submit button:
So in this case, if the Done button is pressed,
'ListPermission.dispatch=done' is sent to the server.
So now I hope I have a complete decoupled, I18N aware
DispatchAction. Tha
I realize that the problem is action chaining.
In my code, action one goes on to the next action - I
persume that the parameters passed to the first action
are still passed on to the next. here the problem
comes in: new parameter is appended at end so
getMethodName always gets the earlier paramete
I notice that your original question had to do with multiple submit
buttons, but that your code here only has one submit button. You
cannot necessarily take a solution for one problem and use if for
others. I don't know about the display tag, so I am not sure if you
are doing the right thing here
You do not have to use the parameter at all to do this. Just use the
name for the submit with .dispatch. Go back to the website I noted to
you and you will see. The DispatchAction there is a complete
substitute not for DispatchAction but for DispatchAction,
LookupDispatchAction and the other oth
hi jack,
thanks, the solution is cool ! I am trying it.
a small problem i am experiencing now is that (i am
not sure if there is something wrong in my
configuration), the parameter on one page is passed on
to the next page, so when we getMethod, the earlier
method name is returned.
I have one 'Se
All of your problems are caused because LookupDispatchAction creates a
reverse mapping from the value of a parameter to its key, in order to
get the method name. This is not only resource intensive but also a
constant source of the sorts of difficulties you are experiencing. You
can find what are
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
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
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
be returned if there is a
> request parameter with name
> >ending in ".x". My understanding of html is that
> only >.../> tags send the x & y coordinates to the server
> in submission.
> >
> >What am I missing?
> >
> >Thanks,
>
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
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
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
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
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
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
--
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
>
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
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"
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
--- Darryl Smith <[EMAIL PROTECTED]> wrote:
> Has anyone got the two to work together?
>
In my ApplicationResources.properties file, I have entries such as:
lookupDispatchParameter=action
button.signin=Sign In
button.image.signin=/images/standardButtons2/signin.gif
My header.jsp file makes t
This may help, although its a modification of DispatchAction not LookupDispatchAction
http://issues.apache.org/bugzilla/show_bug.cgi?id=19925
robert
> -Original Message-
> From: Darryl Smith [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 09, 2004 11:22 AM
> To: Struts Users Mailing List
>
Hmm .. I just tested using a LookupDispatchAction and Firefox 0.9 -- I
found that when I pressed Enter it submitted using the first submit
button defined. That being said, you can override the "unspecified"
method of DispatchAction -- this method will be called instead of a
ServletException bei
The easy answer is that you can have your framework do whatever you want it
to do when it receives a URL. If the URL is directed to the Struts
ActionServlet by your server, you can also code further choices, etc. there.
At 08:33 PM 6/27/2004, Rodney Paul wrote:
Hi All,
I have a problem in regar
lt;[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, June 15, 2004 10:18 PM
Subject: RE: LookupDispatchAction and Form validation + DispatchAction
David,
I too am having a similar concern, albeit, with the DispatchAction
class.
1 - 100 of 106 matches
Mail list logo