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 examples, there are plenty of dispatch actions,
including event one.

Good luck.

On 11/25/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

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
it a
> question of using the properties file?

EventDispatchAction looks for the presence of a request parameter in
order to choose the method to be executed.  It doesn't care what the
button text is.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Yujun Liang
[EMAIL PROTECTED]

Reply via email to