ContextInfo generation template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
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> | |
<xsl:otherwise>false</xsl:otherwise> | |
</xsl:choose>; | |
ctx<xsl:value-of select="$ViewCounter"/> = ctx; | |
g_ctxDict['ctx<xsl:value-of select="$ViewCounter"/>'] = ctx; | |
</script> | |
</xsl:template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment