Hi,

In Tapestry 4.0 I was using the following JS in a button's onclick handler
to cancel a form: "this.form.events.cancel()". I believe this has been
replaced with "tapestry.form.cancel(this.form)".

I was using the following JS in another button's onclick handler to refresh
a form: "this.form.events.refresh()". I believe this has been replaced with
"tapestry.form.refresh(this.form)".

(Please correct me if any of the above is wrong)

What javascript can I use to be compatible with both 4.0 and 4.1? Is it
possible?

Thanks,

Daniel

Reply via email to