Jim,
You need an resource.properties file define in Message resources section of
the struts config file. When made getMethodMap, you need to use the key in
the resource file as the key for the map, the value of the method name in
your extended LookupDispatchAction.
You can refer to Struts exampl
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote:
Thanks, that sounds just like what I'm looking for, except for one thing: I
need meaningful multi-word labels on the buttons, but it looks to me like
the parameter for EventDispatchAction can't cope - is this true, or is
+353-1-648 7167
Internet mail: [EMAIL PROTECTED]
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: 24 November 2006 15:04
To: Struts Users Mailing List
Subject: Re: Problem using LookupDispatchAction
*** WARNING : This message originates from the Internet ***
On 11/24/06, Gallagher, Jim (RBoS ITD&S Dublin) <[EMAIL PROTECTED]> wrote:
I've persuaded my project team to upgrade from Struts 1.1 to Struts
1.2.9, simply to allow use of the LookupDispatchAction. However, it's not
working correctly for me. Have I misunderstood the requirements, or is
Don't bother with this. This is just the purloined nutso version. Try the
original which is simple and works at www.michaelmcgrady.com.
On 11/30/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> >
Michael Jouravlev wrote:
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote:
Hi,
I have a problem using LookupDispatchAction. I already tried
looking for the solution on Google, this list archive and other
resources but I wasn't able to fix the problem. Maybe some
In your url you have acao=comando.pesquisar, I have always used the
form where acao=Pesquisar or the value of the key in the map. Also
are you sure that your Constants class is providing the Map to the
LookupDispatchAction?
Matt Morton
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECT
I have the following key-value mappings in the .properties file
(keys and values in Portuguese, I know all of you know Portuguese
:-)).
comando.pesquisar=Pesquisar (search)
comando.editar=Editar (edit)
comando.salvar=Salvar (save)
comando.iniciar=iniciar (init, used as default entry point)
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a problem using LookupDispatchAction. I already tried
> looking for the solution on Google, this list archive and other
> resources but I wasn't able to fix the problem. Maybe some of you can
> help me.
On 11/30/05, Matheus Eduardo Machado Moreira <[EMAIL PROTECTED]> wrote:
> My action extends LookupDispatchAction and implements the
> getKeyMethodMap() method. In my ApplicationResources.properties file I
> define all the keys for the buttons that can be shown in my
> interfaces. Everything see
10 matches
Mail list logo