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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to