cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H.vanderLin...@MI.unimaas.nl
Subject info wanted on broken continuations
Date Mon, 05 Apr 2004 09:23:55 GMT
Hi,

Could someone please explain what happens when I have a flowscript that
allocates components and the user breaks it off before the script finishes
and releases the component?

Sample script:

function doSomething() {
var comp = cocoon.createComponent(Packages.blabla.myComponent.ROLE);
var form = new Form("myForm");
var data = comp.getInfo();
form.load(data);
form.show("myForm-template");
form.save(data);
comp.saveInfo(data);
cocoon.releaseComponent(comp);
cocoon.redirectTo("other-pipeline");
}

If the "myForm-template" shows a menu and the user selects a menuitem rather
than the submit box, what happens with the script, the continuation and the
allocated component? In other words, do I get a memory leak?

Bye, Helma

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message