Hello:
> If the logic is contained in avalon components, you'd need to obtain
> them first (AFAIR cocoon.newInstance(MYCOMPONENT.ROLE)) and release them
> afterwards. Remember to release components before creating a
> continuation, though.
I have a flow script:
var facade = cocoon.getComponent( Packages.....ROLE );
var cmd = cocoon.request.getParameter("cmd");
if ( cmd == "soSomething" ) {
doSomething( facade , form );
form.finish("page/admin.xsp");
} else {
cocoon.sendPageAndWait("page/admin.xsp");
}
The Avalon component is a business facade which sends messages to the logic and
delivers objects to the GUI. Where in this script do I have to realease the component
(and how?) ?
And, by the way, is that a recommended approach?
Thank you for your help.
Bastian
______________________________________________________________________________
Ein Grund zum Feiern: Die PC Praxis ermittelt zwischen 10 grossen
Mailprovidern WEB.DE FreeMail als Testsieger http://f.web.de/?mc=021190
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]