Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Jim Barrows
> -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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
: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, so I > > would look in > > > my properites file, if

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
> 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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Jim Barrows
> -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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Jim Barrows
> -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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread hermod . opstvedt
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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Bala . Paranj
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Alexander Czernay
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Dakota Jack
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-08 Thread Alexander Czernay
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
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

RE: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Jim Barrows
> -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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Susan Bradeen
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Alexander Czernay
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.

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Susan Bradeen
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

Re: LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Dakota Jack
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")

LookupDispatchAction doesn't lookup mapping

2004-12-07 Thread Alexander Czernay
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 though the list. The problem is, that only one of those buttons works, while the other thro