[
http://jira.xwiki.org/jira/browse/XWIKI-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergiu Dumitriu closed XWIKI-1775.
----------------------------------
Resolution: Won't Fix
Assignee: Sergiu Dumitriu
Rendered content is always the rendered document content, which is always the
same. The content is not influenced by the template used to display it.
viewcomments is a template, so if you need to get what that template would
render, you just have to call $xwiki.parseTemplate("viewcomments.vm")
> Cannot use a different viewer when obtaining rendered content via
> XWikiDocument.getRenderedContent()
> ----------------------------------------------------------------------------------------------------
>
> Key: XWIKI-1775
> URL: http://jira.xwiki.org/jira/browse/XWIKI-1775
> Project: XWiki Core
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 1.1.1
> Reporter: David Ward
> Assigned To: Sergiu Dumitriu
>
> It seems that it is not possible to get the rendered content of a page like
> http://www.xwiki.org/xwiki/bin/view/Main/?viewer=comments using the
> XWikiDocument.getRenderedContent() interface, specifically through the
> XWikiServiceImpl.getDocumentContent() interface, only the regular page
> contents can be obtained.
--
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