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

Item4970: Problem using spreadsheet calculations in select field for EDITROWPLUGIN

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

Hi,

I've discovered a problem with the EDITROWPLUGIN when using spreadsheet calculations in the select field. I've often created a list of items using a hidden table, then set them into a variable. Then in the select field of the plugin I would use the get command to get the list of items. See below for a sample setup.

| item1 |
| item2 |
| item3 |
| %CALC{$SET(mylist, $LIST($ABOVE()))}% |

 %EDITTABLE{ format = "|select, 1, %CALC{$GET(mylist)}%|" }%
| item1 |

The %CALC{$GET(mylist)}% doesn't convert properly and breaks the table. Would appreciate if this could be fixed as this technique is heavily used at our site.

-- TWiki:Main/JeffCrawford - 14 Nov 2007

I removed the beforeCommonTagsHandler that was causing the issue, but I'm slightly nervous that it was there for a reason. However all my testcases pass, so.....

-- CrawfordCurrie - 13 Dec 2007

ItemTemplate
Summary Problem using spreadsheet calculations in select field for EDITROWPLUGIN
ReportedBy TWiki:Main.JeffCrawford
Codebase 4.1.2
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15989
TargetRelease n/a
ReleasedIn

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