callback + onClick

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

callback + onClick

Hilaire Fernandes-4
In the following example the callback is not called.

And no, it is not because the dialog is closed.

html anchor
    callback: [Transcript show: 'hello';cr];
    onClick: 'JavaScript:window.close()';
    with: 'Fermer'].

How should it be done to get execution both server and client side?

Hilaire

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: callback + onClick

Lukas Renggli
>  How should it be done to get execution both server and client side?

Only use the callback and use "self session
closePopupWithoutReloadingOpener" as the last expression within the
callback.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside