-
I am getting errors in ParseBlockVars function on the line
p_regexp.Replace(inText, p_variables_list.Item(aSubMatch))
in some cases where I have
Set oTpl=New ASPTemplate
...
oTpl.SetVariable "whatever", oRS("something")
and the error is
"Wrong number of arguments or invalid property assignment"
If the line above is changed to
oTpl.SetVariable "whatever", "" &...
2008-11-28 15:00:05 UTC by exobuzz
-
tanis committed revision 53 to the ASP Template SVN repository, changing 208 files.
2007-07-30 08:52:22 UTC by tanis
-
Support for switches would be great. The only way right now is {{something}} and using SetVariableFile to replace something with a file of choice. Would be nice to be able to do this more easily.
Also allowing a template to include another. Currently you have to do it in the code.
2007-06-10 02:32:28 UTC by nobody
-
I added a new function "Parsetofile" which is useful
to pregenerate html from a script.
public sub ParseToFile(sFile)
Dim sParsed,oFSO,oFile
sParsed=GetOutput
sFile=Server.MapPath(sFile)
Set oFSO=Server.CreateObject("Scripting.FileSystemObject")
Set oFile=oFSO.CreateTextFile(sFile,True)
oFile.Write(sParsed)
oFile.Close
end sub
Also there are a few places where a...
2007-05-07 18:47:43 UTC by exobuzz
-
Fixed in SVN.
2007-01-26 06:55:30 UTC by mrtwice
-
mrtwice committed revision 52 to the ASP Template SVN repository, changing 1 files.
2007-01-26 06:54:41 UTC by mrtwice
-
I had problems when a block had two nested blocks, like this:
outer start:
inner variable:
split
inner variable2:
outer end
.
2006-12-02 04:38:05 UTC by mrtwice
-
tanis committed revision 51 to the ASP Template SVN repository, changing 23 files.
2004-11-10 23:55:11 UTC by tanis
-
tanis committed patchset 31 of module asptemplate to the ASP Template CVS repository, changing 19 files.
2004-11-10 23:55:10 UTC by tanis
-
tanis committed patchset 30 of module asptemplate to the ASP Template CVS repository, changing 1 files.
2004-11-10 23:23:31 UTC by tanis