123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573 |
- <xts:morphlet resolverBase="prompting" xmlns:xts="http://developer.cognos.com/schemas/xts/" messageBase="messages/QSRVUITextPL.xml,messages/portal.xml,messages/portalRL.xml" requiredCapability="canUseQueryStudio, canUseQueryStudioAdvancedMode">
- <!--
- Licensed Materials - Property of IBM
- BI and PM: qs
- (C) Copyright IBM Corp. 2001, 2017
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <!--
- Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
- Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
- -->
- <xts:block id="format" type="exec" mode="output" processor="XSLT" mimeType="text/html">
- <!-- get the debug logic sheet -->
- <xts:logicsheet path="logicsheets/debuglogic.xslt"/>
- <!-- get the new theme stuff -->
- <xts:logicsheet path="logicsheets/portal.xsl"/>
- <xts:logicsheet path="qs/logicsheets/dialogs.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/layout.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/dialog/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/framework.xsl"/>
- <xts:logicsheet path="logicsheets/presentation/controls/presentation.xsl"/>
- <xts:logicsheet path="logicsheets/cm-logic.xsl"/>
- <!-- apply the form logic -->
- <xts:logicsheet path="logicsheets/formlogic.xslt"/>
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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:qsdlg="http://developer.cognos.com/schemas/xts/logicsheets/xslt/qs/dialog/" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt" exclude-result-prefixes="xsl xts lyt pf dp df cp cf dbg qsdlg xtsext">
- <xsl:output method="html" version="1.0" encoding="UTF-8" indent="no"/>
- <!-- Default variables (like skin) and prompt variables -->
- <qsdlg:variables/>
- <qsdlg:promptVariables/>
- <xsl:include href="p_include.xsl"/>
- <!-- add any theme variables -->
- <df:variables/>
- <pf:variables/>
- <!-- start the output -->
- <xsl:template match="/root">
- <xsl:variable name="xxType" select="/root/env/param[@name='xxType']"/>
- <!--Get HTML output for the HEAD section -->
- <dp:page>
- <dp:script>
- <xsl:call-template name="getPromptCommonIncludes"/>
- <xsl:choose>
- <xsl:when test="$xxType=1">
- <xsl:call-template name="getselectDateIncludes">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$xxType=2">
- <xsl:call-template name="getselectTimeIncludes">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$xxType=3">
- <xsl:call-template name="getselectDateTimeIncludes">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$xxType=4">
- <xsl:call-template name="getintervalFieldIncludes">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
- </xsl:call-template>
- </xsl:when>
- <xsl:when test="$xxType=5">
- <xsl:call-template name="getselectValueIncludes">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptContentLocale" select="$contentLocale"/>
- </xsl:call-template>
- </xsl:when>
- </xsl:choose>
- <link rel="stylesheet" type="text/css" href="{$qsdlgskin}/qs/QSRVDialog.css" />
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/layout.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/dialogs/filterDialog.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CDialogManager.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/qs/classes/CWindowManager.js</xsl:attribute>
- <xsl:text/>//<xsl:text/>
- </script>
- <script type="text/javascript"><!--
- var goDialogManager = new CDialogManager();
- var cf = getConfigFrame();
- var onlyPrompt;
- var complexFilterType = "picklist";
- var requestTracking = "";
- var sCancelIndicator = "<xts:string id="CANCELING_INDICATOR" encode="javascript"/>";
- function cancelDialog()
- {
- if(requestTracking == "")
- {
- getConfigFrame().hideCModal();
- }
- else
- {
- showCancellingIndicator();
- var urlParams = "b_action=xts.run&m=portal/om-request.xts&ui.action=cancel";
- urlParams += "&m_tracking=" + encodeURIComponent(requestTracking);
- // reset the request tracking since the conversation is complete
- requestTracking = "";
- cf.sendDispatcherRequest(urlParams, cancelResponse);
- }
- }
- function cancelResponse(response)
- {
- getConfigFrame().hideCModal();
- }
- function execute()
- {
- var cf = getConfigFrame();
- var fct = cf.dlgGlobalGetParm("csCALLBACK");
- var param = "";
- <xsl:choose>
- <xsl:when test="$xxType=1">
- if(pickerControldatePicker.isValid()) {
- param = pickerControldatePicker.sGetValue();
- }
- </xsl:when>
- <xsl:when test="$xxType=2">
- if(timePickertimePicker.isValid()) {
- param += " " + timePickertimePicker.sGetValue();
- }
- </xsl:when>
- <xsl:when test="$xxType=3">
- if(pickerControldatePicker.isValid()) {
- param = pickerControldatePicker.sGetValue();
- }
- if(!timePickertimePicker.m_bDisabled && timePickertimePicker.isValid()) {
- param += " " + timePickertimePicker.sGetValue();
- }
- //param = new Array(param, pickerControldatePicker.sGetFormatValue() + " " + timePickertimePicker.sGetFormatValue());
- </xsl:when>
- <xsl:when test="$xxType=4">
- param = intervalControlintervalPicker.sGetValue();
- </xsl:when>
- <xsl:when test="$xxType=5">
- param = buildValues();
- </xsl:when>
- </xsl:choose>
- if (typeof fct == "function") {
- fct(param <xsl:if test="$xxType=5">,getNullOption()</xsl:if>);
- }
- getConfigFrame().hideCModal();
- }
- function buildValues()
- {
- if (someCheckedSomeUnchecked())
- {
- var a = new Array();
- for (i = 0; i < checkBoxListpList.m_oForm.length; i++)
- {
- if ( checkBoxListpList.m_oForm[i].checked )
- {
- var value = checkBoxListpList.m_oForm[i].value;
- var text = cf.getDisplayValueForOption(checkBoxListpList.m_oForm[i]);
- a[a.length] = new cf.CFilterValue(value,text);
- }
- }
- return a;
- }
- return null;
- }
- function someCheckedSomeUnchecked()
- {
- return ((checkBoxListpList.m_iSelectedCount > 0) && (checkBoxListpList.m_iItemCount > checkBoxListpList.m_iSelectedCount));
- }
- function init()
- {
- document.body.className = 'body_dialog_modal';
- <xsl:if test="$xxType=5">
- initNullOptions();
- sendRequestForList();
- </xsl:if>
- <xsl:if test="$xxType=3 and /root/env/param[@name='xxTime']=''">
- if (timePickertimePicker && typeof timePickertimePicker.toggleDisable == 'function') {
- timePickertimePicker.toggleDisable(false);
- }
- if (document.f.chkAnyValuetimePicker) {
- document.f.chkAnyValuetimePicker.checked = false;
- }
- </xsl:if>
- }
- function invokeSearchDlg(sNullOption)
- {
- var cf = getConfigFrame();
- cf.dlgSetParm("m", "/" + cf.qs_dir + "/condStylesSearch.xts");
- <!--
- // we disable the Null Option ui for conditional styles.
- // it will interfere with Xtab's styling solution
- cf.dlgGlobalSetParm('xxIsNullAllowed', true);
- cf.dlgGlobalSetParm('xxNullOption', sNullOption);
- -->
- cf.showModal("<xts:string id="COND_STYLE_PICKER_SEARCH_TITLE" encode="javascript"/>", "<xts:string id="CLOSE" encode="javascript"/>",575, 425);
- }
- function invokeTypeDlg(sNullOption)
- {
- var cf = getConfigFrame();
- cf.dlgSetParm("m", "/" + cf.qs_dir + "/condStylesEditBox.xts");
- <!--
- // we disable the Null Option ui for conditional styles.
- // it will interfere with Xtab's styling solution
- cf.dlgGlobalSetParm('xxIsNullAllowed', true);
- cf.dlgGlobalSetParm('xxNullOption', sNullOption);
- -->
- cf.showModal("<xts:string id="COND_STYLE_PICKER_TYPE_TITLE" encode="javascript"/>", "<xts:string id="CLOSE" encode="javascript"/>", 525, 325);
- }
- function sendRequestForList()
- {
- showLoading();
- var url = "m=/" + cf.qs_dir + "/filterPickListRequest.xts&b_action=xts.run";
- if (cf.dlgGlobalGetParm('xxFullColExpression'))
- url += "&xxFullColExpression=" + encodeURIComponent(cf.dlgGlobalGetParm('xxFullColExpression'));
- if (cf.dlgGlobalGetParm('xxModelName'))
- url += "&xxModelName=" + encodeURIComponent(cf.dlgGlobalGetParm('xxModelName'));
- if (cf.dlgGlobalGetParm('xxColid'))
- url += "&xxColid=" + encodeURIComponent(cf.dlgGlobalGetParm('xxColid'));
- if (cf.dlgGlobalGetParm('xxLevelNumber'))
- url += "&xxLevelNumber=" + encodeURIComponent(cf.dlgGlobalGetParm('xxLevelNumber'));
- if (cf.dlgGlobalGetParm('xxExprLocale'))
- url += "&xxExprLocale=" + encodeURIComponent(cf.dlgGlobalGetParm('xxExprLocale'));
- if (cf.dlgGlobalGetParm('xxExecutionParameters'))
- url += "&xxExecutionParameters=" + encodeURIComponent(cf.dlgGlobalGetParm('xxExecutionParameters'));
- for (var i = 0; i < cf.dlgGlobalSize('xxPromptValues'); i++) {
- url += "&xxPromptValues=" + encodeURIComponent(cf.dlgGlobalGetParmAt('xxPromptValues', i));
- }
- url += "&xxListSeparator=" + encodeURIComponent(goDialogManager.getMiniQueryManager().getListSeparator());
- for (var i = 0; i < cf.dlgGlobalSize('xxOtherColIds'); i++)
- url += "&xxOtherCols=" + cf.dlgGlobalConstructPairParm(url, encodeURIComponent(cf.dlgGlobalGetParmAt('xxOtherColIds', i)), encodeURIComponent(cf.dlgGlobalGetParmAt('xxOtherColExps', i)));
- if (cf.cafContextId != "")
- url += "&ui.cafcontextid=" + cf.cafContextId;
- if (typeof cf.routingServerGroup != "undefined") {
- url += "&ui.routingServerGroup=" + encodeURIComponent(cf.routingServerGroup);
- }
- url += "&xxIsCondStyle=true";
- url += "&textBoxControl=checkBoxListpList";
- cf.sendDispatcherRequest(url, processResponse);
- }
- function sendWaitRequest(url)
- {
- cf.sendDispatcherRequest(url, processResponse);
- }
- function processResponse(response)
- {
- hideLoading();
- if (!cf.checkResponse(response, document, "condStyles", init))
- {
- return;
- }
- eval(response);
- if(typeof status != "undefined" && status == "working" && typeof tracking != "undefined" &&tracking != "")
- {
- showLoading();
- requestTracking = tracking;
- var url = "m=/" + cf.qs_dir + "/filterPickListRequest.xts&b_action=xts.run&ui.action=wait&m_tracking=";
- url += tracking;
- if (cf.cafContextId != "")
- url += "&ui.cafcontextid=" + cf.cafContextId;
- setTimeout("sendWaitRequest('" + url + "');", 100);
- }
- else
- {
- // reset the request tracking since the conversation is complete
- requestTracking = "";
- var allCheckBoxes = document.f.p_pickList;
- if (typeof allCheckBoxes != "undefined")
- {
- var numFound = 0;
- for (var i = 0; i < allCheckBoxes.length; i++)
- {
- for (var j = 0; j < cf.dlgGlobalSize("xxPickList"); j++)
- {
- var useValue = fd_getUseValue(cf.dlgGlobalGetParmAt("xxPickList", j));
- if (allCheckBoxes[i].value.toUpperCase() == useValue.toUpperCase())
- {
- allCheckBoxes[i].checked = true;
- checkBoxListpList.updateSelected(true);
- checkBoxListpList.checkData();
- numFound++;
- break;
- }
- }
- if (numFound == cf.dlgGlobalSize("xxPickList")) {
- break;
- }
- }
- }
- cf.dlgGlobalRemoveParm("xxPickListIsLoaded");
- }
- }
- function showCancellingIndicator()
- {
- var theDiv = document.getElementById("loadingDiv");
- if(theDiv)
- {
- var oldSpanText = theDiv.getElementsByTagName("SPAN");
- if(oldSpanText.length > 0)
- {
- var newSpanText = document.createElement("SPAN");
- newSpanText.appendChild(document.createTextNode(sCancelIndicator));
- theDiv.replaceChild(newSpanText, oldSpanText[0]);
- }
- }
- }
- function showLoading()
- {
- var theParent = document.getElementById("selectListpList");
- var newDiv = document.createElement("DIV");
- newDiv.id = "loadingDiv";
- newDiv.className = "clsCheckBox";
- var loadingIcon = document.createElement("IMG");
- loadingIcon.align = "middle";
- loadingIcon.src = cf.TREE_LOADING;
- newDiv.appendChild(loadingIcon);
- var newSpanText = document.createElement("SPAN");
- newSpanText.appendChild(document.createTextNode(PMT_TRE_TREE_LOADING));
- newSpanText.style.paddingLeft = "4px";
- newDiv.appendChild(newSpanText);
- newDiv.style.verticalAlign = "middle";
- newDiv.style.padding = "2px";
- theParent.appendChild(newDiv);
- }
- function hideLoading()
- {
- var theDiv = document.getElementById("loadingDiv");
- theDiv.parentNode.removeChild(theDiv);
- }
- function refreshContent()
- {
- if (typeof pickerControldatePicker == "object")
- {
- //redraw the dialog
- pickerControldatePicker.m_oDatePickerDialog.refreshDate(pickerControldatePicker.m_oDatePickerDialog.m_oParentControl.m_dDate);
- //repaint date control
- pickerControldatePicker.m_oDatePickerDialog.m_oParentControl.drawDate();
- //update the parent control and check the date
- pickerControldatePicker.m_oDatePickerDialog.m_oParentControl.checkDate(pickerControldatePicker.m_oDatePickerDialog.m_oParentControl.m_oEditBox);
- }
- }
- //--></script>
- </dp:script>
- <form class="body_dialog_modal" style="margin:0px" name="f" method="POST" onsubmit="execute();return false;">
- <table border="0" cellspacing="0" cellpadding="0" height="100%" width="100%">
- <xsl:if test="$xxType=5">
- <tr>
- <td width="100%" height="0%">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" style="padding-left:5px;">
- <tr>
- <td width="10" valign="middle">
- <img width="10">
- <xsl:attribute name="src"><xsl:value-of select="$webRoot"/>/common/images/spacer.gif</xsl:attribute>
- </img>
- </td>
- <td align="right" valign="top">
- <table border="0" cellpadding="0" cellspacing="0"><tr>
- <td valign="top" nowrap="nowrap" class="dialogHeaderLink" align="right"><xsl:text/></td>
- <xsl:if test="/root/env/param[@name='xxIsSearchAllowed'] != 'false'">
- <td valign="top" nowrap="nowrap" class="dialogHeaderLink" align="right">
- <a href="javascript:invokeSearchDlg(getNullOption())">
- <xts:string id="FILTER_SEARCH_FOR_VALUES"/>
- </a>
- </td>
- </xsl:if>
- <xsl:if test="not(contains(' level hierarchy ',concat(' ',/root/env/param[@name='xxDataType'],' ')))">
- <td valign="top" nowrap="nowrap" class="dialogHeaderLink" align="right">
- <a href="javascript:invokeTypeDlg(getNullOption())">
- <xts:string id="FILTER_TYPE_IN_VALUES"/>
- </a>
- </td>
- </xsl:if>
- </tr></table>
- </td></tr>
- </table>
- </td>
- </tr>
- </xsl:if>
- <tr>
- <td width="100%" height="100%" valign="top" style="overflow:auto;">
- <!-- layout -->
- <lyt:layout style="1" border="no">
- <lyt:section>
- <xsl:choose>
- <xsl:when test="$xxType=1">
- <dp:input>
- <dp:section1></dp:section1>
- <dp:section2>
- <xsl:variable name="date1">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxDate']">
- <xsl:value-of select="/root/env/param[@name='xxDate']"/>
- </xsl:when>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectDate">
- <xsl:with-param name="promptId" select="'datePicker'"/>
- <xsl:with-param name="promptDefaultDate" select="$date1"/>
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'true'"/>
- <xsl:with-param name="promptHideAdornments" select="'true'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- </xsl:when>
- <xsl:when test="$xxType=2">
- <dp:input>
- <dp:section1><xts:string id="FILTER_TIME"/></dp:section1>
- <dp:section2>
- <xsl:variable name="time1">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxTime']">
- <xsl:value-of select="/root/env/param[@name='xxTime']"/>
- </xsl:when>
- <xsl:otherwise>00:00:00.000</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectTime">
- <xsl:with-param name="promptId" select="'timePicker'"/>
- <xsl:with-param name="promptDefaultValue" select="$time1"/>
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'false'"/>
- <xsl:with-param name="promptSelectUI" select="'editBox'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- </xsl:when>
- <xsl:when test="$xxType=3">
- <dp:input>
- <dp:section1></dp:section1>
- <dp:section2>
- <xsl:variable name="date1">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxDate']">
- <xsl:value-of select="/root/env/param[@name='xxDate']"/>
- </xsl:when>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectDate">
- <xsl:with-param name="promptId" select="'datePicker'"/>
- <xsl:with-param name="promptDefaultDate" select="$date1"/>
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'true'"/>
- <xsl:with-param name="promptHideAdornments" select="'true'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- <dp:input>
- <dp:section1><xts:string id="FILTER_TIME"/></dp:section1>
- <dp:section2>
- <xsl:variable name="time1">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxTime']">
- <xsl:value-of select="/root/env/param[@name='xxTime']"/>
- </xsl:when>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectTime">
- <xsl:with-param name="promptId" select="'timePicker'"/>
- <xsl:with-param name="promptDefaultValue" select="$time1"/>
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'false'"/>
- <xsl:with-param name="promptSelectUI" select="'editBox'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- </xsl:when>
- <xsl:when test="$xxType=4">
- <dp:input>
- <dp:section1></dp:section1>
- <dp:section2>
- <xsl:variable name="interval1">
- <xsl:choose>
- <xsl:when test="/root/env/param[@name='xxInterval']">
- <xsl:value-of select="/root/env/param[@name='xxInterval']"/>
- </xsl:when>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectInterval">
- <xsl:with-param name="promptId" select="'intervalPicker'"/>
- <xsl:with-param name="promptDefaultValue" select="$interval1"/>
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'false'"/>
- <xsl:with-param name="suppressDisabled" select="'true'"/>
- <xsl:with-param name="promptShowSeconds" select="'true'"/>
- <xsl:with-param name="promptParameter" select="'parameter1'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- </xsl:when>
- <xsl:when test="$xxType=5">
- <dp:input>
- <dp:section1>
- <xts:string id="COND_STYLE_PICKLIST_SELECTION_LABEL"/>
- </dp:section1>
- <dp:section2>
- <xsl:variable name="showParentDetails">
- <xsl:choose>
- <xsl:when test="number(/root/env/param[@name='xxLevelNumber']) > 0">true</xsl:when>
- <xsl:otherwise>false</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:call-template name="getSelectValue">
- <xsl:with-param name="promptLocale" select="$promptLocale"/>
- <xsl:with-param name="promptFormName" select="$promptFormName"/>
- <xsl:with-param name="promptRequired" select="'false'"/>
- <xsl:with-param name="promptMultiSelect" select="'true'"/>
- <xsl:with-param name="promptSelectUI" select="'checkboxGroup'"/>
- <xsl:with-param name="promptAutoSubmit" select="'false'"/>
- <xsl:with-param name="promptParameter" select="'pickList'"/>
- <xsl:with-param name="promptId" select="'pList'"/>
- <xsl:with-param name="promptStyle" select="'height:165px;'"/>
- <xsl:with-param name="promptShowParentDetails" select="$showParentDetails"/>
- </xsl:call-template>
- </dp:section2>
- </dp:input>
- <qsdlg:nullOptions/>
- </xsl:when>
- </xsl:choose>
- </lyt:section>
- </lyt:layout>
- </td>
- </tr>
- </table>
- </form>
- </dp:page>
- </xsl:template>
- </xsl:stylesheet>
- </xts:block>
- </xts:morphlet>
|