Hello,
We have designed a simple tab macro. Sharing it for those who might need
it.
Attached are the files with code that you need to define the macro.
* Macro page space: Macro
* Macro page name: Macro.XWikiMacroTabs (actually you can change
this, but you'll need to update $xwiki.jsx.use('Macro.XWikiMacroTabs')
directive in the MacroObjectDefinition.vm)
* Macro page content:
http://n2.nabble.com/file/n4857504/MacroPage.txt MacroPage.txt
* Js object definition:
http://n2.nabble.com/file/n4857504/JavascriptObjectDefinition.js
JavascriptObjectDefinition.js
* Macro object definition:
http://n2.nabble.com/file/n4857504/MacroObjectDefinition.vm
MacroObjectDefinition.vm
Please reference
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial
WikiMacroTutorial if you've never created a wiki-macro before.
I know that the macro is not perfect (there are several known issues, see
MacroPage.txt), well writing it I have remembered why I like Java and
dislike JS/CSS :).
Yet the macro does the work that we need it to and maybe will be useful
to someone as well.
Regards,
Roman
--
View this message in context:
http://n2.nabble.com/XWiki-Macro-Tabs-tp4857504p4857504.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.