cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: byte[] display
Date Fri, 20 May 2005 08:10:21 GMT
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                                      lgawron@mobilebox.pl
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message