Skip to content

Instantly share code, notes, and snippets.

Last active Dec 21, 2015
What would you like to do?
ContextInfo generation template
Partial implementation of CTXGeneration template
(The remaining code is omitted for clarity here)
<xsl:template name="CTXGeneration" ddwrt:ghost="always">
<script type="text/javascript">
ctx = new ContextInfo();
<!--Save List Dialogs parameter in NavigateForFormsPages property of ContextInfo structure-->
ctx.NavigateForFormsPages = <xsl:choose>
<xsl:when test="$NavigateForFormsPages='1'">true</xsl:when>
ctx<xsl:value-of select="$ViewCounter"/> = ctx;
g_ctxDict['ctx<xsl:value-of select="$ViewCounter"/>'] = ctx;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment