You are here: Foswiki>Tasks Web>Item5039 (17 Mar 2011, GeorgeClark)Edit Attach

Item5039: Need Better way to set variables (resolved by Extension)

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: FoswikiUsability
Branches:
Reported By: TWiki:Main.VickiBrown
Waiting For:
Last Change By: GeorgeClark
I can live with the (clumsy, imho) bullet syntax for bullets. If I accidentally type 4 spaces instead of 3, I see the result immediately and fix it.

But, when I'm setting a variable, I may not notce that I didn't, actually, set the variable! Meanwhile, I'm always having to wrap my variable settings in HTML comments.

I'd love something like

%SET{"VAR=value"}%

While we're at it, I'd like to add the user's Groups topics to the setting of variables -

So I guess we should make a Codev Topic to get the ideas discussed

-- TWiki:Main.SvenDowideit - 02 Dec 2007

The SetVariablePlugin will solve this.

%SETVAR{"SOMEVAR" value="the value"}%

Setting to No Action required - as it's implemented in a plugin

-- GeorgeClark - 17 Mar 2011

ItemTemplate edit

Summary Need Better way to set variables (resolved by Extension)
ReportedBy TWiki:Main.VickiBrown
Codebase
SVN Range TWiki-4.3.0, Sun, 25 Nov 2007, build 15790
AppliesTo Engine
Component FoswikiUsability
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r3 - 17 Mar 2011, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy