On Sun, Nov 16, 2008 at 3:56 AM, SVN sdumitriu
<platform-notifications(a)xwiki.org> wrote:
Author: sdumitriu
@@ -376,9 +372,10 @@
* @return the given text rendered in the context of this document
* @deprecated since 1.6M1 use {@link #getRenderedContent(String, String)}
*/
+ @Deprecated
public String getRenderedContent(String text) throws XWikiException
{
- return doc.getRenderedContent(text, getXWikiContext());
+ return this.doc.getRenderedContent(text, getXWikiContext());
}
We currently have 6 pages using this method in XE wiki :
http://hudson.xwiki.org/job/xwiki-product-enterprise-test-trunk/com.xpn.xwi…
WWYT about un-deprecate this method and make it return
getRenderedContent(text, getSyntaxId()); ? Seems logical to me since
this is what we would do from velocity.