Re: cocoon.sendPage and bizData

2006-02-21 Thread Bertrand Delacretaz

Le 21 févr. 06 à 14:57, Angelo Immediata a écrit :


...var bizData = {

name : test,
id : identifier
}

cocoon.sendPage(test.jx, bizData);..


Should be

cocoon.sendPage(test.jx, { bizData : bizData} );

-Bertrand

smime.p7s
Description: S/MIME cryptographic signature


Re: cocoon.sendPage and bizData

2006-02-21 Thread Johannes Textor
Bertrand Delacretaz schrieb:

 Le 21 févr. 06 à 14:57, Angelo Immediata a écrit :

 ...var bizData = {

 name : test,
 id : identifier
 }

 cocoon.sendPage(test.jx, bizData);..


 Should be

 cocoon.sendPage(test.jx, { bizData : bizData} );

 -Bertrand

Sure ? if I get this correctly, it is equivalent to

cocoon.sendPage(test.jx, { name : test, id : identifier } );

so it should work as well ..

Angelo, how does your test.jx file look like ? what do you mean by
internal-only resource ? how does the pipeline look like ?

Johannes

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



Re: cocoon.sendPage and bizData

2006-02-21 Thread Bertrand Delacretaz

Le 21 févr. 06 à 15:17, Johannes Textor a écrit :


...Sure ? if I get this correctly, it is equivalent to

cocoon.sendPage(test.jx, { name : test, id : identifier } );..


Yes, after rereading the question you're right, sorry for the noise.  
So the problem is probably in test.jx.

-Bertrand



smime.p7s
Description: S/MIME cryptographic signature