On Mon, May 4, 2009 at 11:29, Thomas Mortagne <[email protected]> wrote: > Hi devs, > > In 2.0 architecture we have no way currently to print a strongly > formatted text (like JSON) or simply a plain text without XHTML which > we are doing generally using xpage=plain in XWiki 1.0
See http://jira.xwiki.org/jira/browse/XWIKI-3413 for the jira issue > > I propose to use the plain text renderer when xpage=plain and document is 2.0. > > The difference between the two is that in xwiki 1.0, wiki syntax > generates xhtml when plain text renderer don't. But it's just because > XWiki 1.0 does not ave the concept of different renders and the main > goal of xpage=plain is JSON and things like that so this difference is > not important IMO. > > Note that this is about supporting XWiki 1.0 "api", we need a generic > way to indicate the renderer to use in the URL but that's another > subject. For now we have to make xpage=plain works for both 1.0 and > 2.0 content. > > WDYT ? > > -- > Thomas Mortagne > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

