cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@apache.org>
Subject toSource() function missing from FlowScript ?
Date Tue, 14 Nov 2006 11:46:43 GMT
Hi All

On the Users list :

     http://marc.theaimsgroup.com/?l=xml-cocoon- 
users&m=116114940529489&w=2

We were having a discussion about the easiest way to send FlowScript  
Objects as JSON data to the client.

I suggested using the Object.toSource() function explained here :

     http://developer.mozilla.org/en/docs/ 
Core_JavaScript_1.5_Reference:Global_Objects:Object:toSource

TBH I had not actually tried it when I sent that advice, now I am  
trying it, I find that toSource() is not implemented in the version  
of Rhino used in FlowScript.

According to the docs above, toSource was added in Javascript 1.3.

Can anyone explain what is going wrong ?

thanks

regards Jeremy

Mime
View raw message