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.
--
TWiki:Main/VickiBrown
- 04 Dec 2009