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

Item6368: Template "expandvariables" expands %EDITTABLE into a <form ... >

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


The type=expandvariables option for Topic Templates goes too far in the case of %EDITTABLE%.

While %TABLE% is ignored, %EDITTABLE% is "expanded" out to an HTML form (an unusable HTML form),

%EDITTABLE% should be left alone when a portion of a template is copied with type=expandvariables set.

NOTE: As a workaround, I tried using %EDITTABLE%. That resulted in a literaql <nop> string in the result.

I also tried sending the %EDITTABLE% string as a URLPARM, assuming the URLPARAM would be expanded. Unfortunately, TWiki did the expansion twice (first expanding the %URLPARAM% and then the resulting %EDITTABLE%.)

Either expandvars should not continue expanding recursivety or there should be an option to control this. frown

-- TWiki:Main/VickiBrown - 04 Dec 2009

Summary Template "expandvariables" expands %EDITTABLE into a <form ... >
ReportedBy TWiki:Main.VickiBrown

SVN Range TWiki-5.0.0, Sun, 27 Sep 2009, build 18153
AppliesTo Engine

Priority Normal
CurrentState New


TargetRelease n/a

Topic revision: r1 - 2009-12-04 - VickiBrown
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