You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jack Zakarian <jz...@welchpartners.com> on 2003/03/17 13:02:41 UTC
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
Newbie....need DB examples
Posted by Niket Anand <ni...@noida.manystreams.com>.
Hello All,
I have just started Struts in my project. I need simple DB examples in
Struts that can fetch some data, update, and delete that data from database
(like sqlserver).
Please send link or attachment such that it would be easy to move ahead
Waiting for reply
Niket
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org