Since this is at issue, I would suggest that you not use LookupDispatchAction at all. It is clever but too convoluted. There are better solutions. See http://www.michaelmcgrady.com/button/ and http://www.michaelmcgrady.com/button/jsp/button_talk.jsp . As always, I recommend DispatchUtil in the options presented.
Jack On Fri, 10 Dec 2004 16:14:47 +0100, Vadim Petrenko <[EMAIL PROTECTED]> wrote: > I would suggest not doing it like that, define a hidden property instead, > otherwise one day when you decide to debug your page and add method="get" to > the form tag (attribute, not parameter) you'd be surprised that it doesn't > work. > > <html:form action="modifyOutgoingMessage"> > <nested:hidden property="method" value="save"/> > > Also with this construction you can quite elegantly add an onclick event to > your submit buttons which would set value of "method" to the value related > to the clicked button. > > > > > -----Original Message----- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Friday, December 10, 2004 2:56 PM > To: [EMAIL PROTECTED] > Subject: RE: LookupDispatchAction issue > > Hi, > > This is now fixed. It was because I didn't have a 'default' method > specified in the form tag. I.e., > > <html:form action="modifyOutgoingMessage?method=save"> > > Regards, > andy > > _________________________________________________________________ > It's fast, it's easy and it's free. Get MSN Messenger today! > http://www.msn.co.uk/messenger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "You can't wake a person who is pretending to be asleep." ~Native Proverb~ "Each man is good in His sight. It is not necessary for eagles to be crows." ~Hunkesni (Sitting Bull), Hunkpapa Sioux~ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]