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/n4852683/MacroPage.txt MacroPage.txt
* Js object definition:
http://n2.nabble.com/file/n4852683/JavascriptObjectDefinition.js
JavascriptObjectDefinition.js
* Macro object definition:
http://n2.nabble.com/file/n4852683/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
http://n2.nabble.com/file/n4852683/MacroPage.txt 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/Tabs-wiki-macro-tp4852683p4852683.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.