how to use include?

Topics: Developer Forum, Project Management Forum, User Forum
Jul 10, 2007 at 2:36 AM
hi, claudefox:
i try to include other file in a thml template,i have written this statement :
<tr><td>
<!--#include virtual="<%=oProp.ScriptPath +?action=include%>" --> in default.htm that be in your sample.
</td></tr>

the code in main.prg is :
CASE oProp.Action == 'include'
lcHTMLout=FILETOSTR(oProp.HtmlPath+"test.html")
the content of the test.html is :
<b>
this is a test
</b>

but i can't see "this is a test" in the defalutl.html
how to use include?