The button-names are not a problem because you can always reuse a name. I use the following notation.
button.add=Add button.add.person=Add Person button.add.persons=Add Person(s) button.edit=Edit button.edit.person=Edit Person etc... This allows for me to reuse the submit button names on various forms with the LDA. Brandon Goodin Phase Web and Multimedia PO Box 85 Whitefish MT 59937 P (406) 862-2245 F (406) 862-0354 [EMAIL PROTECTED] http://www.phase.ws -----Original Message----- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 6:44 PM To: 'Struts Users Mailing List' Subject: RE: Design Idea: FormBasedDispatchAction Jeff wrote > Just store the mappings between submit buttons and methods in the > ApplicationResources.properties file along with everything else, and > then extend LDA in such a way that it looks in there to figure out which > method to invoke. LDA already does that, you don't need to extend it. Just add the 'parameter' attribute to the <action> tag, make your action extend LookupDispatchAction, and implement the getKeyMethodMap method. The duplicate button-names you mention could be a problem! I never thought of that, but haven't run into it yet. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

