I am using the confirm functionality as a component and am having similar problems. Confirm does not work with the linkSubmit component. It is currently a major bug in my app.
Zack Tan cyb...@n wrote: > > hi, > > i'm a newbie in tapestry. may i know is it possible to do like: > > <t:actionlink t:zone="zoneFormView" t:id="toolbarDel" t:context="${id}" > onclick="if(!confirm('Are you sure want to delete?')) return > false;"><button> images/deleteRecord24.png </button></t:actionlink> > > I have tried to put in <button> as well, but after choose cancel. it will > still submit. May i know how to avoid the postback? > Thank you. > > Tan > > -- View this message in context: http://www.nabble.com/Confirm%28%22are-you-sure-want-to-delete%22%29-in-%3Caction-link%3E-tp20968491p20971604.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org