NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jane on October 11, 2022, 05:14:46 PM
-
Question (12.46)
NetWebForm template.
Creating a Display field.
On the Display tab, there's a droplist at the top cunningly called Display.
One of the options in the list is "File Tag <!--Net:f"
If I choose that and put into the Text field:
'<!-- Net:f:/staticText/textNewAudit1.htm -->'
it goes through NetWebServerWorkerBase.LoadTagFile and looks for a file with that name. And none of my files are named Net:f:whatever.
If instead I enter:
'/staticText/textNewAudit1.htm'
it works fine.
As does:
'staticText\textNewAudit1.htm'
Is this the expected behavior? I just found the "File Tag <!--Net:f" placeholder confusing.
Cheers,
Jane
-
yeah, it's working as designed. The Net:f is done for you.
Cheers
Bruce
-
Thanks, Bruce. Good to know. I looked through the docs here (https://www.capesoft.com/docs/NetTalk12/NetTalkWebFunctionality.htm#FormTypeDisplay) and didn't find anything.
Cheers,
Jane