Thomas,
Be careful that you need to update the jython macro doc on
code.xwiki.org too since it says both macro names can be used I think.
Thanks
-Vincent
On Sep 8, 2009, at 10:08 AM, tmortagne (SVN) wrote:
Author: tmortagne
Date: 2009-09-08 10:08:09 +0200 (Tue, 08 Sep 2009)
New Revision: 23335
Modified:
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-python/src/main/java/org/xwiki/rendering/internal/
macro/python/PythonMacro.java
Log:
XWIKI-2798: Create jython macro for rendering 2.0
* remove "jython" hint until we find a better solution from the
WYSIWYG POV
Modified: platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/
xwiki-rendering-macro-python/src/main/java/org/xwiki/rendering/
internal/macro/python/PythonMacro.java
===================================================================
--- platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-python/src/main/java/org/xwiki/rendering/internal/
macro/python/PythonMacro.java 2009-09-08 06:38:19 UTC (rev 23334)
+++ platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-python/src/main/java/org/xwiki/rendering/internal/
macro/python/PythonMacro.java 2009-09-08 08:08:09 UTC (rev 23335)
@@ -30,7 +30,7 @@
* @version $Id$
* @since 2.0M2
*/
-@Component(hints = {"python", "jython" })
+@Component("python")
public class PythonMacro extends
AbstractJSR223ScriptMacro<JSR223ScriptMacroParameters>
{
/**