Jean-Vincent Drean wrote:
> On Sun, Nov 16, 2008 at 3:56 AM, SVN sdumitriu
> <[EMAIL PROTECTED]> wrote:
>> Author: sdumitriu
>> @@ -376,9 +372,10 @@
>>      * @return the given text rendered in the context of this document
>>      * @deprecated since 1.6M1 use [EMAIL PROTECTED] 
>> #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.xwiki.products$xwiki-enterprise-test-xmlrpc/1574/testReport/
> 
> 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.

I didn't deprecate it, it was there before (rev. 11285). Vincent?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to