filterIntervalRange.xts 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. BI and PM: qs
  5. (C) Copyright IBM Corp. 2001, 2017
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <!--
  9. Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
  10. Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
  11. -->
  12. <xts:morphlet resolverBase="prompting" version="1.0" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio">
  13. <xts:block id="queryCM" mode="interpret" processor="XSLT" type="exec" condition=".[/root/env/param[@name='xxRetrievePrompt']='true']" mandatory="false" nodelist="header, env, http, cookies, bus:biBusHeader">
  14. <xts:logicsheet path="logicsheets/buslogic.xslt"/>
  15. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cm="http://developer.cognos.com/schemas/bibus/3/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt">
  16. <xsl:template match="/">
  17. <xts:sequence>
  18. <xts:append>
  19. <xts:request asText="true" href="bus://dispatcher" protocol="BUS" responseEnvelope="false" soapAction="http://www.ibm.com/xmlns/prod/cognos/contentManagerService/201404/">
  20. <SOAP-ENV:Envelope xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  21. <SOAP-ENV:Header>
  22. <xsl:copy-of select="/root/header/bus:biBusHeader"/>
  23. </SOAP-ENV:Header>
  24. <SOAP-ENV:Body>
  25. <cm:query xmlns:cm="http://developer.cognos.com/schemas/bibus/3/">
  26. <search>
  27. <xsl:value-of select="xtsext:urldecode(string(/root/env/param[@name='xxSearchPath']))"/>
  28. </search>
  29. <properties xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="cm:propEnum[1]">
  30. <item xsi:type="">parameters</item>
  31. </properties>
  32. </cm:query>
  33. </SOAP-ENV:Body>
  34. </SOAP-ENV:Envelope>
  35. </xts:request>
  36. </xts:append>
  37. </xts:sequence>
  38. </xsl:template>
  39. </xsl:stylesheet>
  40. </xts:block>
  41. <xts:block id="appendDocument" mode="interpret" processor="XSLT" type="exec" dependency="queryCM" condition=".[/root/env/param[@name='xxRetrievePrompt']='true']" mandatory="false" nodelist="header, env, http, cookies, bus:biBusHeader, cm:queryResponse">
  42. <xts:logicsheet path="logicsheets/buslogic.xslt"/>
  43. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/" xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/" xmlns:cm="http://developer.cognos.com/schemas/cm/1/" xmlns:SOAP-ENV="http://www.w3.org/2001/09/soap-envelope" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt">
  44. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  45. <xsl:template match="/root">
  46. <xts:sequence>
  47. <xts:append select="/root/env">
  48. <xsl:for-each select="/root/cm:queryResponse/queryResult/item/parameters/value/item" xmlns:cm="http://developer.cognos.com/schemas/bibus/3/">
  49. <xsl:if test="/root/env/param[@name='xxFromParamName']=./name">
  50. <xsl:for-each select="./value/item/start">
  51. <param name="xxFromValue"><xsl:value-of select="./use" disable-output-escaping="yes"/></param>
  52. </xsl:for-each>
  53. </xsl:if>
  54. <xsl:if test="/root/env/param[@name='xxToParamName']=./name">
  55. <xsl:for-each select="./value/item/end">
  56. <param name="xxToValue"><xsl:value-of select="./use" disable-output-escaping="yes"/></param>
  57. </xsl:for-each>
  58. </xsl:if>
  59. <xsl:if test="/root/env/param[@name='xxToParamName']=./name">
  60. <xsl:for-each select="./value/item/use">
  61. <param name="xxFromValue"><xsl:value-of select="." disable-output-escaping="yes"/></param>
  62. <param name="xxToValue"><xsl:value-of select="." disable-output-escaping="yes"/></param>
  63. </xsl:for-each>
  64. </xsl:if>
  65. </xsl:for-each>
  66. </xts:append>
  67. </xts:sequence>
  68. </xsl:template>
  69. </xsl:stylesheet>
  70. </xts:block>
  71. <xts:block id="getLocalPrompts" mode="interpret" processor="XSLT" type="exec" dependency="queryCM" condition=".[not(/root/env/param[@name='xxRetrievePrompt'])]" mandatory="false" nodelist="header, env, http, cookies, bus:biBusHeader">
  72. <xts:logicsheet path="logicsheets/buslogic.xslt"/>
  73. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/" xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/" xmlns:cm="http://developer.cognos.com/schemas/cm/1/" xmlns:SOAP-ENV="http://www.w3.org/2001/09/soap-envelope" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt">
  74. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  75. <xsl:template match="/root">
  76. <xts:sequence>
  77. <xts:append select="/root/env">
  78. <xsl:for-each select="/root/env/param[@name='xxFromParamName']">
  79. <param name="xxFromParamName"><xsl:value-of select="." disable-output-escaping="yes"/></param>
  80. </xsl:for-each>
  81. <xsl:for-each select="/root/env/param[@name='xxToParamName']">
  82. <param name="xxToParamName"><xsl:value-of select="." disable-output-escaping="yes"/></param>
  83. </xsl:for-each>
  84. </xts:append>
  85. </xts:sequence>
  86. </xsl:template>
  87. </xsl:stylesheet>
  88. </xts:block>
  89. <xts:block id="appendLocalPrompts" mode="interpret" processor="XSLT" type="exec" dependency="getLocalPrompts" condition=".[not(/root/env/param[@name='xxRetrievePrompt'])]" mandatory="false" nodelist="header, env, http, cookies, bus:biBusHeader">
  90. <xts:logicsheet path="logicsheets/buslogic.xslt"/>
  91. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/" xmlns:cml="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cml/1/" xmlns:cm="http://developer.cognos.com/schemas/cm/1/" xmlns:SOAP-ENV="http://www.w3.org/2001/09/soap-envelope" xmlns:bus="http://developer.cognos.com/schemas/bibus/3/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt">
  92. <xsl:output method="xml" version="1.0" encoding="UTF-8"/>
  93. <xsl:template match="/root">
  94. <xts:sequence>
  95. <xts:append select="/root/env">
  96. <xsl:for-each select="/root/env/param[@name='xxFromParamName']/selectChoices">
  97. <xsl:choose>
  98. <xsl:when test="./selectBoundRange/start">
  99. <param name="xxFromValue"><xsl:value-of select="./selectBoundRange/start/@useValue"/></param>
  100. </xsl:when>
  101. <xsl:when test="./selectUnboundedEndRange/start">
  102. <param name="xxFromValue"><xsl:value-of select="./selectUnboundedEndRange/start/@useValue"/></param>
  103. </xsl:when>
  104. <xsl:when test="./selectOption">
  105. <param name="xxFromValue"><xsl:value-of select="./selectOption/@useValue"/></param>
  106. </xsl:when>
  107. </xsl:choose>
  108. </xsl:for-each>
  109. <xsl:for-each select="/root/env/param[@name='xxToParamName']/selectChoices">
  110. <xsl:choose>
  111. <xsl:when test="./selectBoundRange/end">
  112. <param name="xxToValue"><xsl:value-of select="./selectBoundRange/end/@useValue"/></param>
  113. </xsl:when>
  114. <xsl:when test="./selectUnboundedStartRange/end">
  115. <param name="xxToValue"><xsl:value-of select="./selectUnboundedStartRange/end/@useValue"/></param>
  116. </xsl:when>
  117. <xsl:when test="./selectOption">
  118. <param name="xxToValue"><xsl:value-of select="./selectOption/@useValue"/></param>
  119. </xsl:when>
  120. </xsl:choose>
  121. </xsl:for-each>
  122. </xts:append>
  123. </xts:sequence>
  124. </xsl:template>
  125. </xsl:stylesheet>
  126. </xts:block>
  127. <xts:block id="page" type="exec" mode="output" processor="XSLT" mimeType="text/html" dependency="appendDocument appendLocalPrompts" nodelist="env, debug, http, command, system, session, user, actions, tabs, configProps, credential, cookies, setCookies, accountOptions, newSession, gatewayURI, cm:queryResponse, objectClass, prompting">
  128. <!-- get the debug logic sheet -->
  129. <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
  130. <!-- get the new theme stuff -->
  131. <xts:logicsheet path="qs/logicsheets/filter_theme.xsl"/>
  132. <xts:logicsheet path="logicsheets/portal.xsl"/>
  133. <xts:logicsheet path="qs/logicsheets/dialogs.xsl"/>
  134. <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
  135. <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
  136. <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
  137. <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
  138. <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
  139. <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
  140. <!-- apply the form logic -->
  141. <xts:logicsheet path="logicsheets/formlogic.xslt"/>
  142. <xsl:stylesheet version="1.0" xmlns:filterdlg="test_filterDlg" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xts="http://developer.cognos.com/schemas/xts/" xmlns:lyt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/layout/" xmlns:pf="http://developer.cognos.com/schemas/xts/pf" xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/" xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/" xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/" xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/" xmlns:dbg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/debug/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" xmlns:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/" exclude-result-prefixes="filterdlg xsl xts lyt pf dp df cp cf dbg xtsext qsdlg">
  143. <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
  144. <!-- Default variables (like skin) and prompt variables -->
  145. <qsdlg:variables/>
  146. <qsdlg:promptVariables/>
  147. <!-- Prompt Control XSL include -->
  148. <xsl:include href="p_include.xsl"/>
  149. <!-- add any theme variables -->
  150. <df:variables/>
  151. <pf:variables/>
  152. <!-- start the output -->
  153. <xsl:template match="/root">
  154. <!--Get HTML output for the HEAD section -->
  155. <dp:page>
  156. <dp:script>
  157. <xsl:call-template name="getPromptCommonIncludes"/>
  158. <xsl:call-template name="getintervalFieldIncludes">
  159. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  160. <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
  161. </xsl:call-template>
  162. <xsl:call-template name="gettextBoxIncludes">
  163. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  164. <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
  165. </xsl:call-template>
  166. <link href="{$qsdlgskin}/qs/QSRVDialog.css" type="text/css" rel="stylesheet"/>
  167. <script type="text/javascript">
  168. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/layout.js</xsl:attribute>
  169. <xsl:text/>//<xsl:text/>
  170. </script>
  171. <script type="text/javascript">
  172. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/filterDialog.js</xsl:attribute>
  173. <xsl:text/>//<xsl:text/>
  174. </script>
  175. <script type="text/javascript">
  176. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/rv/cvConstants.js</xsl:attribute>
  177. <xsl:text/>//<xsl:text/>
  178. </script>
  179. <script type="text/javascript">
  180. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/rv/common.js</xsl:attribute>
  181. <xsl:text/>//<xsl:text/>
  182. </script>
  183. <script type="text/javascript">
  184. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/rv/cvui.js</xsl:attribute>
  185. <xsl:text/>//<xsl:text/>
  186. </script>
  187. <script type="text/javascript">
  188. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/framework/notification/CObserver.js</xsl:attribute>
  189. <xsl:text/>//<xsl:text/>
  190. </script>
  191. <script type="text/javascript">
  192. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CDialogManager.js</xsl:attribute>
  193. <xsl:text/>//<xsl:text/>
  194. </script>
  195. <script type="text/javascript">
  196. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CWindowManager.js</xsl:attribute>
  197. <xsl:text/>//<xsl:text/>
  198. </script>
  199. <script type="text/javascript">&lt;!--
  200. var goDialogManager = new CDialogManager();
  201. var cf = getConfigFrame();
  202. var onlyPrompt = false;
  203. var complexFilterType = "selectInterval";
  204. var substVarValueFrom = null;
  205. var substVarValueTo = null;
  206. var advClosedSize = 500;
  207. var advOpenedSize = 565;
  208. var sFILTER_LOWEST_VALUE = '<xts:string id="FILTER_LOWEST_VALUE" encode="javascript"/>';
  209. var sFILTER_HIGHEST_VALUE = '<xts:string id="FILTER_HIGHEST_VALUE" encode="javascript"/>';
  210. var sFILTER_INTERVAL_DEFAULT_VALUE = "<xts:string id="FILTER_INTERVAL_DEFAULT_VALUE" encode="javascript"/>";
  211. function execute() { filterIntervalRange_execute(); }
  212. function buildFilterExpression() { return filterIntervalRange_buildFilterExpression(); }
  213. <filterdlg:update_value_field/>
  214. function init()
  215. {
  216. var oOptions = {};
  217. <xsl:if test="/root/env/param[@name='xxFromParamName' or @name='xxToParamName']">
  218. oOptions.bPrompt = true;
  219. </xsl:if>
  220. <xsl:if test="/root/env/param[@name='xxSubstVar']='true'">
  221. oOptions.bUseAdv = true;
  222. </xsl:if>
  223. filterIntervalRange_init(oOptions);
  224. <xsl:if test="/root/env/param[@name='xxSubstVar']='true'">
  225. <filterdlg:subst_var_button/>
  226. </xsl:if>
  227. }
  228. //--&gt;</script>
  229. </dp:script>
  230. <form style="margin:0px" name="f" method="POST" onsubmit="execute();return false;">
  231. <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
  232. <tr>
  233. <td width="100%" height="0%">
  234. <!-- dialog header -->
  235. <dp:header help="false">
  236. <!-- header titles -->
  237. <dp:title>
  238. <xts:string id="FILTER_TITLE"/>
  239. </dp:title>
  240. <!-- close link for the header -->
  241. <dp:close>
  242. <a href="javascript:this.cancelDialog()">
  243. <dp:closeMarker/>
  244. </a>
  245. </dp:close>
  246. <!-- description (hint text) -->
  247. <dp:description>
  248. <xts:string id="FILTER_INTERVAL_DESCRIPTION"/>
  249. </dp:description>
  250. </dp:header>
  251. </td>
  252. </tr>
  253. <tr>
  254. <td width="100%" height="100%" valign="top">
  255. <!-- layout -->
  256. <lyt:layout style="2" border="no">
  257. <lyt:section>
  258. <dp:input>
  259. <dp:section1>
  260. <xts:string id="FILTER_ON"/>
  261. </dp:section1>
  262. <dp:section2>
  263. <xsl:attribute name="id">colName</xsl:attribute>
  264. </dp:section2>
  265. </dp:input>
  266. </lyt:section>
  267. <lyt:section>
  268. <qsdlg:promptBox/>
  269. </lyt:section>
  270. </lyt:layout>
  271. <lyt:layout style="1" border="no" joinSection="true">
  272. <lyt:section>
  273. <qsdlg:conditionBox/>
  274. </lyt:section>
  275. </lyt:layout>
  276. <lyt:layout style="1" border="yes" title="FILTER_FROM" joinSection="true">
  277. <lyt:section>
  278. <table>
  279. <tr>
  280. <td>
  281. <input type="radio" name="fromValue">
  282. <xsl:if test="/root/env/param[@name='xxFromValue']">
  283. <xsl:attribute name="checked">true</xsl:attribute>
  284. </xsl:if>
  285. </input>
  286. </td>
  287. <td>
  288. <!-- Render a select interval prompt-->
  289. <xsl:variable name="interval1">
  290. <xsl:choose>
  291. <xsl:when test="/root/env/param[@name='xxFromValue']">
  292. <xsl:value-of select="/root/env/param[@name='xxFromValue']"/>
  293. </xsl:when>
  294. </xsl:choose>
  295. </xsl:variable>
  296. <xsl:call-template name="getSelectInterval">
  297. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  298. <xsl:with-param name="promptFormName" select="$promptFormName"/>
  299. <xsl:with-param name="promptRequired" select="'false'"/>
  300. <xsl:with-param name="promptDefaultValue" select="$interval1"/>
  301. <xsl:with-param name="suppressDisabled" select="'true'"/>
  302. <xsl:with-param name="promptShowSeconds" select="'true'"/>
  303. <xsl:with-param name="promptId" select="'intervalFrom'"/>
  304. <xsl:with-param name="promptParameter" select="'parameter1'"/>
  305. </xsl:call-template>
  306. </td>
  307. </tr>
  308. <xsl:if test="/root/env/param[@name='xxSubstVar']='true'">
  309. <tr>
  310. <td>
  311. <input type="radio" name="fromValue"/>
  312. </td>
  313. <td>
  314. <table>
  315. <tr>
  316. <td valign="bottom">
  317. <img width="10">
  318. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>
  319. </img>
  320. <xsl:call-template name="getTextBox">
  321. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  322. <xsl:with-param name="promptFormName" select="$promptFormName"/>
  323. <xsl:with-param name="promptRequired" select="'false'"/>
  324. <xsl:with-param name="promptId" select="'stringValueFrom'"/>
  325. <xsl:with-param name="promptHideText" select="'false'"/>
  326. <xsl:with-param name="promptMultiLine" select="'false'"/>
  327. <xsl:with-param name="promptParameter" select="'stringParam1'"/>
  328. <xsl:with-param name="promptReadOnly" select="'true'"/>
  329. </xsl:call-template>
  330. </td>
  331. <td id="buttonContainer1"/>
  332. </tr>
  333. </table>
  334. </td>
  335. </tr>
  336. </xsl:if>
  337. <tr>
  338. <td>
  339. <input type="radio" name="fromValue">
  340. <xsl:if test="not(/root/env/param[@name='xxFromValue'])">
  341. <xsl:attribute name="checked">true</xsl:attribute>
  342. </xsl:if>
  343. </input>
  344. </td>
  345. <td class="formText">
  346. <img width="10">
  347. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>
  348. </img>
  349. <xts:string id="FILTER_LOWEST_VALUE"/>
  350. </td>
  351. </tr>
  352. </table>
  353. </lyt:section>
  354. </lyt:layout>
  355. <lyt:layout style="1" border="yes" title="FILTER_TO" joinSection="true">
  356. <lyt:section>
  357. <table>
  358. <tr>
  359. <td>
  360. <input type="radio" name="toValue">
  361. <xsl:if test="/root/env/param[@name='xxToValue']">
  362. <xsl:attribute name="checked">true</xsl:attribute>
  363. </xsl:if>
  364. </input>
  365. </td>
  366. <td>
  367. <!-- Render a select interval prompt-->
  368. <xsl:variable name="interval2">
  369. <xsl:choose>
  370. <xsl:when test="/root/env/param[@name='xxToValue']">
  371. <xsl:value-of select="/root/env/param[@name='xxToValue']"/>
  372. </xsl:when>
  373. </xsl:choose>
  374. </xsl:variable>
  375. <xsl:call-template name="getSelectInterval">
  376. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  377. <xsl:with-param name="promptFormName" select="$promptFormName"/>
  378. <xsl:with-param name="promptRequired" select="'false'"/>
  379. <xsl:with-param name="promptDefaultValue" select="$interval2"/>
  380. <xsl:with-param name="suppressDisabled" select="'true'"/>
  381. <xsl:with-param name="promptShowSeconds" select="'true'"/>
  382. <xsl:with-param name="promptId" select="'intervalTo'"/>
  383. <xsl:with-param name="promptParameter" select="'parameter2'"/>
  384. </xsl:call-template>
  385. </td>
  386. </tr>
  387. <xsl:if test="/root/env/param[@name='xxSubstVar']='true'">
  388. <tr>
  389. <td>
  390. <input type="radio" name="toValue"/>
  391. </td>
  392. <td>
  393. <table>
  394. <tr>
  395. <td valign="bottom">
  396. <img width="10">
  397. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>
  398. </img>
  399. <xsl:call-template name="getTextBox">
  400. <xsl:with-param name="promptLocale" select="$promptLocale"/>
  401. <xsl:with-param name="promptFormName" select="$promptFormName"/>
  402. <xsl:with-param name="promptRequired" select="'false'"/>
  403. <xsl:with-param name="promptId" select="'stringValueTo'"/>
  404. <xsl:with-param name="promptHideText" select="'false'"/>
  405. <xsl:with-param name="promptMultiLine" select="'false'"/>
  406. <xsl:with-param name="promptParameter" select="'stringParam2'"/>
  407. <xsl:with-param name="promptReadOnly" select="'true'"/>
  408. </xsl:call-template>
  409. </td>
  410. <td id="buttonContainer2"/>
  411. </tr>
  412. </table>
  413. </td>
  414. </tr>
  415. </xsl:if>
  416. <tr>
  417. <td>
  418. <input type="radio" name="toValue">
  419. <xsl:if test="not(/root/env/param[@name='xxToValue'])">
  420. <xsl:attribute name="checked">true</xsl:attribute>
  421. </xsl:if>
  422. </input>
  423. </td>
  424. <td class="formText">
  425. <img width="10">
  426. <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>
  427. </img>
  428. <xts:string id="FILTER_HIGHEST_VALUE"/>
  429. </td>
  430. </tr>
  431. </table>
  432. </lyt:section>
  433. </lyt:layout>
  434. <lyt:layout style="1" border="no" joinSection="true">
  435. <lyt:section>
  436. <qsdlg:nullOptions/>
  437. <qsdlg:filterBasedOnDSBox/>
  438. </lyt:section>
  439. </lyt:layout>
  440. </td>
  441. </tr>
  442. <tr>
  443. <td width="100%" height="0%">
  444. <!-- Use default buttons [ OK = execute() and CANCEL = hideDialogFrame() ] -->
  445. <qsdlg:defaultButtons/>
  446. </td>
  447. </tr>
  448. <!-- <dbg:dumpxml select="/"/> -->
  449. </table>
  450. </form>
  451. </dp:page>
  452. </xsl:template>
  453. </xsl:stylesheet>
  454. </xts:block>
  455. </xts:morphlet>