[xwiki-users] Tabs wiki-macro
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.
Hi, You should create an entry in http://code.xwiki.org/xwiki/bin/view/Macros/and publish your macro. Few screen shots would really help :) Thanks. - Asiri On Mon, Apr 5, 2010 at 1:51 PM, coldserenity <[email protected]>wrote:
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. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Asiri Rathnayake -
coldserenity