In show case there are, it is quite simple (not AJAX technically, but
javascript)
dojo.event.topic.subscribe("/topics", function(data, type, event)){
if (type == "before") {
//do something
//to cancel set event.cancel = true;
}
});
On 5/25/07, Roger Varley <[EMAIL PROTECTED]> wrot
On 25/05/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
Use "notifyTopics" instead.
I've been trying to do this for ages (display a confirmation dialog
when the user is about to do something irrevokable) and it never
occured to me to use Ajax :-( Is there any example code anywhere?
Regards
R
Use "notifyTopics" instead.
musachy
On 5/25/07, Pedro Herrera <[EMAIL PROTECTED]> wrote:
Hi, I´d like to show a warning message(alert) before erase a record .
Is preInvokeJS deprecated ? I have to use : executeScripts="true" ? I need
an example to do this ...
Thanks
--
View this
Hi, I´d like to show a warning message(alert) before erase a record .
Is preInvokeJS deprecated ? I have to use : executeScripts="true" ? I need
an example to do this ...
Thanks
--
View this message in context:
http://www.nabble.com/preInvokeJS-in-s%3Asubmit-tf3815757.html#a10801
4 matches
Mail list logo