Leszek Gawron wrote:

Have you tried this?:

function someView() {
    var session = obtainSession();
    var data = dao.getData( session );
    cocoon.sendPage( "view/someView.jx",
^^^^^^^^
                     { data: data },
                     function() { session.close(); } );
}

Did you mean "sendPageAndWait" instead ?
According to the doc, "sendPage" has no "postPipelineCode" argoment... neither it should have, IMO, since there is no script suspension.


Regards,

---------------------------
     Luca Morandini
   [EMAIL PROTECTED]
http://www.lucamorandini.it
---------------------------


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



Reply via email to