You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "suraj.ratnaparkhi" <su...@yahoo.com> on 2012/04/23 09:10:16 UTC

Re: Submit button with listener and onclick event

There is an another alternative for what you are trying to do. You can assign
js function for *button onclick even*t and for* tapestry listener* you can
add it in *form* tag as *listener=ognl:listeners.listener-name*. For this
you should add *document.getElementById("formId").submit()* in your js
function.

This will work for sure. I have tried and tested this.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Submit-button-with-listener-and-onclick-event-tp2397406p5658526.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org