Still, making the table macro more flexible would be
very valuable
imho. In particular I'd like a way to set the widths of the columns...
or can this be done already?
On 01/06/06, Adrian Hall <ahall(a)mirapoint.com> wrote:
Actually, you gave me just the pointer I need. If
I add a style block
within the page (import a style sheet) which defines CSS style
wiki-table,
table-odd and table-even, then I get the required effect.
Thanks for the pointer.
-Adrian
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.com]
Sent: Thursday, June 01, 2006 6:24 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] New {table} types?
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/
macro/table/Table.java?r=9
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
ahall(a)mirapoint.com <mailto:ahall@mirapoint.com>
Ph: (408) 667-4977
MSN: ahall(a)mirapoint.com
Skype: adrianhall
--
You receive this message as a subscriber of the xwiki-
users(a)objectweb.org mailing
list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?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
--
You receive this message as a subscriber of the
xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: