[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Number of Recursive XSL Templates exceeded --> XML - Part 8
Subject: [xsl] Number of Recursive XSL Templates exceeded --> XML - Part 8 From: Sundararaman S A <sundararaman.sa@xxxxxxxxx> Date: Thu, 9 Dec 2004 13:59:20 +0530 |
********************************************************************* XSL FILE - PART 7 ******************************************************************** <xsl:template name="viewChangeTemplate"> <xsl:param name="sessionId"/> <xsl:param name="searchid"/> <xsl:param name="searchconfigid"/> <xsl:param name="configName"/> <xsl:param name="readMode"/> <xsl:param name="noOfRows"/> <xsl:param name="currentpage"/> <xsl:param name="horizontaldisplay"/> <xsl:param name="searchandclear"/> <xsl:param name="casesensitive"/> <xsl:param name="parent"/> <xsl:param name="stylesheet"/> <xsl:param name="xslFile"/> <xsl:param name="menu"/> <xsl:param name="extrainfo"/> <xsl:param name="csvprocessflow"/> <form action="{$action}" method="post" name="viewChangeForm"> <input type="hidden" name="action" value="getsearchresult"/> <input type="hidden" name="configName" value="{$configName}"/> <input type="hidden" name="stylesheet" value="{$stylesheet}"/> <xsl:choose> <xsl:when test="string($horizontaldisplay)='1'"> <input type="hidden" name="horizontaldisplay" value="0"/> </xsl:when> <xsl:when test="string($horizontaldisplay)='0'"> <input type="hidden" name="horizontaldisplay" value="1"/> </xsl:when> <xsl:otherwise> <input type="hidden" name="horizontaldisplay" value="0"/> </xsl:otherwise> </xsl:choose> <input type="hidden" name="searchconfigid" value="{$searchconfigid}"/> <input type="hidden" name="header" value="true"/> <input type="hidden" name="id" value="{$searchid}"/> <input type="hidden" name="filter" value="true"/> <input type="hidden" name="update" value="true"/> <input type="hidden" name="page" value="{$currentpage}"/> <input type="hidden" name="style" value="{$xslFile}"/> <input type="hidden" name="sessionId" value="{$sessionId}"/> <input type="hidden" name="readMode" value="{$readMode}"/> <input type="hidden" name="searchandclear" value="{$searchandclear}"/> <input type="hidden" name="casesensitive" value="{$casesensitive}"/> <input type="hidden" name="parent" value="{$parent}"/> <input type="hidden" name="xslFile" value="{$xslFile}"/> <input type="hidden" name="menu" value="{$menu}"/> <input type="hidden" name="extrainfo" value="{$extrainfo}"/> <input type="hidden" name="csvprocessflow" value="{$csvprocessflow}"/> </form> </xsl:template> <xsl:template name="pagenavigationtempalte"> <xsl:param name="configName"/> <xsl:param name="sessionId"/> <xsl:param name="searchid"/> <xsl:param name="searchconfigid"/> <xsl:param name="noOfRows"/> <xsl:param name="currentpage"/> <xsl:param name="objectType"/> <xsl:param name="totalpage"/> <xsl:param name="totalpages"/> <xsl:param name="horizontaldisplay"/> <xsl:param name="stylesheet"/> <xsl:param name="page"/> <xsl:param name="readMode"/> <xsl:param name="searchandclear"/> <xsl:param name="casesensitive"/> <xsl:param name="parent"/> <xsl:param name="xslFile"/> <xsl:param name="menu"/> <xsl:param name="extrainfo"/> <xsl:param name="csvprocessflow"/> <xsl:if test="$currentpage = $totalpage - 10 and $totalpage != 10"> <td class="leftnavigation"> <xsl:variable name="prevpage" select="$currentpage - 10"/> <xsl:variable name="prevURL"> <xsl:call-template name="AnchorSubmitTemplate"> <xsl:with-param name="URL" select="concat($action,'?action=getsearchresult&id=',$searchid,'&sessionId=',$sessionId,'&page=',$prevpage,'&readMode=',string(normalize-space($readMode)),'&parent=',$parent,'&xslFile=',$xslFile,'&menu=',$menu,'&extrainfo=',$extrainfo,'&csvprocessflow=',$csvprocessflow,'&configName=',$configName,'&horizontaldisplay=',string(normalize-space($horizontaldisplay)),'&casesensitive=',$casesensitive,'&searchandclear=',$searchandclear,'&stylesheet=',$stylesheet,'&style=',$xslFile,'&filter=true&header=true')"/> <xsl:with-param name="frames" select="$FRAMES"/> </xsl:call-template> </xsl:variable> <a style="color: Black;font-family : Arial;font-size : 10px;" href="{$prevURL}">Previous</a> <xsl:text disable-output-escaping="yes">&nbsp;&nbsp;</xsl:text> <!-- <a> <xsl:attribute name="href"><xsl:value-of select="$action"/>?action=getsearchresult&id=<xsl:value-of select="$searchid"/>&sessionId=<xsl:value-of select="$sessionId"/>&page=<xsl:value-of select="$currentpage - 10"/>&readMode=<xsl:value-of select="$readMode"/>&parent=<xsl:value-of select="$parent"/>&xslFile=<xsl:value-of select="$xslFile"/>&menu=<xsl:value-of select="$menu"/>&configName=<xsl:value-of select="$configName"/>&horizontaldisplay=<xsl:value-of select="$horizontaldisplay"/>&casesensitive=<xsl:value-of select="$casesensitive"/>&searchandclear=<xsl:value-of select="$searchandclear"/>&stylesheet=<xsl:value-of select="$stylesheet"/>&style=<xsl:value-of select="$xslFile"/>&filter=true</xsl:attribute> <xsl:value-of select="'Previous'"/> </a> --> </td> </xsl:if> <xsl:if test="$currentpage <= $totalpage - 1 and $currentpage <= $totalpages"> <xsl:if test="$currentpage = $totalpage - 10"> <xsl:text disable-output-escaping="yes"><![CDATA[<td class="leftnavigation" colspan="2">]]></xsl:text> </xsl:if> <xsl:choose> <xsl:when test="$currentpage = /Response//search/SearchResult/@CurrentPage"> <b style="color: red;"> <xsl:value-of select="$currentpage + 1"/> <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </b> </xsl:when> <xsl:otherwise> <xsl:variable name="currURL"> <xsl:call-template name="AnchorSubmitTemplate"> <xsl:with-param name="URL" select="concat($action,'?action=getsearchresult&id=',$searchid,'&sessionId=',$sessionId,'&readMode=',string(normalize-space($readMode)),'&page=',$currentpage,'&parent=',$parent,'&xslFile=',$xslFile,'&menu=',$menu,'&extrainfo=',$extrainfo,'&csvprocessflow=',$csvprocessflow,'&configName=',$configName,'&horizontaldisplay=',string(normalize-space($horizontaldisplay)),'&casesensitive=',$casesensitive,'&searchandclear=',$searchandclear,'&stylesheet=',$stylesheet,'&style=',$xslFile,'&filter=true&header=true')"/> <xsl:with-param name="frames" select="$FRAMES"/> </xsl:call-template> </xsl:variable> <!-- <a> <xsl:attribute name="href"><xsl:value-of select="$action"/>?action=getsearchresult&id=<xsl:value-of select="$searchid"/>&sessionId=<xsl:value-of select="$sessionId"/>&page=<xsl:value-of select="$currentpage"/>&readMode=<xsl:value-of select="$readMode"/>&parent=<xsl:value-of select="$parent"/>&xslFile=<xsl:value-of select="$xslFile"/>&menu=<xsl:value-of select="$menu"/>&configName=<xsl:value-of select="$configName"/>&horizontaldisplay=<xsl:value-of select="$horizontaldisplay"/>&casesensitive=<xsl:value-of select="$casesensitive"/>&searchandclear=<xsl:value-of select="$searchandclear"/>&stylesheet=<xsl:value-of select="$stylesheet"/>&style=<xsl:value-of select="$xslFile"/>&filter=true</xsl:attribute> <xsl:value-of select="$currentpage+1"/> </a>--> <a href="{$currURL}" style="color: Black;font-family : Arial;font-size : 10px;" ><xsl:value-of select="$currentpage+1"/></a> <xsl:text disable-output-escaping="yes">&nbsp;</xsl:text> </xsl:otherwise> </xsl:choose> <xsl:choose> <xsl:when test="$currentpage = ($totalpage - 1)"> <xsl:text disable-output-escaping="yes"><![CDATA[</td>]]></xsl:text> </xsl:when> <xsl:otherwise> <xsl:variable name="lastPage" select="$totalpages"/> <xsl:choose> <xsl:when test="$currentpage = $lastPage"> <xsl:text disable-output-escaping="yes"><![CDATA[</td>]]></xsl:text> </xsl:when> </xsl:choose> </xsl:otherwise> </xsl:choose> <xsl:call-template name="pagenavigationtempalte"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage+1"/> <xsl:with-param name="totalpage" select="$totalpage"/> <xsl:with-param name="totalpages" select="$totalpages"/> <xsl:with-param name="horizontaldisplay" select="string(normalize-space($horizontaldisplay))"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="page" select="$page"/> <xsl:with-param name="readMode" select="string(normalize-space($readMode))"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> </xsl:if> <xsl:if test="$currentpage = $totalpage and $totalpage != $totalpages+1 and $currentpage <= $totalpages"> <td class="leftnavigation"> <xsl:text disable-output-escaping="yes">&nbsp;&nbsp;</xsl:text> <xsl:variable name="URL" select="concat($action,'&readMode=',string(normalize-space($readMode)))"/> <xsl:variable name="nextURL"> <xsl:call-template name="AnchorSubmitTemplate"> <xsl:with-param name="URL" select="concat($action,'?action=getsearchresult&id=',$searchid,'&sessionId=',$sessionId,'&readMode=',string(normalize-space($readMode)),'&page=',$totalpage,'&parent=',$parent,'&xslFile=',$xslFile,'&menu=',$menu,'&extrainfo=',$extrainfo,'&csvprocessflow=',$csvprocessflow,'&configName=',$configName,'&horizontaldisplay=',string(normalize-space($horizontaldisplay)),'&casesensitive=',$casesensitive,'&searchandclear=',$searchandclear,'&stylesheet=',$stylesheet,'&style=',$xslFile,'&filter=true&header=true')"/> <xsl:with-param name="frames" select="$FRAMES"/> </xsl:call-template> </xsl:variable> <!-- <a> <xsl:attribute name="href"><xsl:value-of select="$action"/>?action=getsearchresult&id=<xsl:value-of select="$searchid"/>&sessionId=<xsl:value-of select="$sessionId"/>&page=<xsl:value-of select="$totalpage"/>&readMode=<xsl:value-of select="$readMode"/>&parent=<xsl:value-of select="$parent"/>&xslFile=<xsl:value-of select="$xslFile"/>&menu=<xsl:value-of select="$menu"/>&configName=<xsl:value-of select="$configName"/>&horizontaldisplay=<xsl:value-of select="$horizontaldisplay"/>&casesensitive=<xsl:value-of select="$casesensitive"/>&searchandclear=<xsl:value-of select="$searchandclear"/>&stylesheet=<xsl:value-of select="$stylesheet"/>&style=<xsl:value-of select="$xslFile"/>&filter=true</xsl:attribute> <xsl:value-of select="'Next'"/> </a>--> <a href="{$nextURL}" style="color: Black;font-family : Arial;font-size : 10px;">Next</a> </td> </xsl:if> </xsl:template> <xsl:template name="goToPageTemplate"> <xsl:param name="sessionId"/> <xsl:param name="searchid"/> <xsl:param name="searchconfigid"/> <xsl:param name="configName"/> <xsl:param name="readMode"/> <xsl:param name="currentpage"/> <xsl:param name="horizontaldisplay"/> <xsl:param name="searchandclear"/> <xsl:param name="stylesheet"/> <xsl:param name="totalpages"/> <xsl:param name="casesensitive"/> <xsl:param name="parent"/> <xsl:param name="xslFile"/> <xsl:param name="menu"/> <xsl:param name="extrainfo"/> <xsl:param name="csvprocessflow"/> <form action="{$action}" method="post" name="goToPageTemplateForm" > <xsl:attribute name="onKeyPress"> <xsl:value-of select="'disableEnterKeyforGoToPage('"/> <xsl:value-of select="$totalpages"/> <xsl:value-of select="');'"/> </xsl:attribute> <input type="hidden" name="action" value="getsearchresult"/> <input type="hidden" name="header" value="true"/> <input type="hidden" name="configName" value="{$configName}"/> <input type="hidden" name="stylesheet" value="{$stylesheet}"/> <input type="hidden" name="readMode" value="{$readMode}"/> <input type="hidden" name="searchconfigid" value="{$searchconfigid}"/> <input type="hidden" name="id" value="{$searchid}"/> <input type="hidden" name="style" value="{$xslFile}"/> <input type="hidden" name="sessionId" value="{$sessionId}"/> <input type="hidden" name="horizontaldisplay" value="{$horizontaldisplay}"/> <input type="hidden" name="searchandclear" value="{$searchandclear}"/> <input type="hidden" name="casesensitive" value="{$casesensitive}"/> <input type="hidden" name="parent" value="{$parent}"/> <input type="hidden" name="xslFile" value="{$xslFile}"/> <input type="hidden" name="menu" value="{$menu}"/> <input type="hidden" name="extrainfo" value="{$extrainfo}"/> <input type="hidden" name="csvprocessflow" value="{$csvprocessflow}"/> <input type="hidden" name="filter" value="true"/> <input type="hidden" name="update" value="true"/> <td><xsl:text disable-output-escaping="yes">&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>Point to page</td> <td> <input type="text" size="6" name="page" value="{$currentpage+1}" /> </td> </form> <td> <img src="{$DMT_IMAGES}/go.gif" alt="Go" border="0" onclick="javascript:goToPageSubmission({$totalpages});" style="cursor:hand"/> </td> </xsl:template> <xsl:template name="navigationTemplate"> <xsl:param name="sessionId"/> <xsl:param name="searchid"/> <xsl:param name="searchconfigid"/> <xsl:param name="configName"/> <xsl:param name="readMode"/> <xsl:param name="noOfRows"/> <xsl:param name="currentpage"/> <xsl:param name="objectType"/> <xsl:param name="totalpages"/> <xsl:param name="prevRowsExisting"/> <xsl:param name="objpermission"/> <xsl:param name="horizontaldisplay"/> <xsl:param name="searchandclear"/> <xsl:param name="casesensitive"/> <xsl:param name="stylesheet"/> <xsl:param name="parent"/> <xsl:param name="xslFile"/> <xsl:param name="menu"/> <xsl:param name="extrainfo"/> <xsl:param name="csvprocessflow"/> <xsl:param name="RecordsNotFound"/> <xsl:call-template name="editmodeTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> <xsl:call-template name="viewChangeTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> <center> <table style="margin-left:10px" id="PageNavigation"> <tr> <!-- <xsl:call-template name="addNewRowsTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="objectType" select="$objectType"/> <xsl:with-param name="totalpages" select="$totalpages"/> <xsl:with-param name="prevRowsExisting" select="$prevRowsExisting"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> <xsl:call-template name="copyInsertTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="objectType" select="$objectType"/> <xsl:with-param name="totalpages" select="$totalpages"/> <xsl:with-param name="prevRowsExisting" select="$prevRowsExisting"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> <xsl:with-param name="RecordsNotFound" select="$RecordsNotFound"/> </xsl:call-template> --> <xsl:call-template name="displayimages"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="objectType" select="$objectType"/> <xsl:with-param name="session" select="$sessionId"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="lastpage" select="$totalpages - 1"/> <xsl:with-param name="RecordsNotFound" select="$RecordsNotFound"/> </xsl:call-template> </tr> </table> <xsl:variable name="currentpage_forNavigation"> <xsl:value-of select="//search/SearchResult/@CurrentPage - //search/SearchResult/@CurrentPage mod 10"/> </xsl:variable> <xsl:variable name="rowsperpageEnable"> <xsl:call-template name="menutemplate"> <xsl:with-param name="menuvalue" select="$menu"/> <xsl:with-param name="menuname" select="$ROWSPERPAGE"/> </xsl:call-template> </xsl:variable> <xsl:if test="string($rowsperpageEnable)='true'"> <br/> <xsl:if test="not($RecordsNotFound)"> <table id="PageNavigation" style="margin-left:20px"> <tr> <xsl:call-template name="rowChangeTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> <td><xsl:text disable-output-escaping="yes">&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>Total Pages</td> <td> <b> <xsl:value-of select="$totalpages"/> </b> </td> <xsl:call-template name="goToPageTemplate"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="currentpage" select="$currentpage"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="objpermission" select="$objpermission"/> <xsl:with-param name="totalpages" select="$totalpages"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> </tr> </table> </xsl:if> </xsl:if> <xsl:if test="not($RecordsNotFound)"> <table id="PageNavigation" style="margin-left:70px"> <tr> <td align="right">Pages:</td> <xsl:call-template name="pagenavigationtempalte"> <xsl:with-param name="configName" select="$configName"/> <xsl:with-param name="sessionId" select="$sessionId"/> <xsl:with-param name="searchid" select="$searchid"/> <xsl:with-param name="searchconfigid" select="$searchconfigid"/> <xsl:with-param name="noOfRows" select="$noOfRows"/> <xsl:with-param name="currentpage" select="$currentpage_forNavigation"/> <xsl:with-param name="totalpage" select="$currentpage_forNavigation+10"/> <xsl:with-param name="totalpages" select="$totalpages - 1"/> <xsl:with-param name="horizontaldisplay" select="$horizontaldisplay"/> <xsl:with-param name="casesensitive" select="$casesensitive"/> <xsl:with-param name="stylesheet" select="$stylesheet"/> <xsl:with-param name="page" select="0"/> <xsl:with-param name="readMode" select="$readMode"/> <xsl:with-param name="searchandclear" select="$searchandclear"/> <xsl:with-param name="parent" select="$parent"/> <xsl:with-param name="xslFile" select="$xslFile"/> <xsl:with-param name="menu" select="$menu"/> <xsl:with-param name="extrainfo" select="$extrainfo"/> <xsl:with-param name="csvprocessflow" select="$csvprocessflow"/> </xsl:call-template> </tr> </table> </xsl:if> </center> </xsl:template> <xsl:template name="casesensitivityTemplate"> <xsl:param name="sessionId"/> <xsl:param name="searchid"/> <xsl:param name="searchconfigid"/> <xsl:param name="configName"/> <xsl:param name="readMode"/> <xsl:param name="horizontaldisplay"/> <xsl:param name="stylesheet"/> <xsl:param name="searchandclear"/> <xsl:param name="casesensitive"/> <xsl:param name="parent"/> <xsl:param name="xslFile"/> <xsl:param name="menu"/> <xsl:param name="extrainfo"/> <td width="20%" align="left"> Case Sensitivity </td> <form action="{$action}" method="post" name="casesensitivityTemplateForm"> <input type="hidden" name="action" value="startprocess"/> <input type="hidden" name="parent" value="{$parent}"/> <input type="hidden" name="xslFile" value="{$xslFile}"/> <input type="hidden" name="process" value="dmtrowupdate"/> <input type="hidden" name="id" value="{$searchid}"/> <input type="hidden" name="restoreId" value="{$searchid}"/> <input type="hidden" name="pageId" value="0"/> <input type="hidden" name="configName" value="{$configName}"/> <input type="hidden" name="stylesheet" value="{$stylesheet}"/> <input type="hidden" name="readMode" value="{$readMode}"/> <input type="hidden" name="searchconfigid" value="{$searchconfigid}"/> <input type="hidden" name="searchandclear" value="{$searchandclear}"/> <input type="hidden" name="style" value="{$xslFile}"/> <input type="hidden" name="sessionId" value="{$sessionId}"/> <input type="hidden" name="horizontaldisplay" value="{$horizontaldisplay}"/> <input type="hidden" name="update" value="true"/> <input type="hidden" name="filter" value="true"/> <input type="hidden" name="menu" value="{$menu}"/> <input type="hidden" name="extrainfo" value="{$extrainfo}"/> <input type="hidden" name="casesensitive" value="{$casesensitive}"/> <xsl:variable name="casesensitivity" select="//sdmsearch/casesensitivity"/> <td> <xsl:text disable-output-escaping="yes">&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text> <!-- checkbox <xsl:if test="string(//sdmsearch/casesensitivity)='1'"> <xsl:call-template name="checkbox2"> <xsl:with-param name="name" select="'casesensitivity'"/> <xsl:with-param name="value" select="0"/> </xsl:call-template> </xsl:if> <xsl:if test="string(//sdmsearch/casesensitivity)='0'"> <xsl:call-template name="checkbox2"> <xsl:with-param name="name" select="'casesensitivity'"/> <xsl:with-param name="value" select="1"/> </xsl:call-template> </xsl:if> <xsl:if test="not(string(//sdmsearch/casesensitivity))"> <xsl:call-template name="checkbox2"> <xsl:with-param name="name" select="'casesensitivity'"/> <xsl:with-param name="value" select="'0'"/> </xsl:call-template> </xsl:if> --> <xsl:choose> <xsl:when test="not(string($casesensitivity))"> <xsl:call-template name="checkbox4"> <xsl:with-param name="name" select="'casesensitivity'"/> <xsl:with-param name="value" select="'0'"/> <xsl:with-param name="form" select="'casesensitivityTemplateForm'"/> </xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:call-template name="checkbox4"> <xsl:with-param name="name" select="'casesensitivity'"/> <xsl:with-param name="value" select="$casesensitivity"/> <xsl:with-param name="form" select="'casesensitivityTemplateForm'"/> </xsl:call-template> </xsl:otherwise> </xsl:choose> </td> </form> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Number of Recursive XSL Templ, Sundararaman S A | Thread | [xsl] Number of Recursive XSL Templ, Sundararaman S A |
[xsl] Number of Recursive XSL Templ, Sundararaman S A | Date | [xsl] Number of Recursive XSL Templ, Sundararaman S A |
Month |
Keywords