PERINAUD Christophe wrote: > Hello all > > I create a page that will generate a statistics table. I would like to write > this table in a page. How i can do that ? > I tried this : > $document.setContent("{table}Date|Start|End|Duration \n > 20090616|1|2|3 \n{table}") > > But the result is : > Date Start End Durationn 20090616 1 2 3 n > > What i would like in my page is > {table} > Date|Start|End|Duration > 20090616|1|2|3 > {table} > > Any idea ?
Try using ${util.newline} instead of \n -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users