Nicolas Bielza wrote:

Well, when I say that they "work", I mean that they are interpreted and
not ignored. I'm not sure that they actually "work", since they don't
seem to wait for the view to be rendered. (but maybe this is by
design..)


Try this:

function someFunction() {

   var session = ...
   ...

   cocoon.sendPage(...);

catch (return) {
// after calling the view layer but before control // leaves the interpreter
}
}


Note, the catch is not associated with a try.

This came of the previously referenced http://wiki.cocoondev.org/Wiki.jsp?page=RhinoWithContinuations
but that page is pretty frightening.


Hope this helps.

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to