01-28-2020, 02:49 PM
Hi
I'm using Delphi Seattle and Intraweb 14.0.47.
I am trying to achieve the following, in a template I put a tag like this {%varmenu%} in runtime I generate the HTML tags like this:
Example
<li>{%myFrame.button1%}</li>
<li>{%myFrame.button2%}</li>
Of course I use the event OnUnknownTag from the TIWTemplateProcessorHTML component to replace the tag {%varmenu%}.
When running the application I was expecting to see the components but instead what I see is the name of the tags like this:
{%myFrame.button1%}
{%myFrame.button2%}
What am I missing?
Can someone help me out?
TIA
I'm using Delphi Seattle and Intraweb 14.0.47.
I am trying to achieve the following, in a template I put a tag like this {%varmenu%} in runtime I generate the HTML tags like this:
Example
<li>{%myFrame.button1%}</li>
<li>{%myFrame.button2%}</li>
Of course I use the event OnUnknownTag from the TIWTemplateProcessorHTML component to replace the tag {%varmenu%}.
When running the application I was expecting to see the components but instead what I see is the name of the tags like this:
{%myFrame.button1%}
{%myFrame.button2%}
What am I missing?
Can someone help me out?
TIA