Bruyn Bill wrote:
Actually, I started that way. The problem I have is that
theFunctionBehindFormsServerFlow needs the continuation id created by
sendPageAndWait, before it sends the page. So
function otherFunction( dom ) {
//var data = processMyDom( dom );
//cocoon.sendPageAndWait( data );
//looks more like
var output = client.renderForm(
//a bunch of parameters +
continuationID + ".kont",
);
//and then i serialize a byte array obtained from the response.
cocoon.sendPage("result.pdf", {pdf: output.getOutputContent()});
}
what about:
var kont = cocoon.sendPageAndWait( data );
var output = client.renderForm ( kont.id + ".kont" );
?
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]