• 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.

Item4861: EditRowPlugin sensitive to TABLE tag placement.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditRowPlugin Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

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

ItemTemplate
Summary EditRowPlugin sensitive to TABLE tag placement.
ReportedBy TWiki:Main.KennethLavrsen
Codebase ~twiki4
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15355 TWikirev:15371
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r5 - 2007-10-21 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback