[xwiki-users] Is there a function like getRenderedContent(String fullName, String action)
Andreas
vonhessling+xwiki.org at gmail.com
Tue Nov 6 19:15:11 CET 2007
Is there a function similar to this ("would it make sense to generate a
function similar to this")
com.xpn.xwiki.api.XWiki.getURL(java.lang.String fullname,
java.lang.String action)
that instead of generating a link gets the rendered content for the
specified content for the given action:
getRenderedContent(String fullName, String action)
I'm trying to render a class instance in the "inline" action context,
in order to display its edit form. I do understand that there is a
function com.xpn.xwiki.XWikiContext.setAction(String action), but I'm
unclear of how I can request a particular Page in the context that I
can set this way. The provided
com.xpn.xwiki.api.Document.getRenderedContent() function does not
allow to specify an action parameter.
I've been trying to find a solution for 10 hours now... maybe I'm just blind :-)
Thanks in advance,
Andreas
More information about the users
mailing list