EditRowPlugin sensitive to TABLE tag placement.
I tried
EditRowPlugin and could not make it work until I noticed that this works
%TABLE{dataalign="center,left,left" columnwidths="10%,45%,45%"}%
%EDITTABLE{format="|text,10|text,50|text,30|"}%
| *Conversion Specifier* | *Description Before* | *Description After* |
| %a | The abbreviated weekday name according to the current locale. | Keep as is |
| %A | The full weekday name according to the current locale. | Keep as is |
| g | fdsafdsaf | dsaffds |
This does not work. It works with normal
EditTablePlugin.
%EDITTABLE{format="|text,10|text,50|text,30|"}%
%TABLE{dataalign="center,left,left" columnwidths="10%,45%,45%"}%
| *Conversion Specifier* | *Description Before* | *Description After* |
| %a | The abbreviated weekday name according to the current locale. | Keep as is |
| %A | The full weekday name according to the current locale. | Keep as is |
| g | fdsafdsaf | dsaffds |
To be able to replace
EditTablePlugin with
EditRow both have to work because existing topics will have been made both ways.
--
TWiki:Main/KennethLavrsen
- 19 Oct 2007
The
EditTablePlugin doc states:
Add a %EDITTABLE{...}% variable just before an existing table to make it editable, or add the variable anywhere in a topic to start a new table
Now, I may just be being thick for the sake of it, but that says to me that an EDITTABLE tag that has anything between it and the actual table classes as being "anywhere in a topic" and not "just before an existing table".
This sort of vague and imprecise specification is what continuously plagues us. I guess the doc
should say:
Add a %EDITTABLE{...}% variable just before an existing table (or %TABLE) to make it editable, or add the variable anywhere in a topic to start a new table
--
CrawfordCurrie - 20 Oct 2007
I changed the rules to associate the tag with the next table in the topic, irrespective of what intervenes.
CC