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?
Regards, Jim Jim Gallagher, New BACS Team, Domestic Payments, Payments, Security & Fraud, Royal Bank of Scotland, Parkgate Business Park, Parkgate Street, Dublin 8. RBS Depot Code: DUB ITS: 7-4171-7167 External: +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 there something else obvious I'm doing wrong? First, EventDispatchAction is a *much* better choice. Please use that instead. http://struts.apache.org/1.2.9/api/org/apache/struts/actions/EventDispatchAc tion.html (LDA does a reverse lookup from button text to property name and then (in the key method map,) from property name to method name. You didn't show the .properties file, but I doubt your getKeyMethodMap method is correct as written. Compare it to the one in the Javadoc.) -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The Royal Bank of Scotland plc, Registered in Scotland No. 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Authorised and regulated by the Financial Services Authority. This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]