On Jul 5, 2009, at 4:32 PM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2009-07-05 16:32:57 +0200 (Sun, 05 Jul 2009)
> New Revision: 21829
>
> Added:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/pom.xml
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/
> macro/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/
> macro/footnote/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/
> macro/footnote/FootnoteMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/internal/
> macro/footnote/PutFootnotesMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/macro/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/macro/
> footnote/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/java/org/xwiki/rendering/macro/
> footnote/FootnoteMacroParameters.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/resources/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/resources/META-INF/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/main/resources/META-INF/components.txt
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/java/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/java/org/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/java/org/xwiki/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/java/org/xwiki/rendering/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/java/org/xwiki/rendering/
> RenderingTests.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/resources/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/resources/macrofootnote1.test
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
> rendering-macro-footnotes/src/test/resources/macrofootnote2.test
> Modified:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/pom.xml
> Log:
> XWIKI-4065: New Footnote macro
> Done.
>
> More functional tests need to be added.
[snip]
> +/**
> + * Generate footnotes, listed at the end of the page. A reference
> to the generated footnote is inserted at the location
> + * where the macro is called.
> + *
> + * @version $Id$
> + * @since 2.0M2
> + */
> +...@component(FootnoteMacro.MACRO_NAME)
> +public class FootnoteMacro extends
> AbstractMacro<FootnoteMacroParameters>
> +{
> + /** The name of this macro. */
> + public static final String MACRO_NAME = "footnote";
> +
> + /** The description of the macro. */
> + private static final String DESCRIPTION = "Genereates a
> footnote to display at the end of the page.";
typo: generates
[snip]
Thanks
-Vincent
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs