On Wed, Feb 24, 2010 at 18:19, Anamaria Stoica <[email protected]> wrote: > Hi devs, > > I'm proposing we add the following method: > DocumentReference getEntityReference(); > > to org.xwiki.rendering.macro.wikibridge.WikiMacro. > > This way we'll have a simple way to retrieve the wiki Document having > the corresponding > XWiki.WikiMacroClass xObject attached.
It mainly depends if we want to make the entity part of the wiki macro definition. I guess it's ok since if it's not a part of the wiki macro definition then it's not more than a Macro. So +1 for me. > > Thanks, > Anamaria > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

