Fab Psycho wrote:
Hi,
I've got a transmission problem from class returning a byte[] to a js.
var content;
content=Packages.org.FileManager.read("thefile");
cocoon.sendPage("jx1.jx", {content:content});
-> jx :<content>#{content}</content>
->xsl displays [Ljava.lang.Object;@aaaaaa
Is there a way to convert byte[] to var in js or something ?
Convert it to string in your flowscript
--
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]