Skip to content

Commit 7bf7547

Browse files
committed
Add example how to use an application template in template listeners
1 parent 0e2335f commit 7bf7547

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snippets/package/pip/templateListener.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<environment>user</environment>
66
<templatename>headIncludeJavaScript</templatename>
77
<eventname>javascriptInclude</eventname>
8-
<templatecode><![CDATA[{include file='__myCustomJavaScript'}]]></templatecode>
8+
<templatecode><![CDATA[{include file='__myCustomJavaScript' application='wcf'}]]></templatecode>
99
</templatelistener>
1010
</import>
1111

@@ -16,4 +16,4 @@
1616
<eventname>javascriptInclude</eventname>
1717
</templatelistener>
1818
</delete>
19-
</data>
19+
</data>

0 commit comments

Comments
 (0)