Hi, TableMacro and TableBuilder is the right track However I don't think creating {table style="foo"} is right. I think you should go for {table:class=mystyle} which should add "mystyle" in the class added to the html <table tag in the Table.java (currently provided by radeox) http://fisheye.codehaus.org/viewrep/radeox/main/trunk/src/java/org/radeox/ma... If your modifications are different, I'd suggest to add them as improvements to the {table:} radeox tag instead of a rewrite of this macro. This way we can reintegrate them in the XWiki source Ludovic Adrian Hall a écrit :
Hi,
Relevant Stats:
Fedora Core 4 / JBoss 4.0.4 / XWiki 0.9.840 / MySQL 5.0
I want to be able to introduce a new tag – like {table}, but with a different style. {table style=”foo”} as an extension would be good.
I found things like TableMacro, TableBuilder, as starting points but could not find Table.java (which they use).
So, two questions
1) Am I on the right track with the TableBuilder and Table classes?
2) Is there docs on how to include a new macro (via a plugin, perhaps?)
-Adrian
*Adrian Hall*
Sr. Product Line Manager
Technology Partnerships
[email protected] <mailto:[email protected]>
Ph: (408) 667-4977
MSN: [email protected]
Skype: adrianhall
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic