Template problems
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Fri Jun 2 15:13:13 PDT 2006
Since templates are processed before the browser gets them then I don't see how this
can possibly work. Why do you want to do that anyway?
Steve
>>> "Sievers, Jason" <jsievers at CO.LINN.OR.US> 6/1/2006 6:45:14 PM >>>
Hello all.
I have a MapServer HTML Template and am performing template substitutions.
I would like reference values using JavaScript variables containing the
template substitution. For example, simply getting the MapServer version
number is easy via "[ROADS]", where 'ROADS' is the name of a field in a
dBase file. But I want to get the value as a variable like
myVariable0 = "ROADS";
myVariable1 = '"[' + myVariable0 + ']"';
Any thoughts are welcome.
Thanks,
Jason Sievers
More information about the MapServer-users
mailing list