Hi,
I'm wondering if there is a good strategy to create a popup window after
a successful form submit. The concept here is to popup a Voucher/Coupon
window for the user if they complete a successful purchase.
I've researched the basics of the concept in terms of HTML forms. You
can run some Javascript to open a new window on submission of an HTML
form. I'd like to be able to limit this functionality to only occur if
the transaction is successful, in other words after the onSuccess method
has run. Is there any means to fire javascript at this stage before a
page refresh, or should I be looking rather at persisted fields and
conditionally executing the javascript on page rending after the
onSuccess method invokes a re-render of the page?
Looking at the Event constants in the tapestry.js, I didn't immediately
see an event beyond prepare/validate for forms that I might observe.
Thanks,
Rich
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org