• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

The documentation says that Table attributes can be set and overridden in this order:
and follows Before a table using %TABLE{...}%

But a test case shows the settings are not used:

%TABLE{}%
<table width="100%">
<tr><th>Header</th></tr>
<tr><td>kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds</td></tr>
<tr><td>kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds</td></tr>
<tr><td>kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds</td></tr>
<tr><td>kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds</td></tr>
</tr>
</table>

gives:

Header
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds

I would expect to see a header background and alternate data row backgrounds.


It means "*by* using %TABLE" (SVN 7725). You need to write:
%TABLE{tableborder="10" databg="red,white,blue"}%
| *Header* |
| kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds |
| kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds |
| kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds |
Header
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds
kjdhfk hf ksjhf slkdfj lkdsfj lskfj lskdfj lskfj lsdkjf lds

The table attributes are set appropriately; it looks like pattern skin (or something else) is getting inthe way of correct rendering, though. Try viewing http://svn.twiki.org/do/view/Bugs/Item1108?skin=classic

CC

The table rendering inside a TWikiForm seems to be broken with pattern. -- AC


Fixed in SVN 7741.

AC

ItemTemplate
Summary TablePlugin settings are not used when before a table using %TABLE{...}%
ReportedBy ArthurClemens
Codebase

SVN Range Fri, 02 Dec 2005 build 7717
AppliesTo Extension
Component TablePlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins 7725 7741
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-12-03 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback