[ 
http://jira.xwiki.org/jira/browse/XE-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vincent Massol closed XE-197.
-----------------------------

    Resolution: Fixed

Done. FWIW here's the code I 've used:

{code:none}
$context.setCacheDuration(100000)
#set ($content = 
$xwiki.getURLContent("http://svn.xwiki.org/svnroot/xwiki/xwiki-products/xwiki-enterprise/trunk/wiki/src/main/resources/XWiki/XWikiSyntax";))

#set ($newdoc = $xwiki.getDocument("Dummy"))
#set ($newdocprivate = $newdoc.getDocument())
$newdocprivate.fromXML($content)

$xwiki.getXWiki().getRenderingEngine().getRenderer("velocity").render($newdoc.content,
 $doc.getDocument(), $doc.getDocument(), $context.getContext())
{code}


> Include the XWiki Syntax page in the default wiki rather than link to the 
> live xwiki.org web site
> -------------------------------------------------------------------------------------------------
>
>                 Key: XE-197
>                 URL: http://jira.xwiki.org/jira/browse/XE-197
>             Project: XWiki Enterprise
>          Issue Type: Improvement
>          Components: Help Application
>    Affects Versions: 1.3 M2
>            Reporter: Vincent Massol
>         Assigned To: Vincent Massol
>             Fix For: 1.3 RC1
>
>
> Right now a pop up is opened with the content being rendered from xwiki.org. 
> However if the user is in offline mode he won't be able to see the syntax.
> OTOH we don't want to duplicate the syntax page on xwiki.org so I suggest 
> also to write some script code on xwiki.org to take the XML from SVN 
> (pointing to the syntax page) and convert it to content of the fly.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to