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

Item3770: EditRowPlugin dev

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

I just tried the first example twice in the same topic:

%EDITTABLE{ format="| row, -1 | text, 20, init | select, 1, one, two, three, four | radio, 3,:-),:-I,:-( | label, 20, %SERVERTIME{"$day $m
on $year $hour:$min"}% |" changerows="on" quietsave="on" }%
|*Nr*|*Text field*|*Drop down*|*Mood*|*Timestamp*|
| 1 | hello table | one | :-) | 26 Jun 2002 12:30 |
| 2 |  | two | :-( | 27 Jun 2002 12:40 |

%EDITTABLE{ format="| row, -1 | text, 20, init | select, 1, one, two, three, four | radio, 3,:-),:-I,:-( | label, 20, %SERVERTIME{"$day $m
on $year $hour:$min"}% |" changerows="on" quietsave="on" }%
|*Nr*|*Text field*|*Drop down*|*Mood*|*Timestamp*|
| 1 | hello table | one | :-) | 26 Jun 2002 12:30 |
| 2 |  | two | :-( | 27 Jun 2002 12:40 |

When I press edit+save the resulting topic looks like this

%EDITTABLE{format="| row, -1 | text, 20, init | select, 1, one, two, three, four | radio, 3,:-),:-I,:-( | label, 20, %SERVERTIME{"}%
| *Nr* | *Text field* | *Drop down* | *Mood* | *Timestamp* |
|  | hello table | one | :-) | 26 Jun 2002 12:30 |
| 2 |  | two | :-( | 27 Jun 2002 12:40 |


TWiki::Plugins::EditRowPlugin::Table=HASH(0x90ce684)

So two errors on one strike:

  1. the EDITTABLE tag breaks due to the SERVERTIME tag inside
  2. the pointer of the second table, not its content, is inserted back into the topic

-- TWiki:Main/MichaelDaum - 15 Mar 2007

various problems including the above have been reolved on this report, so changing the headline.

Outstanding issues are data loss when editing wide tables and lack of sorting support.

CC

Client asked to be able to edit entire table. Easier to extend this plugin than to make it work with EditTablePlugin.

CC

Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r18 - 2007-04-11 - CrawfordCurrie
 
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