It is puzzling why you would be using the 'menu' instead of on page links or buttons to submit the form.
There is no way to do it using struts-menu selections w/o javascript as they do not render submit buttons. If your menu is within the <form> </form> block try onclick="document.submit();" Also, you might want to use page instead of location although I don't think that is your issue. Page is for same site references, location is for off site references. Edgar > -----Original Message----- > From: Jack Zakarian [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 7:03 AM > To: '[EMAIL PROTECTED]' > Subject: Struts-Menu onClick & forcing a submit > > > Hi, > > > > I am using Coolmenu4 and setting location to the URL to > execute e.g. location="ServiceInvoice/save.do". > > I found that this does not force a submit so my action form > is not populated. To force a submit I tried the > > onClick e.g. onClick=submitSave('ServiceInvoice/save.do'). > > > > This does not work. The digester that loads the > menu-config.xml doesn't like the parameter with single quotes. > > I tried double quotes and escaped double and single quotes > but no luck. e.g. onClick=submitSave(\"ServiceInvoice\save.do\") > > > > How can I pass a parameter using onClick?. If it is possible > to force a submit using the location, page attribute or other approach > > I would rather do it that way without using javascript. > > > > Any help would be appreciated. > > > > Thanks, > > > > Jack > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]