1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: ps
- (C) Copyright IBM Corp. 2005, 2016
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- -->
- <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:ut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/ui-templates/"
- xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
- xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
- xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
- xmlns:xts="http://developer.cognos.com/schemas/xts/"
- xmlns:cms="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cms/1/"
- xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
- xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
- xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
- xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/"
- xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
- xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
- xmlns:x="x"
- xmlns:out="dummy-uri" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
- exclude-result-prefixes="dt lyt ut dp cm utml xts cms pf cf cp send x xtsext">
- <xsl:output method="xml" encoding="UTF-8" indent="no"/>
- <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
- <!--
- ut:propDefaultActionSection
- ut:format (new version of template)
- ut:selectBaseInteractivity
- ut:refreshReportCache
- ut:runTo
- ut:language (new version of template)
- ut:burst(new version of template)
- ut:delivery (new version of template)
- ut:prompt (new version of template)
- ut:jobUI (new version of template)
- ut:taskSummaryUI
- -->
- <!--
- ===============================================================================================
- ut:propDefaultActionSection : Default action selection menu in report properties page.
- These variables are used by this template and must be defined in the block using this template:
- studioName: contains the studio name. Example "Query Studio"
- defaultAction: One of run, edit, or viewOutput
- ===============================================================================================
- -->
- <xsl:template match="ut:propDefaultActionSection">
- <dp:input>
- <dp:section1><dp:label for="defaultPortalAction"><xts:string id="IDS_PROP_RUN_DEFAULT_ACTION"/></dp:label></dp:section1>
- <dp:section>
- <out:choose>
- <out:when test="key('env-param','m_class') = 'powerPlayReport'">
- <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
- <utml:default-value>
- <out:value-of select="$defaultAction"/>
- </utml:default-value>
- <utml:option value="run">
- <xts:string id="IDS_ACT_RUN_PDF_EX"/>
- </utml:option>
- <utml:option value="edit">
- <xts:string id="IDS_ACT_EDIT_WPPWX"/>
- </utml:option>
- </utml:select>
- </out:when>
- <out:when test="key('env-param','m_class') = 'powerPlay8Report' or key('env-param','m_class') = 'powerPlay8ReportView'">
- <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
- <utml:default-value>
- <out:value-of select="$defaultAction"/>
- </utml:default-value>
- <utml:option value="viewOutput">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_VIEW_RECENT_REPORT"/>
- </utml:option>
- <utml:option value="run">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_RUN_REPORT"/>
- </utml:option>
- <out:if test="key('env-param','m_class') = 'powerPlay8Report'">
- <utml:option value="edit">
- <xts:string id="IDS_ACT_EDIT_WPPWX8"/>
- </utml:option>
- </out:if>
- </utml:select>
- </out:when>
- <out:when test="key('env-param','m_class') = 'package'">
- <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
- <utml:default-value>
- <out:value-of select="$defaultAction"/>
- </utml:default-value>
- <utml:option value="run">
- <xsl:choose>
- <xsl:when test="@package='metrics'"><xts:string id="IDS_ACT_OPEN_WCMM"/></xsl:when>
- <xsl:when test="@package='planning'"><xts:string id="IDS_ACT_OPEN_WCR"/></xsl:when>
- <xsl:when test="@package='aatoc'"><xts:string id="IDS_ACT_OPEN_WAA"/></xsl:when>
- </xsl:choose>
- </utml:option>
- <utml:option value="view">
- <xsl:choose>
- <xsl:when test="@package='metrics'"><xts:string id="IDS_ACT_VIEW_WCC"/></xsl:when>
- <xsl:when test="@package='planning'"><xts:string id="IDS_ACT_VIEW_WPP"/></xsl:when>
- <xsl:when test="@package='aatoc'"><xts:string id="IDS_ACT_VIEW_WAA"/></xsl:when>
- </xsl:choose>
- </utml:option>
- </utml:select>
- </out:when>
- <!-- agentDefinitions and agentDefinitionViews -->
- <out:when test="key('env-param','m_class') = 'agentDefinition' or key('env-param','m_class') = 'agentDefinitionView'">
- <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
- <utml:default-value>
- <out:value-of select="$defaultAction"/>
- </utml:default-value>
- <utml:option value="viewEventList">
- <xts:string id="IDS_ACT_HOTLIST_AGS"/>
- </utml:option>
- <utml:option value="run">
- <xts:string id="IDS_ACT_RUN_AGENT"/>
- </utml:option>
- <out:if test="key('env-param','m_class')!='agentDefinitionView'">
- <utml:option value="edit">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_OPEN_WITH_STUDIO">
- <xts:param name="studio">
- <out:value-of select="$studioName"/>
- </xts:param>
- </xts:string>
- </utml:option>
- </out:if>
- </utml:select>
- </out:when>
- <out:otherwise>
- <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
- <utml:default-value>
- <out:value-of select="$defaultAction"/>
- </utml:default-value>
- <utml:option value="viewOutput">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_VIEW_RECENT_REPORT"/>
- </utml:option>
- <utml:option value="run">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_RUN_REPORT"/>
- </utml:option>
- <out:if test="key('env-param','m_class')!='reportView'">
- <utml:option value="edit">
- <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_OPEN_WITH_STUDIO">
- <xts:param name="studio">
- <out:value-of select="$studioName"/>
- </xts:param>
- </xts:string>
- </utml:option>
- </out:if>
- </utml:select>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:input>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:formatSelectList
- @addFormatSubOptions - On the advanced run with options dialog, we need to show/hide the extra
- options depending on which format is selected. For example, when PDF is
- selected we need to show the PDF options.
- ===============================================================================================
- -->
- <xsl:template match="ut:formatSelectList">
- <dp:choice title="IDS_PROP_RUN_FORMAT" id="lbl_outputFormat">
- <dp:section1>
- <out:variable name="defaultFormat">
- <out:choose>
- <out:when test="key('env-param','m_ro_outputFormat')"><out:value-of select="key('env-param','m_ro_outputFormat')"/></out:when>
- <out:otherwise>HTML</out:otherwise>
- </out:choose>
- </out:variable>
- <out:variable name="mClass" select="key('env-param','m_class')"/>
- <out:variable name="stepClass" select="key('env-param','step_class')"/>
- <out:variable name="formatSelectList_isInteractiveReport" select="$mClass='interactiveReport' or $stepClass='interactiveReport' or (($mClass='reportView' or $stepClass='reportView') and string(/root/cm:queryResponse/cm:queryReply/*/cm:base/*/cm:objectClass)='interactiveReport')"/>
- <out:variable name="isPowerPlay8Report" select="key('env-param', 'm_class')='powerPlay8Report' or key('env-param', 'm_class')='powerPlay8ReportView'"/>
- <out:choose>
- <!-- powerPlay8Reports only support PDF -->
- <out:when test="$isPowerPlay8Report">
- <utml:input type="hidden" name="m_pp8ro_outputFormat" utml:update="false">
- <utml:value>PDF</utml:value>
- </utml:input>
- <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:text>
- </out:when>
- <!-- interactiveReports only support HTML -->
- <out:when test="$formatSelectList_isInteractiveReport">
- <utml:input type="hidden" name="m_ro_outputFormat" utml:update="false">
- <utml:value>HTML</utml:value>
- </utml:input>
- <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></dp:text>
- </out:when>
- <out:otherwise>
- <utml:select name="m_ro_outputFormat" id="outputFormat" aria-labelledby="lbl_outputFormat" utml:track="true">
- <utml:default-value>
- <out:value-of select="$defaultFormat"/>
- </utml:default-value>
- <xsl:if test="@addFormatSubOptions">
- <out:attribute name="onchange">updateSubOptions();</out:attribute>
- </xsl:if>
- <out:for-each select="key('system-param', 'reportFormats')/format[not(contains(@browserHide, $browser)) and contains(@appMode, 'basic') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <xsl:choose>
- <xsl:when test="@show_all='true'">
- <utml:option>
- <utml:value><out:value-of select="@id"/></utml:value>
- <out:value-of select="$formatNameLookUp/formats/format[@id = current()/@id]"/>
- </utml:option>
- </xsl:when>
- <xsl:otherwise>
- <out:variable name="isExcelFormat" select="@id = 'spreadsheetML' or @id = 'xlsxData' or @id = 'XLWA' or @id = 'singleXLS' or @id = 'XLS'"/>
- <out:if test="not((@id = 'CSV' and not($userCanGenerateCSVOutput)) or (@id = 'PDF' and not($userCanGeneratePDFOutput)) or (@id = 'XML' and not($userCanGenerateXMLOutput)) or ($isExcelFormat and not($userCanGenerateXLSOutput)))">
- <utml:option>
- <utml:value><out:value-of select="@id"/></utml:value>
- <out:value-of select="$formatNameLookUp/formats/format[@id = current()/@id]"/>
- </utml:option>
- </out:if>
- </xsl:otherwise>
- </xsl:choose>
- </out:for-each>
- </utml:select>
- <xsl:if test="@addFormatSubOptions = 'true'">
- <!-- pdf options -->
- <cf:dynamicDiv name="div_pdfOptions" runTimeVisibleCheck="$defaultFormat = 'PDF'">
-
- <out:choose>
- <out:when test="$form-read-only = 'true'">
- <!-- page orientation -->
- <dp:list title="IDS_OTHERRUN_ORIENTATION">
- <dp:section>
- <out:choose>
- <out:when test="key('env-param', 'm_ro_outputPageOrientation')='landscape'">
- <dp:text><xts:string id="IDS_OTHERRUN_LANDSCAPE"/></dp:text>
- </out:when>
- <out:when test="key('env-param', 'm_ro_outputPageOrientation')='portrait'">
- <dp:text><xts:string id="IDS_OTHERRUN_PORTRAIT"/></dp:text>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DEFAULT"/></dp:text>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:list>
- </out:when>
- <out:otherwise>
- <!-- page orientation -->
- <dp:list title="IDS_OTHERRUN_ORIENTATION" for="pageOrienationRunNow">
- <dp:section>
- <utml:select name="m_ro_outputPageOrientation" id="pageOrienationRunNow" utml:track="true">
- <utml:default-value>
- <out:choose>
- <out:when test="key('env-param', 'm_ro_outputPageOrientation')">key('env-param', 'm_ro_outputPageOrientation')</out:when>
- <out:otherwise>default</out:otherwise>
- </out:choose>
- </utml:default-value>
- <utml:option>
- <utml:value>default</utml:value>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </utml:option>
- <utml:option>
- <utml:value>portrait</utml:value>
- <xts:string id="IDS_OTHERRUN_PORTRAIT"/>
- </utml:option>
- <utml:option>
- <utml:value>landscape</utml:value>
- <xts:string id="IDS_OTHERRUN_LANDSCAPE"/>
- </utml:option>
- </utml:select>
- </dp:section>
- </dp:list>
- </out:otherwise>
- </out:choose>
- <!-- paper size -->
- <out:if test="/root/cm:queryResponse/cm:queryReply/cm:pageDefinition">
- <out:choose>
- <out:when test="$form-read-only = 'true'">
- <dp:list title="IDS_OTHERRUN_PAPERSIZE">
- <dp:section>
- <out:choose>
- <out:when test="key('env-param','m_ro_outputPageDefinition')">
- <dp:text><out:value-of select="/root/cm:queryResponse/cm:queryReply/cm:pageDefinition[string(cm:searchPath)=key('env-param','m_ro_outputPageDefinition')]/cm:defaultName"/></dp:text>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DEFAULT"/></dp:text>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:list>
- </out:when>
- <out:otherwise>
- <dp:list title="IDS_OTHERRUN_PAPERSIZE" for="pageDefinitionRunNow">
- <dp:section>
- <utml:select name="m_ro_outputPageDefinition" id="pageDefinitionRunNow" utml:track="true">
- <utml:option>
- <out:if test="not(key('env-param','m_ro_outputPageDefinition'))">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>default</utml:value>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </utml:option>
- <out:for-each select="/root/cm:queryResponse/cm:queryReply/cm:pageDefinition">
- <utml:option>
- <out:if test="(string(cm:searchPath)=key('env-param','m_ro_outputPageDefinition'))">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value><out:value-of select="cm:searchPath"/></utml:value>
- <out:value-of select="cm:defaultName"/>
- </utml:option>
- </out:for-each>
- </utml:select>
- </dp:section>
- </dp:list>
- </out:otherwise>
- </out:choose>
- </out:if>
- </cf:dynamicDiv>
- <!-- html options -->
- <cf:dynamicDiv name="div_htmlOptions" runTimeVisibleCheck="$defaultFormat = 'HTML'">
- <dp:list>
- <dp:section>
- <dp:label for="view_verticalElements"><xts:string id="IDS_OTHERRUN_VERTICAL_ELEMENTS"/></dp:label>
- </dp:section>
- <dp:section>
- <xsl:call-template name="gen-elements-select">
- <xsl:with-param name="control-name" select="'view_verticalElements'"/>
- <xsl:with-param name="option-name" select="'m_ro_verticalElements'"/>
- <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
- </xsl:call-template>
- </dp:section>
- </dp:list>
- <xsl:call-template name="ut:selectBaseInteractivity">
- <xsl:with-param name="id" select="'view_selectionBasedFeatures'"/>
- <xsl:with-param name="runAndView" select="true()"/>
- </xsl:call-template>
- </cf:dynamicDiv>
- </xsl:if>
- </out:otherwise>
- </out:choose>
- </dp:section1>
- </dp:choice>
- </xsl:template>
- <xsl:template match="ut:verticalElements">
- <xsl:variable name="control-name" select="@control-name"/>
- <xsl:variable name="option-name" select="@option-name"/>
- <xsl:variable name="id" select="@id"/>
- <dp:list>
- <dp:section>
- <dp:label for="{$control-name}"><xts:string id="IDS_OTHERRUN_NUMBER_OF_ROWS_HTML_DIALOG"/></dp:label>
- </dp:section>
- <dp:section>
- <xsl:call-template name="gen-elements-select">
- <xsl:with-param name="control-name" select="$control-name"/>
- <xsl:with-param name="option-name" select="$option-name"/>
- <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
- </xsl:call-template>
- </dp:section>
- </dp:list>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:selectBaseInteractivity
- ===============================================================================================
- -->
- <xsl:template name="ut:selectBaseInteractivity" match="ut:selectBaseInteractivity">
- <xsl:param name="id" select="''"/>
- <xsl:param name="runAndView" select="false()"/>
- <xsl:param name="enableUsingEnv" select="false()"/>
- <xsl:variable name="calculatedId">
- <xsl:choose>
- <xsl:when test="string($id) != ''"><xsl:value-of select="$id"/></xsl:when>
- <xsl:otherwise>id_sectionBasedFeatures</xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <dp:choice noSpace="true">
- <dp:section1>
- <utml:input type="checkbox" value="true">
- <xsl:attribute name="name">
- <xsl:choose>
- <xsl:when test="$runAndView">view_selectionBasedFeatures</xsl:when>
- <xsl:otherwise>m_ro_selectionBasedFeatures</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xsl:if test="not($runAndView)">
- <xsl:attribute name="uncheckedValue" namespace="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/">false</xsl:attribute>
- </xsl:if>
- <xsl:attribute name="id"><xsl:value-of select="$calculatedId"/></xsl:attribute>
- </utml:input>
- </dp:section1>
- <dp:section2 for="{$calculatedId}">
- <div>
- <xsl:choose>
- <xsl:when test="@propertyDialog = 'true'">
- <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY_PROPERTY_DIALOG"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY"/>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </dp:section2>
- </dp:choice>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:refreshReportCache
- ===============================================================================================
- -->
- <xsl:template match="ut:refreshReportCache">
- <dp:textarea wrap="true" width="100%">
- <!-- refresh the Report Cache description -->
- <dp:section1>
- <xts:string id="IDS_PROP_RUN_REPORT_CACHE"/>
- </dp:section1>
- <dp:section3 width="100%">
- <dp:section1 width="100%">
- <dp:box width="100%">
- <!-- refresh report cache section -->
- <dp:boxSection width="50%">
- <dp:choice noSpace="true">
- <!-- refresh report cache checkbox -->
- <dp:section1>
- <utml:input type="checkbox" value="refresh" utml:uncheckedValue="none" name="m_ro_promptCacheMode" id="promptCacheMode" onclick="onClickRefreshReportCache(this.checked);"/>
- </dp:section1>
- <dp:section2 for="promptCacheMode">
- <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE"/>
- </dp:section2>
- <dp:section3>
- <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE_DESC1"/>
- <out:if test="/root/cm:queryResponse/cm:queryReply[3]/cm:reportCache/*">
- <out:variable name="clearLink">
- <xts:string id="IDS_PROP_RUN_CLEAR_REPORT_CACHE"/>
- </out:variable>
- <out:variable name="clearPrompt">
- <xts:string id="IDS_ACT_CONF_CLEAR_CACHE" encode="javascript"/>
- </out:variable>
- <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE_DESC2">
- <xts:param name="clearLink">
- <utml:a utml:op="maintain">
- <utml:href>if ( confirm("<out:value-of select="$clearPrompt"/>") ) {document.pform.option_op.value = 'clear_report_cache';}</utml:href>
- <out:value-of select="$clearLink"/>
- </utml:a>
- </xts:param>
- </xts:string>
- </out:if>
- <script language="javascript">
- function onClickRefreshReportCache(isChecked)
- {
- var frm = document.pform;
- frm.duration_reportCache.disabled = !isChecked;
- frm.durationSelect_reportCache.disabled = !isChecked;
- }
- </script>
- <!-- report cache duration has form of P#M for months of P#D for days -->
- <out:variable name="duration_reportCache"><out:value-of select="$the-object/*[local-name()='retentions']/*[local-name()='retentionRule'][@objectClass='reportCache']/@maxDuration"/></out:variable>
- <out:variable name="days">
- <out:value-of select="substring-before(substring-after($duration_reportCache,'P'),'D')"/>
- </out:variable>
- <out:variable name="months">
- <out:value-of select="substring-before(substring-after($duration_reportCache,'P'),'M')"/>
- </out:variable>
- <out:variable name="daysDisplay"><xts:string id="IDS_PROP_RUN_DAYS"/></out:variable>
- <out:variable name="monthsDisplay"><xts:string id="IDS_PROP_RUN_MONTHS"/></out:variable>
- <dp:choice title='IDS_PROP_RUN_CACHE_DURATION' for="duration_reportCache">
- <dp:section1/>
- <dp:section2>
- <dp:group>
- <!-- duration input box -->
- <dp:groupItem>
- <utml:input type="text" name="duration_reportCache" id="duration_reportCache" size="3" maxlength="3">
- <utml:value>
- <out:choose>
- <out:when test="$days!=''"><out:value-of select="$days"/></out:when>
- <out:when test="$months!=''"><out:value-of select="$months"/></out:when>
- </out:choose>
- </utml:value>
- </utml:input>
- </dp:groupItem>
- <dp:groupItem>
- <dp:text/>
- </dp:groupItem>
- <!-- duration dropdown (days, months) -->
- <dp:groupItem>
- <out:variable name="unitsLabel"><xts:string id="IDS_PROP_RUN_CACHE_DURATION_UNITS"/></out:variable>
- <utml:select name="durationSelect_reportCache" aria-label="{'{$unitsLabel}'}">
- <utml:option value="days">
- <out:if test="$days!=''">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <out:value-of select="$daysDisplay"/>
- </utml:option>
- <utml:option value="months">
- <out:if test="$months!=''">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <out:value-of select="$monthsDisplay"/>
- </utml:option>
- </utml:select>
- </dp:groupItem>
- </dp:group>
- </dp:section2>
- </dp:choice>
- </dp:section3>
- </dp:choice>
- </dp:boxSection>
- </dp:box>
- </dp:section1>
- </dp:section3>
- </dp:textarea>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:a11yOption
- ===============================================================================================
- -->
- <xsl:template match="ut:a11yOption">
- <out:variable name="a11ySelected" select="false()"/>
- <out:variable name="a11ySupported" select="not(contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', $the-object/cm:objectClass, ' ')))"/>
- <out:if test="$a11ySupported and count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1">
- <dp:choice title="IDS_OTHERRUN_A11Y" noSpace="true">
- <dp:section1>
- <utml:input type="checkbox" name="m_go_accessibilityFeatures" id="m_go_accessibilityFeatures" value="true" utml:track="true" utml:default-condition="$a11ySelected"/>
- </dp:section1>
- <dp:section2>
- <dp:text><label for="m_go_accessibilityFeatures"><xts:string id="IDS_PROP_RUN_A11Y_SUPPORT"/></label></dp:text>
- </dp:section2>
- </dp:choice>
- </out:if>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:localeSelectList
- ===============================================================================================
- -->
- <xsl:template match="ut:localeSelectList">
- <out:variable name="default_locale">
- <out:if test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
- <out:choose>
- <out:when test="$the-object/cm:contentLocale/@nil != 'true'">
- <out:value-of select="translate( $the-object/cm:contentLocale, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' )"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="$contentLocale"/>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:variable>
- <dp:choice title="IDS_PROP_RUN_LANGUAGE" for="outputLocaleDropDown">
- <dp:section1>
- <utml:select size="1" name="m_ro_outputLocale" id="outputLocaleDropDown">
- <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale']">
- <utml:option>
- <out:if test="key('env-param','m_ro_outputLocale')=id or (not(key('env-param','m_ro_outputLocale')) and string(id)=$default_locale)">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value><out:value-of select="id"/></utml:value>
- <out:value-of select="displayName"/>
- </utml:option>
- </out:for-each>
- <xsl:if test="@allow_default_locale='true'">
- <utml:option>
- <out:if test="not(key('env-param','m_ro_outputLocale'))">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value></utml:value>
- <dp:text><xts:string id="IDS_PROP_LANGUAGE_DEFAULT"/></dp:text>
- </utml:option>
- </xsl:if>
- </utml:select>
- </dp:section1>
- </dp:choice>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:format
- ===============================================================================================
- -->
- <xsl:template match="ut:format">
- <out:call-template name="formatRunOptions">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:formatRunOptions">
- <out:template name="formatRunOptions">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <!-- used to see if a page contains this template -->
- <utml:input type="hidden" name="formatSection" value="true"/>
- <out:call-template name="formatTemplate">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </out:template>
- <out:template name="formatTemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <out:variable name="XLS2000_selected" select="key('env-param', 'm_ro_outputF_XLS2000_Type')='true'"/>
- <out:variable name="XLS2007_selected" select="key('env-param', 'm_ro_outputFormat_spreadsheetML')='spreadsheetML'"/>
- <out:variable name="XLS2007DATA_selected" select="key('env-param', 'm_ro_outputFormat_xlsxData')='xlsxData'"/>
- <out:variable name="XLWA_selected" select="key('env-param', 'm_ro_outputFormat_XLWA')='XLWA'"/>
- <out:variable name="XML_selected" select="key('env-param', 'm_ro_outputFormat_XML')='XML'"/>
- <out:variable name="CSV_selected" select="key('env-param', 'm_ro_outputFormat_CSV')='CSV'"/>
- <out:variable name="PDF_selected" select="/root/env/param[starts-with(@name,'m_ro_outputFormat')]='PDF'"/>
- <out:variable name="HTML_selected" select="key('env-param', 'm_ro_outputF_HTML_Type')='true' or (not($XLS2007_selected) and not($XLS2000_selected) and not($XLWA_selected) and not($XLS2007DATA_selected) and not($XML_selected) and not($CSV_selected) and not($PDF_selected))"/>
- <out:variable name="stepClass" select="key('env-param','step_class')"/>
- <out:variable name="mClass" select="key('env-param','m_class')"/>
- <out:variable name="isInteractiveReport" select="$mClass='interactiveReport' or $stepClass='interactiveReport' or (($mClass='reportView' or $stepClass='reportView') and string(/root/cm:queryResponse/cm:queryReply/*/cm:base/*/cm:objectClass)='interactiveReport')"/>
- <out:variable name="isPowerPlay" select="$mClass='powerPlay8Report' or $mClass='powerPlay8ReportView' or $stepClass='powerPlay8Report' or $stepClass='powerPlay8ReportView'"/>
- <out:choose>
- <out:when test="not($isInteractiveReport or $isPowerPlay)">
- <dp:choice id="grp_formatChoices" role="group">
- <xsl:attribute name="title">IDS_OTHERRUN_FORMAT</xsl:attribute>
- <out:if test="key('env-param', 'm_ro_outputF_HTML_Type')='true' or key('system-param', 'reportFormats')/format[contains(@id, 'HTML') and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputF_HTML_Type" onclick="updateInteractiveCheckbox();updateVerticalElementsSelect();" value='true' utml:default-condition="$HTML_selected" utml:track="true">
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></out:attribute>
- </utml:input>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$form-read-only = 'true'">
- <out:choose>
- <out:when test="key('env-param', 'm_ro_outputFormat_HTML')='HTMLFragment'">
- <xts:string id="IDS_OTHERRUN_FORMAT_HTMLFRAGMENT"/>
- </out:when>
- <out:when test="key('env-param', 'm_ro_outputFormat_HTML')='XHTML'">
- <xts:string id="IDS_OTHERRUN_FORMAT_XHTML"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise>
- <utml:select name="m_ro_outputFormat_HTML" utml:track="true" onchange="onChangeHTML();">
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_FORMAT_HTML_TYPE"/></out:attribute>
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTML' or key('system-param', 'reportFormats')/format[@id='HTML' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <utml:option value="HTML">
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTML'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
- </utml:option>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTMLFragment' or key('system-param', 'reportFormats')/format[@id='HTMLFragment' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <utml:option value="HTMLFragment">
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTMLFragment'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <xts:string id="IDS_OTHERRUN_FORMAT_HTMLFRAGMENT"/>
- </utml:option>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='XHTML' or key('system-param', 'reportFormats')/format[@id='XHTML' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <utml:option value="XHTML">
- <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='XHTML'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <xts:string id="IDS_OTHERRUN_FORMAT_XHTML"/>
- </utml:option>
- </out:if>
- </utml:select>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- <dp:section3 noSpace="true">
- <xsl:call-template name="gen-vertical-elements"/>
- <out:choose>
- <out:when test="$form-read-only = 'true'">
- <out:if test="key('env-param','m_ro_selectionBasedFeatures') = 'true'">
- <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY"/>
- </out:if>
- </out:when>
- <out:otherwise>
- <xsl:call-template name="ut:selectBaseInteractivity">
- <xsl:with-param name="id" select="'background_selectionBasedFeatures'"/>
- <xsl:with-param name="enableUsingEnv" select="true()"/>
- </xsl:call-template>
- </out:otherwise>
- </out:choose>
- </dp:section3>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputFormat_PDF')='PDF' or (key('system-param', 'reportFormats')/format[@id='PDF' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGeneratePDFOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_PDF" id="lbl_ro_outputFormat_PDF" value="PDF" utml:default-condition="$PDF_selected" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_PDF"><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:section2>
- <dp:section3>
- <xsl:call-template name="ut:pdfOptionSummary"/>
- </dp:section3>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputFormat_spreadsheetML')='spreadsheetML' or (key('system-param', 'reportFormats')/format[@id='spreadsheetML' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXLSOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_spreadsheetML" id="lbl_ro_outputFormat_spreadsheetML" utml:default-condition="$XLS2007_selected" value="spreadsheetML" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_spreadsheetML"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2007"/></dp:section2>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputFormat_xlsxData')='xlsxData' or (key('system-param', 'reportFormats')/format[@id='xlsxData' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXLSOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_xlsxData" id="lbl_ro_outputFormat_xlsxData" utml:default-condition="$XLS2007DATA_selected" value="xlsxData" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_xlsxData"><xts:string id="IDS_PROP_FORMAT_XLS_2007_DATA"/></dp:section2>
- </out:if>
- <!-- Excel 2007 enabled for Office Connection-->
- <out:if test="key('env-param', 'm_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled')='spreadsheetMLOfficeConnectionEnabled' or (key('system-param', 'reportFormats')/format[@id='spreadsheetMLOfficeConnectionEnabled' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXLSOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled" id="lbl_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled" utml:default-condition="$XLS2007_selected" value="spreadsheetMLOfficeConnectionEnabled" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2007_OFFICE_ENABLED"/></dp:section2>
- </out:if>
- <!-- Excel 2002 -->
- <out:if test="key('env-param', 'm_ro_outputFormat_XLWA')='XLWA' or (key('system-param', 'reportFormats')/format[@id='XLWA' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXLSOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_XLWA" id="lbl_ro_outputFormat_XLWA" utml:default-condition="$XLWA_selected" value="XLWA" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_XLWA"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2002"/></dp:section2>
- </out:if>
- <out:if test="key('env-param', 'm_ro_outputF_XLS2000_Type')='true' or (key('system-param', 'reportFormats')/format[contains(@id,'XLS') and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXLSOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputF_XLS2000_Type" value='true' utml:default-condition="$XLS2000_selected" utml:track="true"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$form-read-only = 'true'">
- <out:choose>
- <out:when test="key('env-param', 'm_ro_outputFormat_XLS2000')='XLS'">
- <xts:string id="IDS_OTHERRUN_FORMAT_XLS"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_FORMAT_SINGLE_XLS"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise>
- <utml:select name="m_ro_outputFormat_XLS2000" utml:track="true" onchange="document.pform.m_ro_outputF_XLS2000_Type.checked = true;">
- <utml:option value="singleXLS">
- <out:if test="key('env-param', 'm_ro_outputFormat_XLS2000')='singleXLS' or xtsext:cafaction('get_configsignedreporturls', '') = 'true'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <xts:string id="IDS_OTHERRUN_FORMAT_SINGLE_XLS"/>
- </utml:option>
- <out:if test="key('system-param', 'reportFormats')/format[@id='XLS' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <utml:option value="XLS">
- <out:if test="key('env-param', 'm_ro_outputFormat_XLS2000')='XLS'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <xts:string id="IDS_OTHERRUN_FORMAT_XLS"/>
- </utml:option>
- </out:if>
- </utml:select>
- </out:otherwise>
- </out:choose>
- <img width="3" height="20">
- <out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute>
- </img>
- </dp:section2>
- </out:if>
-
- <!-- CSV - delimited text -->
- <out:if test="key('env-param', 'm_ro_outputFormat_CSV')='CSV' or (key('system-param', 'reportFormats')/format[@id='CSV' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateCSVOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_CSV" id="lbl_ro_outputFormat_CSV" utml:default-condition="$CSV_selected" value="CSV" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_CSV"><xts:string id="IDS_OTHERRUN_FORMAT_CSV"/></dp:section2>
- </out:if>
- <!-- PowerPlay 8 Reports do not support XML ouput formats -->
- <out:if test="key('env-param', 'm_ro_outputFormat_XML')='XML' or (key('system-param', 'reportFormats')/format[@id='XML' and not(contains(@browserHide, $browser)) and contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')] and $userCanGenerateXMLOutput)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_outputFormat_XML" id="lbl_ro_outputFormat_XML" utml:default-condition="$XML_selected" value="XML" utml:track="true"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_outputFormat_XML"><xts:string id="IDS_OTHERRUN_FORMAT_XML"/></dp:section2>
- </out:if>
- </dp:choice>
- </out:when>
- <out:when test="$isInteractiveReport">
- <out:if test="key('system-param', 'reportFormats')/format[contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
- <utml:input type="checkbox" style="visibility:hidden" name="m_ro_outputF_HTML_Type" value='true' utml:default-condition="$HTML_selected" utml:track="true"/>
- <utml:input type="hidden" name="m_ro_outputFormat_HTML" value="HTML" utml:update="false"/>
- <table cellspacing="0" border="0" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_RUN_FORMAT"/>
- </td>
- </tr>
- <tr>
- <td>
- <dp:list>
- <dp:section>
- <dp:label tdClass="formText"><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></dp:label>
- </dp:section>
- </dp:list>
- </td>
- </tr>
- </table>
- </out:if>
- </out:when>
- <out:otherwise>
- <dp:choice>
- <xsl:attribute name="title">IDS_PROP_RUN_FORMAT</xsl:attribute>
- <!-- powerPlay8Reports only support PDF -->
- <dp:section1>
- <utml:input type="hidden" name="m_pp8ro_outputFormat" utml:update="false">
- <utml:value>PDF</utml:value>
- </utml:input>
- <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:text>
- </dp:section1>
- </dp:choice>
- </out:otherwise>
- </out:choose>
- </out:template>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:runTo
- ===============================================================================================
- -->
- <xsl:template match="ut:runTo">
- <dp:choice title="IDS_STEP_RUN_RUN_REPORT_TO_TITLE" for="ctrl_m_ro_promptCacheMode">
- <dp:section1>
- <utml:select name="m_ro_promptCacheMode" utml:track="true" onchange="updateReportOptionSection();" id="ctrl_m_ro_promptCacheMode">
- <utml:option>
- <utml:value>none</utml:value>
- <xts:string id="IDS_STEP_RUN_PRODUCE_OUTPUTS"/>
- </utml:option>
- <utml:option>
- <utml:value>create</utml:value>
- <xts:string id="IDS_STEP_RUN_REFRESH_REPORT_CACHE"/>
- </utml:option>
- </utml:select>
- </dp:section1>
- </dp:choice>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:language
- ===============================================================================================
- -->
- <xsl:template match="ut:language">
- <out:call-template name="formatLanguage">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- <out:with-param name="createHiddenInputs" select="'{@createHiddenInputs}'"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:formatLanguage">
- <out:template name="formatLanguage">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <out:param name="createHiddenInputs"/>
- <out:call-template name="languageTemplate">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- <out:with-param name="createHiddenInputs" select="$createHiddenInputs"/>
- </out:call-template>
- </out:template>
- <out:template name="languageTemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <out:param name="specify_language_checked"/>
- <out:param name="createHiddenInputs"/>
- <!-- get the default language -->
- <out:variable name="default_locale">
- <out:if test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
- <out:choose>
- <out:when test="$the-object/cm:contentLocale/@nil != 'true'">
- <out:value-of select="translate( $the-object/cm:contentLocale, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' )"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="$contentLocale"/>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:variable>
- <out:choose>
- <out:when test="key('env-param','m_ro_outputLocale')">
- <out:for-each select="key('env-param','m_ro_outputLocale')">
- <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
- <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
- <utml:value>
- <out:value-of select="."/>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="language" utml:update="false">
- <utml:value>
- <out:value-of select="."/>
- </utml:value>
- </utml:input>
- </out:if>
- </out:for-each>
- </out:when>
- <out:when test="not(key('env-param','selected_languages'))">
- <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
- <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
- <utml:value>
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=$default_locale]/id"/>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="language" utml:update="false">
- <utml:value><out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and string(id)=$default_locale]/id"/></utml:value>
- </utml:input>
- </out:if>
- </out:when>
- <out:otherwise>
- <out:for-each select="/root/languages/language">
- <out:variable name="locale" select="."/>
- <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
- <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
- <utml:value>
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and id=$locale]/id"/>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="language" utml:update="false">
- <utml:value><out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and id=$locale]/id"/></utml:value>
- </utml:input>
- </out:if>
- </out:for-each>
- </out:otherwise>
- </out:choose>
- <dp:group>
- <xsl:attribute name="title">IDS_OTHERRUN_LANGUAGE</xsl:attribute>
- <dp:groupItem>
- <div id="language_summary_div">
- <out:choose>
- <out:when test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=$default_locale]/displayName"/>
- </out:when>
- <out:when test="not(key('env-param','m_ro_outputLocale')) and key('env-param','selected_languages')">
- <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=/root/languages/language]/displayName">
- <out:value-of select="."/>
- <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
- </out:for-each>
- </out:when>
- <out:otherwise>
- <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale' and key('env-param','m_ro_outputLocale')=id]">
- <out:value-of select="displayName"/>
- <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
- </out:for-each>
- </out:otherwise>
- </out:choose>
- </div>
- </dp:groupItem>
- <dp:groupItem valign="top" nowrap="nowrap">
- <dp:text/>
- <dp:link>
- <utml:a utml:op="stack-up" utml:formName="pform" utml:hide-when-read-only="true">
- <utml:target>
- <out:value-of select="$app"/>/select_languages.xts<xsl:text/>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_EDIT"/><xsl:text/>
- </utml:a>
- </dp:link>
- </dp:groupItem>
- </dp:group>
- </out:template>
- </xsl:template>
- <xsl:template name="gen-vertical-elements">
- <dp:list>
- <dp:section>
- <dp:label for="m_ro_verticalElements"><xts:string id="IDS_OTHERRUN_VERTICAL_ELEMENTS"/></dp:label>
- </dp:section>
- <dp:section>
- <xsl:call-template name="gen-elements-select">
- <xsl:with-param name="control-name" select="'m_ro_verticalElements'"/>
- <xsl:with-param name="option-name" select="'m_ro_verticalElements'"/>
- <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
- </xsl:call-template>
- </dp:section>
- </dp:list>
- </xsl:template>
- <xsl:template name="gen-elements-select">
- <xsl:param name="control-name"/>
- <xsl:param name="option-name"/>
- <xsl:param name="choices"/>
- <utml:select name="{$control-name}" id="{$control-name}" utml:track="true">
- <out:if test="$form-read-only = 'true'">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- <xsl:call-template name="gen-elements-options">
- <xsl:with-param name="control-name" select="$control-name"/>
- <xsl:with-param name="option-name" select="$option-name"/>
- <xsl:with-param name="choices" select="$choices"/>
- </xsl:call-template>
- </utml:select>
- </xsl:template>
- <xsl:template name="gen-elements-options">
- <xsl:param name="control-name"/>
- <xsl:param name="option-name"/>
- <xsl:param name="choices"/>
- <xsl:variable name="option" select="substring-before($choices, ';')"/>
- <xsl:variable name="rest" select="substring-after($choices, ';')"/>
- <utml:option>
- <out:if test="key('env-param','{$option-name}')='{$option}' or (not(key('env-param','{$option-name}')) and '{$option}'='20')">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value><xsl:value-of select="$option"/></utml:value>
- <xsl:value-of select="$option"/>
- </utml:option>
- <xsl:if test="$rest != ''">
- <xsl:call-template name="gen-elements-options">
- <xsl:with-param name="control-name" select="$control-name"/>
- <xsl:with-param name="option-name" select="$option-name"/>
- <xsl:with-param name="choices" select="$rest"/>
- </xsl:call-template>
- </xsl:if>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:burst
- ===============================================================================================
- -->
- <xsl:template match="ut:burst">
- <out:call-template name="burstTemplate">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:burstTemplate">
- <out:template name="burstTemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <out:call-template name="burstUI">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </out:template>
- <out:template name="burstUI">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <dp:list>
- <dp:section>
- <dp:label>
- <xts:string id="IDS_OTHERRUN_BURST_TITLE"/>
- </dp:label>
- </dp:section>
- </dp:list>
- <dp:list>
- <dp:section>
- <utml:input type="checkbox" name="m_ro_burst" value="true" utml:track="true" id="ctrl_m_ro_burst">
- <out:if test="key('env-param', 'm_ro_burst')='true'">
- <out:attribute name="checked">checked</out:attribute>
- </out:if>
- </utml:input>
- <dp:text>
- <label for="ctrl_m_ro_burst">
- <xsl:choose>
- <xsl:when test="@jobDefinition='true'">
- <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_OTHERRUN_BURST"/>
- </xsl:otherwise>
- </xsl:choose>
- </label>
- </dp:text>
- <cf:dynamicExpandingSectionTop name="burstOptions" title="IDS_SECTION_BURSTOPTIONS"/>
- </dp:section>
- </dp:list>
- <cf:dynamicExpandingSectionBody name="burstOptions">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td class="formText" colspan="2">
- <xts:string id="IDS_PROP_JOB_BURST_OPTIONS_INTRO"/>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <span id="lbl_burstDistribution"><xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION"/></span>
- </td>
- <td nowrap="nowrap">
- <utml:select name="m_ro_burstDistribution" utml:track="true" aria-labelledby="lbl_burstDistribution">
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='disabled'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>disabled</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DISABLED"/>
- </utml:option>
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstDistribution')='default'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>default</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION_CHOICE_DEFAULT"/>
- </utml:option>
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstDistribution')='enabled'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>enabled</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION_CHOICE_ENABLED"/>
- </utml:option>
- </utml:select>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <span id="lbl_burstQueryPrefetch"><xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING"/></span>
- </td>
- <td nowrap="nowrap">
- <utml:select name="m_ro_burstQueryPrefetch" utml:track="true" aria-labelledby="lbl_burstQueryPrefetch">
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='default'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>default</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DEFAULT"/>
- </utml:option>
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='enabled'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>enabled</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_ENABLED"/>
- </utml:option>
- <utml:option>
- <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='disabled'">
- <out:attribute name="selected">selected</out:attribute>
- </out:if>
- <utml:value>disabled</utml:value>
- <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DISABLED"/>
- </utml:option>
- </utml:select>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <span id="lbl_burstKeyLimit"><xts:string id="IDS_PROP_JOB_BURST_MAXIMUM_KEY_COUNT"/></span>
- </td>
- <td nowrap="nowrap">
- <utml:input type="text" name="m_ro_burstKeyLimit" utml:track="true" size="10" value="" aria-labelledby="lbl_burstKeyLimit"/>
- </td>
- </tr>
- </table>
- </cf:dynamicExpandingSectionBody>
- </out:template>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:delivery
- ===============================================================================================
- -->
- <xsl:template match="ut:delivery">
- <out:call-template name="deliveryRunOptions">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:deliveryRunOptions">
- <out:template name="deliveryRunOptions">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <utml:input type="hidden" name="deliverySection" value="true"/>
- <out:variable name="isReportView">
- <xsl:choose>
- <xsl:when test="not(@isReportView)">
- <xsl:value-of select="'false'"/>
- </xsl:when>
- <xsl:otherwise>
- <out:value-of select="{@isReportView}"/>
- </xsl:otherwise>
- </xsl:choose>
- </out:variable>
- <out:variable name="canSave">
- <xsl:choose>
- <xsl:when test="not(@canSave)">
- <xsl:value-of select="'true'"/>
- </xsl:when>
- <xsl:otherwise>
- <out:value-of select="{@canSave}"/>
- </xsl:otherwise>
- </xsl:choose>
- </out:variable>
- <out:variable name="print_checked" select="key('env-param', 'm_ro_print')='true'"/>
- <out:variable name="email_checked" select="key('env-param', 'm_ro_email')='true'"/>
- <out:variable name="archive_checked" select="key('env-param', 'm_ro_archive')='true'"/>
- <out:variable name="saveOutput_checked" select="(key('env-param', 'm_ro_saveOutput')='true' or key('env-param','saveAs')='true' or (not($print_checked) and not($email_checked) and not($archive_checked)))"/>
- <out:variable name="emailAsAttachment" select="key('env-param', 'm_ro_emailAsAttachment') = 'true'"/>
- <out:variable name="emailAsURL" select="key('env-param', 'm_ro_emailAsURL') = 'true'"/>
- <out:variable name="mobile_checked" select="key('env-param', 'm_ro_mobile')='true'"/>
- <out:variable name="isInteractiveReport" select="key('env-param','m_class') = 'interactiveReport' or key('env-param','step_class') = 'interactiveReport' or ((key('env-param','m_class') = 'reportView' or key('env-param','step_class') = 'reportView') and /root/cm:queryResponse/cm:queryReply/*/cm:base/*/cm:objectClass = 'interactiveReport')"/>
- <out:variable name="isPowerPlay8Object" select="key('env-param','m_class') = 'powerPlay8Report' or key('env-param','m_class') = 'powerPlay8ReportView' or key('env-param','step_class') = 'powerPlay8Report' or key('env-param','step_class') = 'powerPlay8ReportView'"/>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <xsl:if test="@showTitle='true'">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <span>
- <xsl:attribute name="id">
- <xsl:choose>
- <xsl:when test="@aria-labelledby"><xsl:value-of select="@aria-labelledby"/></xsl:when>
- <xsl:otherwise>lbl_deliveryOptions</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- <xts:string id="IDS_OTHERRUN_DELIVERY"/>
- </span>
- </td>
- </tr>
- </xsl:if>
- <xsl:if test="@showDescription='true'">
- <tr>
- <td class="dialogHintText">
- <xsl:choose>
- <xsl:when test="@jobDefinition='true'">
- <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION_JOB"/>
- </xsl:when>
- <xsl:when test="@isReport = 'true'">
- <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION_REPORT"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- </xsl:if>
- </table>
- <div>
- <xsl:if test="@noGroup != 'true'">
- <xsl:attribute name="role">group</xsl:attribute>
- <xsl:attribute name="aria-labelledby">
- <xsl:choose>
- <xsl:when test="@aria-labelledby"><xsl:value-of select="@aria-labelledby"/></xsl:when>
- <xsl:otherwise>lbl_deliveryOptions</xsl:otherwise>
- </xsl:choose>
- </xsl:attribute>
- </xsl:if>
-
-
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:choose>
- <out:when test="$canSave = 'true'">
- <tr>
- <td nowrap="nowrap" class="formText" style="width:10px;">
- <utml:input type="checkbox" name="m_ro_saveOutput" aria-labelledby="lbl_ro_saveOutput" value="true" utml:default-condition="$saveOutput_checked" utml:track="true">
- <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
- <out:if test="$isReportView = 'false'">
- <out:attribute name="onclick"><xsl:text>checkSaveOption(document.pform.m_ro_saveOutput.checked);</xsl:text></out:attribute>
- </out:if>
- </xsl:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2">
- <label id="lbl_ro_saveOutput">
- <out:choose>
- <out:when test="'{@jobDefinition}'='true'">
- <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
- </out:when>
- <out:when test="$isReportView = 'true'">
- <xts:string id="IDS_OTHERRUN_SAVE_REPORT"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_SAVE_OPTION"/>
- </out:otherwise>
- </out:choose>
- </label>
- </td>
- </tr>
- <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
- <out:if test="$isReportView = 'false'">
- <utml:radio-group name="save_how" utml:track="true">
- <tr><td colspan="3">
- <div role="radiogroup" aria-labelledby="lbl_ro_saveOutput">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation" style="margin-left:15px">
- <tr>
- <td nowrap="nowrap"> </td>
-
- <td nowrap="nowrap" class="formText">
- <utml:input type="radio" value="report" id="lbl_save_report">
- <out:if test="not(/root/env/param[@name='save_how'])">
- <out:attribute name="checked"/>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText">
- <label for="lbl_save_report"><xts:string id="IDS_OTHERRUN_SAVE_REPORT"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="radio" value="new_entry" id="lbl_save_new_entry"/>
- </td>
- <td nowrap="nowrap" class="formText">
- <label for="lbl_save_new_entry"><xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/></label>  
- <utml:a utml:op="stack-up" utml:formName="pform" utml:hide-when-read-only="true" id="id_save_new_entry" onclick="checkSaveOption(true); document.pform.save_how[1].checked = true;if(document.pform['so.searchPath']) document.pform['so.searchPath'].value='';">
- <utml:target>
- <out:value-of select="$app"/>/save_as_run_option.xts<xsl:text/>
- </utml:target>
- <xsl:text/>
- <xts:string id="IDS_OTHERRUN_SAVE_AS"/>
- <xsl:text/>
- </utml:a>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td>
- <table role="presentation">
- <tr>
- <td width="20" height="16" nowrap="nowrap">
- <img height="16" width="20" align="absmiddle" lang="{'{$contentLocale}'}">
- <out:attribute name="alt">
- <out:value-of select="/root/env/param[@name='saveAsPathText']"/>
- </out:attribute>
- <out:attribute name="src">
- <out:value-of select="$skin_images"/>path.gif<out:text/>
- </out:attribute>
- </img>
- </td>
- <td nowrap="nowrap" class="formText" lang="{'{$contentLocale}'}">
- <out:value-of select="xtsext:enforceBTD(/root/env/param[@name='m_ro_saveAsName'], $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- </td></tr>
- </utml:radio-group>
- </out:if>
- </xsl:if>
- </out:when>
- <out:otherwise>
- <out:if test="$isReportView = 'false'">
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_ro_saveOutput" id="lbl_ro_saveOutput" value="true" utml:default-condition="$saveOutput_checked" utml:track="true">
- <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
- <out:attribute name="onclick"><xsl:text>checkSaveOption(document.pform.m_ro_saveOutput.checked);</xsl:text></out:attribute>
- </xsl:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2">
- <label for="lbl_ro_saveOutput"><xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/></label>  
- <utml:a utml:op="stack-up" utml:formName="pform" utml:hide-when-read-only="true">
- <utml:target>
- <out:value-of select="$app"/>/save_as_run_option.xts<xsl:text/>
- </utml:target>
- <xsl:text/>
- <xts:string id="IDS_OTHERRUN_SAVE_AS"/>
- <xsl:text/>
- </utml:a>
- </td>
- </tr>
- </out:if>
-
- <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
- <out:if test="$isReportView = 'false'">
- <utml:input type="hidden" name="save_how" value="new_entry"/>
- <tr>
- <td nowrap="nowrap">
- <img height="5" width="1">
- <xsl:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</xsl:attribute>
- </img>
- </td>
- <td width="20" height="16" nowrap="nowrap" class="formText">
- <img height="16" width="20" align="absmiddle" lang="{'{$contentLocale}'}">
- <out:attribute name="alt">
- <out:value-of select="/root/env/param[@name='saveAsPathText']"/>
- </out:attribute>
- <out:attribute name="src">
- <out:value-of select="$skin_images"/>path.gif</out:attribute>
- </img>
- </td>
- <td nowrap="nowrap" class="formText" lang="{'{$contentLocale}'}">
- <out:value-of select="/root/env/param[@name='m_ro_saveAsName']"/>
- </td>
- </tr>
- </out:if>
- </xsl:if>
- </out:otherwise>
- </out:choose>
- </table>
- <dp:choice>
- <!-- archive -->
- <!--
- Only show the archive section if archive options were saved, or the user has access to archiveLocation objects
- -->
- <out:if test="(key('env-param','m_ro_archive')='true' or /root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='archiveLocation'] != '') and not($isPowerPlay8Object)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_archive" value="true" utml:track="true" utml:default-condition="$archive_checked"/>
- </dp:section1>
- <dp:section2>
- <div>
- <xts:string id="IDS_OTHERRUN_SAVE_FILE_SYSTEM"/>
- <!-- only show the edit link if the user has access to the archive locations -->
- <out:if test="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='archiveLocation'] != ''">
-   
- <dp:link>
- <utml:a utml:op="stack-up" utml:hide-when-read-only="true" id="id_save_to_file_system">
- <utml:href>selectArchiveCheckbox();</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/specify_archive_options.xts')"/>
- </utml:target>
- <xsl:text/>
- <xts:string id="IDS_OTHERRUN_SAVE_FILE_SYSTEM_EDIT_OPTIONS"/>
- <xsl:text/>
- </utml:a>
- </dp:link>
- </out:if>
- </div>
- </dp:section2>
- <dp:section3>
- <div>
- <dt:buildArchiveOptionSummary/>
- </div>
- </dp:section3>
- </out:if>
- <!-- print -->
- <out:if test="not($isInteractiveReport)">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_print" id="lbl_ro_print" value="true" utml:track="true" utml:default-condition="$print_checked"/>
- </dp:section1>
- <dp:section2 for="lbl_ro_print">
- <div>
- <xsl:choose>
- <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
- <xts:string id="IDS_OTHERRUN_PRINT_REPORT"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_OTHERRUN_PRINT_REPORTS"/>
- </xsl:otherwise>
- </xsl:choose>
- </div>
- </dp:section2>
- <dp:section3>
- <div>
- <xsl:call-template name="ut:printer"/>
- </div>
- </dp:section3>
- </out:if>
- <!-- email -->
- <xsl:if test="not(@hideEmailSection) or @hideEmailSection != 'true'">
- <dp:section1>
- <utml:input type="checkbox" name="m_ro_email" id="lbl_ro_email" value="true" utml:track="true" utml:default-condition="$email_checked"/>
- </dp:section1>
- <dp:section2>
- <div>
- <label for="lbl_ro_email">
- <xsl:choose>
- <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
- <out:choose>
- <out:when test="/root/env/param[@name='emailSummary'] != ''">
- <out:value-of select="/root/env/param[@name='emailSummary']"/>
- </out:when>
- <out:when test="not($emailAsAttachment or $emailAsURL)">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_NOTIFY"/></dp:text>
- </out:when>
- <out:when test="$emailAsAttachment and not($emailAsURL)">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_REPORT"/></dp:text>
- </out:when>
- <out:when test="not($emailAsAttachment) and $emailAsURL">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_URL"/></dp:text>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_BOTH"/></dp:text>
- </out:otherwise>
- </out:choose>
- </xsl:when>
- <xsl:otherwise>
- <out:choose>
- <out:when test="/root/env/param[@name='emailSummary'] != ''">
- <out:value-of select="/root/env/param[@name='emailSummary']"/>
- </out:when>
- <out:when test="not($emailAsAttachment or $emailAsURL)">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_NOTIFY_MULTIPLE_REPORTS"/></dp:text>
- </out:when>
- <out:when test="$emailAsAttachment and not($emailAsURL)">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_REPORTS"/></dp:text>
- </out:when>
- <out:when test="not($emailAsAttachment) and $emailAsURL">
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_URLS"/></dp:text>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_BOTH_MULTIPLE_REPORTS"/></dp:text>
- </out:otherwise>
- </out:choose>
- </xsl:otherwise>
- </xsl:choose>
- </label>
-   
- <dp:link>
- <utml:a utml:op="maintain" utml:hide-when-read-only="true" id="id_edit_email_options">
- <xsl:attribute name="utml:formName">
- <xsl:value-of select="'pform'"/>
- </xsl:attribute>
- <utml:href>
- document.pform.controller_state.value='email|markup';document.pform.m_ro_email.checked=true;
- </utml:href>
- <utml:target>
- <xsl:choose>
- <xsl:when test="@morphletPath">
- <out:value-of select="{@morphletPath}"/>
- </xsl:when>
- <xsl:otherwise>
- <out:value-of select="concat($app, '/', $mname)"/>
- </xsl:otherwise>
- </xsl:choose>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_SET_EMAIL"/><xsl:text/>
- </utml:a>
- </dp:link>
- </div>
- </dp:section2>
- <dp:section3>
- <out:variable name="jobDefinition"><xsl:value-of select="@jobDefinition"/></out:variable>
- <out:if test="not(key('env-param', 'm_ro_burst')) or key('env-param', 'm_ro_burst') != 'true' or $jobDefinition='true'">
- <dp:list>
- <dp:section >
- <span>
- <out:if test="/root/env/param[@name='emailRecipientsCount'] = '1'">
- <out:attribute name="lang"><out:value-of select="$contentLocale"/></out:attribute>
- </out:if>
- <out:value-of select="xtsext:sttInjectUCCIntoStr(/root/env/param[@name='emailDescription'], 'email', boolean($isBidiEnabled='true'))"/>
- </span>
- </dp:section>
- </dp:list>
- </out:if>
- </dp:section3>
- </xsl:if>
-
- <!-- mobile -->
- <!-- only display if mobile services are installed-->
- <out:if test="/root/installedComponents/configuration/*/component[.='mobileService'] and not($isPowerPlay8Object) and $userCanUseMobileService">
- <dp:section1>
- <utml:input type="checkbox" id="m_ro_mobile_checkbox" name="m_ro_mobile" value="true" utml:track="true" utml:default-condition="$mobile_checked"/>
- </dp:section1>
- <dp:section2 >
- <div>
- <label for="m_ro_mobile_checkbox">
- <xsl:choose>
- <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
- <out:choose>
- <out:when test="/root/env/param[@name='mobileSummary'] != ''">
- <out:value-of select="/root/env/param[@name='mobileSummary']"/>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_MOBILE_REPORT"/></dp:text>
- </out:otherwise>
- </out:choose>
- </xsl:when>
- <xsl:otherwise>
- <out:choose>
- <out:when test="/root/env/param[@name='mobileSummary'] != ''">
- <out:value-of select="/root/env/param[@name='mobileSummary']"/>
- </out:when>
- <out:otherwise>
- <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_MOBILE_REPORTS"/></dp:text>
- </out:otherwise>
- </out:choose>
- </xsl:otherwise>
- </xsl:choose>  
- </label>
- <dp:link>
- <utml:a utml:op="maintain" utml:hide-when-read-only="true">
- <xsl:attribute name="utml:formName">
- <xsl:value-of select="'pform'"/>
- </xsl:attribute>
- <utml:href>
- document.pform.controller_state.value='mobile|navigate';document.pform.m_ro_mobile.checked=true;
- </utml:href>
- <utml:target>
- <xsl:choose>
- <xsl:when test="@morphletPath">
- <out:value-of select="{@morphletPath}"/>
- </xsl:when>
- <xsl:otherwise>
- <out:value-of select="concat($app, '/', $mname)"/>
- </xsl:otherwise>
- </xsl:choose>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_SELECT_RECIPIENTS"/><xsl:text/>
- </utml:a>
- </dp:link>
- </div>
- </dp:section2>
- <dp:section3>
- <dp:list>
- <dp:section>
- <span>
- <out:value-of select="/root/env/param[@name='mobileDescription']"/>
- </span>
- </dp:section>
- </dp:list>
- </dp:section3>
- </out:if>
- </dp:choice>
- </div>
- </out:template>
- </xsl:template>
- <!--
- Template that takes care of displaying the print text and field in the delivery section
- -->
- <xsl:template name="ut:printer" match="ut:printer">
- <dp:list>
- <dp:section><dp:label for="lbl_printerNameAddress">
- <div><xts:string id="IDS_OTHERRUN_PRINTER_LOCATION"/>
- </div>
- </dp:label></dp:section>
- <dp:section>
- <dp:field>
- <!-- This hidden variable is used to indicate which run option (printer or printerAddress) will be saved. -->
- <utml:input type="hidden" name="ro_printer_kw">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param', 'm_ro_printerAddress')">
- <out:value-of select="'printerAddress'"/>
- </out:when>
- <out:when test="key('env-param', 'm_ro_printer')">
- <out:value-of select="'printer'"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="'none'"/>
- </out:otherwise>
- </out:choose>
- </utml:value>
- </utml:input>
- <!-- setect_printerNameAdrres should contain either the name or the address of the printer. -->
- <utml:input type="text" name="select_printerNameAddress" id="lbl_printerNameAddress" utml:track="true" size="35" onkeyup="onChangePrinter();" utml:update="false" lang="{'{$contentLocale}'}">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param', 'select_printerName') and key('env-param','ro_printer_kw') = 'printer'">
- <out:value-of select="key('env-param', 'select_printerName')"/>
- </out:when>
- <out:when test="key('env-param', 'select_printerAddress')">
- <out:value-of select="key('env-param', 'select_printerAddress')"/>
- </out:when>
- <out:when test="key('env-param', 'm_ro_printerAddress')">
- <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
- </out:when>
- <out:when test="key('env-param','printerSummary')!=''">
- <out:value-of select="key('env-param', 'printerSummary')"/>
- </out:when>
- </out:choose>
- </utml:value>
- </utml:input>
- <!-- select_AddressAdress should contain only the printer address
- If the user edit the select_printerNameAddress then its value will be passed to select_printerAddress.
- Otherwise select_printerAddress will be empty or will contain the address of a saved printer.
- -->
- <utml:input type="hidden" name="select_printerAddress" utml:track="true" utml:update="false">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param', 'select_printerAddress')">
- <out:value-of select="key('env-param', 'select_printerAddress')"/>
- </out:when>
- <out:when test="key('env-param', 'm_ro_printerAddress')">
- <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
- </out:when>
- <out:when test="key('env-param','printerSummary')!=''">
- <out:value-of select="key('env-param', 'printerSummary')"/>
- </out:when>
- </out:choose>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="m_ro_printerAddress">
- <utml:value>
- <out:choose>
- <out:when test="key('env-param', 'm_ro_printerAddress')">
- <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
- </out:when>
- <out:when test="/root/deliveryQuery/cm:queryResponse/cm:queryReply/cm:printer">
- <out:value-of select="/root/deliveryQuery/cm:queryResponse/cm:queryReply/cm:printer/cm:printerAddress "/>
- </out:when>
- </out:choose>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="m_ro_printer">
- <utml:value>
- <out:value-of select="key('env-param', 'm_ro_printer')"/>
- </utml:value>
- </utml:input>
- </dp:field>
- <dp:link>
- <div>
- <utml:a utml:op="stack-up" utml:hide-when-read-only="true">
- <xsl:attribute name="utml:formName">
- <xsl:value-of select="'pform'"/>
- </xsl:attribute>
- <utml:href>selectPrinterButton();</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/specify_printer.xts')"/>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_BROWSE_PRINTER"/><xsl:text/>
- </utml:a>
- </div>
- </dp:link>
- </dp:section>
- </dp:list>
- </xsl:template>
- <!--
- ut:prompt
- @showRadioButtons - show the radio buttons that determine the prompt runOption
- @noParamTest - added to the test to see if there are existing parameters. Should be of the form 'and /root/...'. That way if it is omitted
- we don't have a dangling 'and'.
- -->
- <xsl:template match="ut:prompt">
- <out:call-template name="promptTemplate">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
-
- <xsl:template match="ut:prompt_pp8Titan">
- <out:call-template name="promptTemplate_pp8Titan">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:promptTemplate_pp8Titan">
- <out:template name="promptTemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <xsl:call-template name="ut:promptTemplateUI"/>
- </out:template>
- </xsl:template>
- <xsl:template match="ut:promptTemplate">
- <out:template name="promptTemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <xsl:call-template name="ut:promptTemplateUI"/>
- <xsl:call-template name="promptRunOptionCheckbox"/>
- </out:template>
- </xsl:template>
- <xsl:template name="ut:promptTemplateUI">
- <utml:input type="hidden" name="method" value="" utml:update="false"/>
- <utml:input type="hidden" name="cleared_prompts" value="false"/>
- <out:variable name="isPowerPlay8Object" select="key('env-param','m_class') = 'powerPlay8Report' or key('env-param','m_class') = 'powerPlay8ReportView' or key('env-param','step_class') = 'powerPlay8Report' or key('env-param','step_class') = 'powerPlay8ReportView'"/>
- <script language="javascript">
- function doPrompts(cmd)
- {
- var frm = document.<out:value-of select="$utml-form-name"/>;
- frm.ps_nav_op.value = "maintain";
- if (cmd == 'clear')
- {
- frm.cleared_prompts.value = 'true';
- if (frm.m_rp_parameters)
- {
- if (frm.defaultParameters)
- {
- frm.m_rp_parameters.value = frm.defaultParameters.value;
- }
- else
- {
- frm.m_rp_parameters.value = '';
- }
- }
- if (frm.parameterDescription)
- {
- if (frm.defaultParameterDescription)
- {
- frm.parameterDescription.value = frm.defaultParameterDescription.value;
- }
- else
- {
- frm.parameterDescription.value = '';
- }
- }
- if (frm.parameterDescriptionToLong)
- {
- if (frm.defaultParameterDescriptionToLong)
- {
- frm.parameterDescriptionToLong.value = frm.defaultParameterDescriptionToLong.value;
- }
- else
- {
- frm.parameterDescriptionToLong.value = '';
- }
- }
- }
- else if (cmd == 'prompt_set' || cmd == 'prompt_edit' )
- {
- frm.controller_state.value=cmd;
- }
- else
- {
- frm.method.value=cmd;
- }
- <!-- SEC_INFO Investigated: $utml-form-name takes the name attribute from utml:form. In every instance, this value is hardcoded and therfore provides no security risk -->
- window.setTimeout('document.<out:value-of select="$utml-form-name"/>.submit();', 1 );
- }
- </script>
- <div id="overrideParametersDescription">
- <dp:list>
- <xsl:if test="not(@showTitle) or @showTitle='true'">
- <xsl:attribute name="title">IDS_OTHERRUN_PROMPT</xsl:attribute>
- </xsl:if>
- <out:variable name="promptDescription" select="key('env-param', 'parameterDescription')"/>
- <out:choose>
- <out:when test="($promptDescription='' or not(key('env-param', 'parameterDescription'))) and ((key('env-param', 'cleared_prompts') = 'true') or (key('env-param', 'm_rp_parameters') = '') or (not(key('env-param', 'm_rp_parameters')) {@noParamTest}))">
- <dp:section>
- <dp:text><xts:string id="IDS_OTHERRUN_PROMPT_NOT_SAVED"/></dp:text>
- </dp:section>
- <xsl:if test="not(@showLinks) or @showLinks='true'">
- <out:if test="$form-read-only != 'true' and $has_execute_permission = true()">
- <out:variable name="prmptLabel"><xts:string id="IDS_OTHERRUN_PROMPT_SET_LINK_LBL"/></out:variable>
- <dp:section>
- <out:choose>
- <!-- prompts for PowerPlay8 are handled differently -->
- <out:when test="$isPowerPlay8Object">
- <a href="#" onclick="doPrompts('prompt_set');" aria-label="{'{$prmptLabel}'}">
- <xts:string id="IDS_OTHERRUN_PROMPT_SET"/>
- </a>
- </out:when>
- <out:otherwise>
- <a href="#" onclick="doPrompts('edit');" aria-label="{'{$prmptLabel}'}">
- <xts:string id="IDS_OTHERRUN_PROMPT_SET"/>
- </a>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </out:if>
- </xsl:if>
- </out:when>
- <out:otherwise>
- <out:choose>
- <out:when test="$isPowerPlay8Object">
- <dp:section>
- <dp:text><xts:string id="IDS_OTHERRUN_PROMPT_SAVED"/></dp:text>
- </dp:section>
- </out:when>
- <out:otherwise>
- <dp:section>
- <dp:text><out:value-of select="$promptDescription"/></dp:text>
- <out:if test="/root/env/param[@name='parameterDescriptionToLong'] = 'true'">
- <dp:link>
- <utml:a utml:op="stack-up">
- <utml:target>
- <out:value-of select="concat($app, '/view_prompts.xts')"/>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_PROMPT_VIEW"/><xsl:text/>
- </utml:a>
- </dp:link>
- </out:if>
- </dp:section>
- </out:otherwise>
- </out:choose>
- </out:otherwise>
- </out:choose>
- </dp:list>
- </div>
- <xsl:if test="not(@showLinks) or @showLinks='true'">
- <out:if test="((not((key('env-param', 'cleared_prompts') = 'true') or (key('env-param', 'm_rp_parameters') = '') or (not(key('env-param', 'm_rp_parameters')) {@noParamTest}))) or (key('env-param','defaultParameterDescription') and key('env-param','defaultParameterDescription')!='')) and $form-read-only != 'true'">
- <dp:list>
- <dp:section>
- <out:if test="$has_execute_permission = true()">
- <out:choose>
- <!-- prompts for PowerPlay8 are handled differently -->
- <out:when test="$isPowerPlay8Object">
- <a href="#" onclick="doPrompts('prompt_edit');">
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_EDIT_ARIA"/></out:attribute>
- <xts:string id="IDS_OTHERRUN_PROMPT_EDIT"/>
- </a>
- <dp:text/>
- </out:when>
- <out:otherwise>
- <a href="#" onclick="doPrompts('edit');">
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_EDIT_ARIA"/></out:attribute>
- <xts:string id="IDS_OTHERRUN_PROMPT_EDIT"/>
- </a>
- <dp:text/>
- </out:otherwise>
- </out:choose>
- </out:if>
- <a href="#" onclick="doPrompts('clear');">
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_CLEAR_ARIA"/></out:attribute>
- <xts:string id="IDS_OTHERRUN_PROMPT_CLEAR"/>
- </a>
- </dp:section>
- </dp:list>
- </out:if>
- </xsl:if>
- </xsl:template>
- <xsl:template name="promptRunOptionCheckbox">
- <dp:choice>
- <dp:section1>
- <out:choose>
- <out:when test="$isPowerPlay8Object">
- <out:variable name="prompt_checked">
- <out:choose>
- <out:when test="key('env-param', 'm_pp8ro_prompt') = 'true'">true</out:when>
- <out:when test="/root/*[local-name()='queryResponse']/*[contains(local-name(),'powerPlay8Report')]/*[local-name()='options']/*/*[name='prompt']/value = 'true' and not(key('env-param','changed_m_pp8ro_prompt'))">true</out:when>
- <out:otherwise>false</out:otherwise>
- </out:choose>
- </out:variable>
- <utml:input type="checkbox" name="m_pp8ro_prompt" id="prompt" value="true" utml:track="true" utml:default-condition="$prompt_checked='true'"/>
- </out:when>
- <out:otherwise>
- <utml:input type="checkbox" name="m_ro_prompt" id="prompt" value="true" utml:track="true">
- <out:if test="/root/env/param[@name='m_ro_prompt']='true'">
- <out:attribute name="checked"/>
- </out:if>
- </utml:input>
- </out:otherwise>
- </out:choose>
- </dp:section1>
- <dp:section2 for="prompt">
- <xts:string id="IDS_OTHERRUN_PROMPT_CHECKBOX"/>
- </dp:section2>
- </dp:choice>
- </xsl:template>
- <!--
- ===============================================================================================
- main UI for job property, job wizzard and run with options (for job) pages.
- ===============================================================================================
- -->
- <xsl:template match="ut:jobUI">
- <out:call-template name="jobUITemplate">
- <out:with-param name="form-read-only" select="$form-read-only"/>
- <out:with-param name="utml-form-name" select="$utml-form-name"/>
- </out:call-template>
- </xsl:template>
- <xsl:template match="ut:jobUITemplate">
- <out:template name="jobUITemplate">
- <out:param name="form-read-only"/>
- <out:param name="utml-form-name"/>
- <!-- pass these select_xxxxxxx values for add_entries page -->
- <utml:input type="hidden" name="visited_job_options" value="true" utml:update="false"/>
- <utml:input type="hidden" name="current_step" value="" utml:update="false"/>
- <utml:input type="hidden" name="clear_step" value="" utml:update="false"/>
- <utml:input type="hidden" name="clear_jobOptions" value="" utml:update="false"/>
- <utml:input type="hidden" name="step_class" value="" utml:update="false"/>
- <utml:input type="hidden" name="controller_state" value="" utml:update="false"/>
- <utml:input type="hidden" name="so.select" utml:update="false">
- <utml:value>
- <out:choose>
- <out:when test="not(starts-with(string(/root/env/param[@name='m_obj']),'/adminFolder'))"><out:text/>jobStepBase</out:when>
- <out:otherwise><out:text/>jobStepBase.admin<out:text/></out:otherwise>
- </out:choose>
- </utml:value>
- </utml:input>
- <utml:input type="hidden" name="so.defaultLocation" utml:update="false">
- <utml:value><out:value-of select="/root/env/param[@name='m_path']"/></utml:value>
- </utml:input>
- <utml:input type="hidden" name="so.return.m" utml:update="false">
- <utml:value>portal/<out:value-of select="$mname"/></utml:value>
- </utml:input>
- <utml:input type="hidden" name="genJobDefinitionSummary" value="" utml:update="false"/>
- <script language="javascript" src="{'{$webcontent}'}/{'{$app}'}/js/utilities.js"/>
- <script language="javascript">
- function stepOptions(stepNumber, objectClass)
- {
- frm = document.pform;
- frm.ps_nav_op.value = 'push';
- frm.m.value = 'portal/job_step_run_options.xts';
- frm.current_step.value = stepNumber;
- frm.step_class.value = objectClass;
- frm.submit();
- };
- function clearOptions(stepNumber)
- {
- document.pform.m.value='portal/<out:value-of select="$mname"/>';
- document.pform.listop.value = 'clear_step_options';
- document.pform.clear_step.value = stepNumber;
- document.pform.submit();
- };
- function clearJobOptions()
- {
- document.pform.m.value='portal/<out:value-of select="$mname"/>';
- document.pform.listop.value = 'clear_job_options';
- document.pform.submit();
- }
- function changeSelection(selected, obj)
- {
- frm = document.pform;
- for (var i = 0; i < frm.elements.length; i++)
- {
- if (frm.elements[i].name.indexOf(obj) == 0)
- {
- frm.elements[i].checked = selected;
- }
- }
- }
- </script>
- <out:variable name="params" select="/root/env/param"/>
- <lyt:layout style="1">
- <lyt:section>
- <utml:input type="hidden" name="listop" value="" utml:update="false"/>
- <dp:list>
- <dp:section>
- <dp:label><xts:string id="IDS_PROP_JOB_STEPS_LABEL"/></dp:label>
- <dp:text width="100%"/>
- <out:choose>
- <out:when test="count(/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject/*[not(cm:searchPath = '')])>0">
- <dp:text nospace="nospace">
- <xts:string id="IDS_ENTRIES"/>
- 1 - <out:value-of select="count(/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject/*[not(cm:searchPath = '')])"/>
- </dp:text>
- </out:when>
- <out:otherwise>
- <dp:text/>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:list>
- <xsl:choose>
- <!-- run once table -->
- <xsl:when test="@runOnce='true'">
- </xsl:when>
- <!-- table used in the wizard and property page -->
- <xsl:otherwise>
- <cp:table name="jobsteps" iterate="/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject" width="100%" align="left" showEmptyMsg="true">
- <!-- possible actions -->
- <cp:action>
- <out:if test="$has_write_permission = true()">
- <utml:a utml:op="maintain" utml:formName="pform">
- <utml:href>document.pform.controller_state.value='addEntries|navigate';</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/', $mname)"/>
- </utml:target>
- <out:text/><xts:string id="IDS_COMMAND_ADD"/><out:text/>
- </utml:a>
- </out:if>
- </cp:action>
- <cp:action>
- <out:if test="$has_write_permission = true()">
- <utml:a utml:formName="pform">
- <utml:href>
- <out:text>if(!isSelected('jobSteps_chk_')){alert("<xts:string id="IDS_REMOVE_WARNING" encode="javascript"/>");return;}</out:text>
- <out:text/>javascript:document.pform.listop.value='delete';<out:text/>
- </utml:href>
- <utml:target>
- <out:value-of select="concat( $app, '/', $mname )"/>
- </utml:target>
- <out:text/>
- <xts:string id="IDS_REMOVE"/>
- <out:text/>
- </utml:a>
- </out:if>
- </cp:action>
- <cp:action>
- <out:if test="$has_write_permission = true()">
- <utml:a utml:op="stack-up" utml:formName="pform">
- <utml:target>
- <out:value-of select="concat($app, '/modify_sequence.xts')"/>
- </utml:target>
- <out:text/>
- <xts:string id="IDS_PROP_JOB_MODIFY_SEQUENCE"/>
- <out:text/>
- </utml:a>
- </out:if>
- </cp:action>
- <cp:action>
- <out:if test="$has_write_permission = true()">
- <utml:a utml:formName="pform">
- <utml:href>
- <out:text/>javascript:document.pform.listop.value='resetToDefaults';<out:text/>
- </utml:href>
- <utml:target>
- <out:value-of select="concat( $app, '/', $mname )"/>
- </utml:target>
- <out:text/>
- <xts:string id="IDS_PROP_SETTINGS_RESET_TO_DEFAULT"/>
- <out:text/>
- </utml:a>
- </out:if>
- </cp:action>
- <cp:tableHeader>
- <!-- checkbox -->
- <cp:columnHeader width="16">
- <input type="checkbox" onclick="javascript:changeSelection(this.checked, 'jobSteps_chk_');" aria-labelledby="lbl_selectAll_deselectAlljobsteps"/>
- </cp:columnHeader>
- <!-- icon -->
- <cp:columnHeader width="16"/>
- <!-- path and name
- have to specify the width as a % for the nowrap to work
- -->
- <cp:columnHeader width="33%">
- <!-- All of this is to align the header (...> Name) with the contents of the table-->
- <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/> </span>
- <out:text/><xts:string id="IDS_NAME"/><out:text/>
- </cp:columnHeader>
- <cp:columnHeader width="66%">
- <xts:string id="IDS_PROP_JOB_HEADING_OPTIONS_AND_PROMPTS"/>
- </cp:columnHeader>
- </cp:tableHeader>
- <cp:tableContent>
- <cp:columnContent valign="top">
- <utml:input type="checkbox" utml:update="false">
- <out:attribute name="aria-label">
- <xts:string id="IDS_SELECTION_FOR_PAGER_ITEM" encode="html">
- <xts:param name="pagerItemName">
- <cf:do-the-path-link>
- <cf:param name="familytree">*/cm:ancestors</cf:param>
- <cf:param name="familymember">*/cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">false</cf:param>
- </cf:do-the-path-link>
- </xts:param>
- </xts:string>
- </out:attribute>
- <utml:prefix>
- <out:text>jobSteps_chk_</out:text>
- </utml:prefix>
- <utml:name>
- <out:value-of select="../x:guid"/>
- </utml:name>
- <utml:value>
- <out:value-of select="../x:guid"/>
- </utml:value>
- </utml:input>
- </cp:columnContent>
- <cp:columnContent valign="top">
- <out:choose>
- <out:when test="@nil = 'true'">
- <out:call-template name="gen-icon">
- <out:with-param name="showAction" select="false()"/>
- <out:with-param name="baseClass" select="string(*/cm:base/*/cm:objectClass)"/>
- <out:with-param name="hiddenObject" select="cm:hidden"/>
- </out:call-template>
- </out:when>
- <out:otherwise>
- <out:for-each select="*[1]">
- <out:call-template name="gen-icon">
- <out:with-param name="showAction" select="false()"/>
- <out:with-param name="baseClass" select="string(*/cm:base/*/cm:objectClass)"/>
- <out:with-param name="class" select="cm:objectClass"/>
- <out:with-param name="isDangling" select="cm:base/@nil='true'"/>
- <out:with-param name="hiddenObject" select="cm:hidden"/>
- </out:call-template>
- </out:for-each>
- </out:otherwise>
- </out:choose>
- </cp:columnContent>
- <cp:columnContent valign="top">
- <out:choose>
- <!-- CM didn't return any information on the step -->
- <out:when test="@nil = 'true'">
- <img width="20" height="16" align="absmiddle">
- <out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute>
- </img>
- <xsl:text> </xsl:text>
- <xts:string id="IDS_MISSING_STEP"/>
- <out:if test="$has_write_permission = true()">
- <xsl:text>     </xsl:text>
- <utml:a utml:op="maintain" utml:formName="pform">
- <utml:href>document.pform.listop.value = 'link_orphaned_step';document.pform.current_step.value = '<out:value-of select="../*[local-name()='guid']"/>';</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/select/select.xts')"/>
- </utml:target>
- <utml:unique-id>
- <out:value-of select="../*[local-name()='guid']"/>
- </utml:unique-id>
- <xts:string id="IDS_JOB_LINK_TO_ENTRY"/>
- </utml:a>
- </out:if>
- </out:when>
- <!-- if we were able to get information on the step -->
- <out:otherwise>
- <img height="16" width="20" align="absmiddle">
- <out:attribute name="alt">
- <cf:do-the-path-link>
- <cf:param name="familytree">*/cm:ancestors</cf:param>
- <cf:param name="familymember">*/cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">true</cf:param>
- </cf:do-the-path-link>
- </out:attribute>
- <out:attribute name="src"><out:value-of select="$skin_images"/>path.gif</out:attribute>
- </img>
- <out:text> </out:text>
- <out:value-of select="xtsext:enforceBTD(*/cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </out:otherwise>
- </out:choose>
- </cp:columnContent>
- <!-- options -->
- <cp:columnContent wrap="wrap" valign="top">
- <out:variable name="objectClass" select="*/*[local-name()='objectClass']"/>
- <!-- only show the options section if we're dealing with a report or contentTask or indexUpdateTask. Also show the options if we're dealing
- with a job that already has options saved -->
- <out:if test="contains(' indexUpdateTask analysis agentDefinition agentDefinitionView importDeployment report interactiveReport query reportView powerPlay8Report powerPlay8ReportView ',concat(' ',$objectClass,' ')) or ($objectClass = 'contentTask' and ../*[local-name()='param' and @name='contentTaskType']='consistency') or ($objectClass = 'jobDefinition' and ../*[local-name()='options']/*) or (not(*) and ../*[local-name()='options']/*)">
- <out:variable name="stepOptions" select="../*[local-name()='options']/*[local-name()="value"]/*[local-name()="item"]"/>
- <!-- we know if the step options have been overriden if an option otherthan 'data', 'prompt', 'saveOutput' or promptCacheMode' has been set -->
- <out:variable name="stepOptionsOverriden" select="string($stepOptions/*[local-name()='name' and (.!='data' and .!='prompt' and .!='promptCacheMode' and .!='saveOutput')])!=''"/>
- <xsl:call-template name="ut:buildRunOptionSummary">
- <xsl:with-param name="objectClass" select="'$objectClass'"/>
- <xsl:with-param name="summaryPath" select="'../*[local-name()="UIHelpers"]'"/>
- <xsl:with-param name="outputFormat" select="'$stepOptions[./*[local-name()="name"]="outputFormat"]/*[local-name()="value"]/*'"/>
- <xsl:with-param name="a11y" select="'$stepOptions[./*[local-name()="name"]="http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="archive" select="'$stepOptions[./*[local-name()="name"]="archive"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="outputLocale" select="'$stepOptions[./*[local-name()="name"]="outputLocale"]/*[local-name()="value"]/*'"/>
- <xsl:with-param name="saveAsReportView" select="'$stepOptions[./*[local-name()="name"]="saveAs" and ./*[local-name()="objectClass"]="reportView"]'"/>
- <xsl:with-param name="save" select="'$stepOptions[./*[local-name()="name"]="saveOutput"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="promptCacheMode" select="'$stepOptions[./*[local-name()="name"]="promptCacheMode"]/*[local-name()="value"]'"/>
- <xsl:with-param name="saveAsName" select="'$stepOptions[./*[local-name()="name"]="saveAs" and ./*[local-name()="objectClass"]="reportView"]/*[local-name()="objectName"]/*[local-name()="item"]/*[local-name()="value"]'"/>
- <xsl:with-param name="print" select="'$stepOptions[./*[local-name()="name"]="print"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="email" select="'$stepOptions[./*[local-name()="name"]="email"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="mobile" select="'$stepOptions[./*[local-name()="name"]="mobile"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="burst" select="'$stepOptions[./*[local-name()="name"]="burst"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="burstDistribution" select="'$stepOptions[./*[local-name()="name"]="burstDistribution"]/*[local-name()="value"]'"/>
- <xsl:with-param name="burstQueryPrefetch" select="'$stepOptions[./*[local-name()="name"]="burstQueryPrefetch"]/*[local-name()="value"]'"/>
- <xsl:with-param name="burstKeyLimit" select="'$stepOptions[./*[local-name()="name"]="burstKeyLimit"]/*[local-name()="value"]'"/>
- <xsl:with-param name="contentTaskOption" select="'$stepOptions[./*[local-name()="name"]="repairSecurityReferences"]/*[local-name()="value"]'"/>
- <xsl:with-param name="internalContentTaskOption" select="'$stepOptions[./*[local-name()="name"]="repairInternalInconsistencies"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexUpdateOption" select="'$stepOptions[./*[local-name()="name"]="force"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexObjectTypes" select="'$stepOptions[./*[local-name()="name"]="indexObjectTypes"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexReferencedData" select="'$stepOptions[./*[local-name()="name"]="indexReferencedData"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexModeledData" select="'$stepOptions[./*[local-name()="name"]="indexModeledData"]/*[local-name()="value"]'"/>
- <xsl:with-param name="deploymentUpgradeOption" select="'$stepOptions[./*[local-name()="name"]="upgradeClasses"]'"/>
- <xsl:with-param name="deploymentPreserveStoreIDsOption" select="'$stepOptions[./*[local-name()="name"]="preserveStoreIDs"]'"/>
- <xsl:with-param name="stepOptionsOverriden" select="'$stepOptionsOverriden'"/>
- <xsl:with-param name="jobDefinition" select="'false()'"/>
- <xsl:with-param name="contentTask" select="'true()'"/>
- <xsl:with-param name="indexOptionTask" select="'true()'"/>
- <xsl:with-param name="deployment" select="'true()'"/>
- <xsl:with-param name="detailed" select="'false()'"/>
- <xsl:with-param name="parameters" select="'../*[local-name()="parameters"] and ../*[local-name()="parameters"]!=""'"/>
- </xsl:call-template>
- <out:if test="$objectClass != 'jobDefinition' and $form-read-only = 'false'">
- <out:variable name="tooltip">
- <out:choose>
- <out:when test="../*[local-name()='options']/*"><xts:string id="IDS_PROP_JOB_EDIT_TOOLTIP"/></out:when>
- <out:otherwise><xts:string id="IDS_PROP_JOB_SET_TOOLTIP"/></out:otherwise>
- </out:choose>
- </out:variable>
- <a href="#" role="button">
- <out:attribute name="alt"><out:value-of select="$tooltip"/></out:attribute>
- <out:attribute name="title"><out:value-of select="$tooltip"/></out:attribute>
- <out:attribute name="onclick">javascript:stepOptions('<out:value-of select="../cm:displaySequence"/>', '<out:value-of select="*/cm:objectClass"/>');</out:attribute>
- <out:attribute name="aria-label">
- <xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS_WITH_NAME">
- <xts:param name="objName">
- <cf:do-the-path-link>
- <cf:param name="familytree">*/cm:ancestors</cf:param>
- <cf:param name="familymember">*/cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">false</cf:param>
- </cf:do-the-path-link>
- </xts:param>
- </xts:string>
- </out:attribute>
- <img align="absmiddle" border="0">
- <out:attribute name="src"><out:value-of select="$image_root"/>action_edit.gif</out:attribute>
- <out:attribute name="alt"><xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS"/></out:attribute>
- <out:attribute name="title"><xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS"/></out:attribute>
- </img>
- </a>
- </out:if>
- <!-- only show the clear link if options have been set -->
- <out:if test="(../*[local-name()='options']/* or ../*[local-name()='parameters']/*) and $form-read-only = 'false'">
- <a href="#" role="button">
- <out:attribute name="title"><xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP"/></out:attribute>
- <out:attribute name="onclick">javascript:clearOptions('<out:value-of select="../cm:displaySequence"/>');</out:attribute>
- <out:attribute name="aria-label">
- <xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP_WITH_NAME">
- <xts:param name="objName">
- <cf:do-the-path-link>
- <cf:param name="familytree">*/cm:ancestors</cf:param>
- <cf:param name="familymember">*/cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">false</cf:param>
- </cf:do-the-path-link>
- </xts:param>
- </xts:string>
- </out:attribute>
- <img align="absmiddle" border="0">
- <out:attribute name="src"><out:value-of select="$image_root"/>action_delete.gif</out:attribute>
- <out:attribute name="alt"><xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP"/></out:attribute>
- </img>
- </a>
- </out:if>
- </out:if>
- </cp:columnContent>
- </cp:tableContent>
- </cp:table>
- </xsl:otherwise>
- </xsl:choose>
- </lyt:section>
- </lyt:layout>
- <xsl:if test="not(@runOnce) or @runOnce='false'">
- <lyt:layout style="1">
- <lyt:section>
- <utml:radio-group name="m_p_sequencing">
- <utml:default-value>
- <xsl:choose>
- <xsl:when test="@wizard='true'">parallel</xsl:when>
- <xsl:otherwise><out:value-of select="/root/cm:queryResponse/cm:queryReply[2]/cm:jobDefinition/cm:sequencing"/></xsl:otherwise>
- </xsl:choose>
- </utml:default-value>
- <dp:list title="IDS_PROP_JOB_SUBMIT_TITLE" title-id="lbl_m_p_sequencing_radioGroup">
- <dp:section>
- <dp:hint wrap="wrap">
- <xts:string id="IDS_PROP_JOB_SUBMIT_DESCRIPTION"/>
- </dp:hint>
- </dp:section>
- <dp:section>
- <dp:choice aria-labelledby="lbl_m_p_sequencing_radioGroup">
- <dp:section1>
- <utml:input type="radio" value="parallel" onclick="document.pform.m_jo_continueOnError.disabled=true;" id="ctrl_sequencing_parallel"/>
- </dp:section1>
- <dp:section2 for="ctrl_sequencing_parallel">
- <dp:text>
- <xts:string id="IDS_PROP_JOB_PARALLEL"/>
- </dp:text>
- </dp:section2>
- <dp:section1>
- <utml:input type="radio" value="sequential" onclick="document.pform.m_jo_continueOnError.disabled=false;" id="ctrl_sequencing_sequential"/>
- </dp:section1>
- <dp:section2 for="ctrl_sequencing_sequential">
- <dp:text>
- <xts:string id="IDS_PROP_JOB_SEQUENTIAL"/>
- </dp:text>
- </dp:section2>
- <dp:section3>
- <dp:choice>
- <dp:section1>
- <utml:input type="checkbox" value="true" name="m_jo_continueOnError" id="ctrl_continueOnError">
- <out:if test="(not(key('env-param','m_p_sequencing')) and /root/cm:queryResponse/cm:queryReply[2]/cm:jobDefinition/cm:sequencing!='sequential') or key('env-param','m_p_sequencing')!='sequential'">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </dp:section1>
- <dp:section2 for="ctrl_continueOnError">
- <dp:text>
- <xts:string id="IDS_PROP_JOB_SEQUENTIAL_CONTINUE_ERROR"/>
- </dp:text>
- </dp:section2>
- </dp:choice>
- </dp:section3>
- </dp:choice>
- </dp:section>
- </dp:list>
- </utml:radio-group>
- </lyt:section>
- </lyt:layout>
- <lyt:layout style="1">
- <lyt:section>
- <dp:list title="IDS_PROP_JOB_DEFAULT_OPTIONS">
- <dp:section>
- <dp:hint wrap="wrap">
- <xts:string id="IDS_PROP_JOB_DEFAULT_DESC"/>
- </dp:hint>
- </dp:section>
- <dp:section wrap="wrap">
- <dp:choice noSpace="true">
- <dp:section1 wrap="wrap">
- <out:value-of select="'  '"/>
- </dp:section1>
- <dp:section2 wrap="wrap">
- <out:variable name="objectClass" select="'jobDefinition'"/>
- <out:variable name="jobOptions" select="/root/jobOptions/*[local-name()="options"]/*[local-name()="value"]/*[local-name()="item"]"/>
- <out:variable name="stepOptions" select="../*[local-name()='options']/*[local-name()="value"]/*[local-name()="item"]"/>
- <xsl:call-template name="ut:buildRunOptionSummary">
- <xsl:with-param name="objectClass" select="'$objectClass'"/>
- <xsl:with-param name="summaryPath" select="'/root/jobOptions/UIHelpers'"/>
- <xsl:with-param name="outputFormat" select="'$jobOptions[./*[local-name()="name"]="outputFormat"]/*[local-name()="value"]/*'"/>
- <xsl:with-param name="a11y" select="'$jobOptions[./*[local-name()="name"]="http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="archive" select="'$jobOptions[./*[local-name()="name"]="archive"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="outputLocale" select="'$jobOptions[./*[local-name()="name"]="outputLocale"]/*[local-name()="value"]/*'"/>
- <xsl:with-param name="saveAsReportView" select="'false()'"/>
- <xsl:with-param name="save" select="'$jobOptions[./*[local-name()="name"]="saveOutput"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="promptCacheMode" select="'$jobOptions[./*[local-name()="name"]="promptCacheMode"]/*[local-name()="value"]'"/>
- <xsl:with-param name="print" select="'$jobOptions[./*[local-name()="name"]="print"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="email" select="'$jobOptions[./*[local-name()="name"]="email"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="mobile" select="'$jobOptions[./*[local-name()="name"]="mobile"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="burst" select="'$jobOptions[./*[local-name()="name"]="burst"]/*[local-name()="value"] = "true"'"/>
- <xsl:with-param name="burstDistribution" select="'$jobOptions[./*[local-name()="name"]="burstDistribution"]/*[local-name()="value"]'"/>
- <xsl:with-param name="burstQueryPrefetch" select="'$jobOptions[./*[local-name()="name"]="burstQueryPrefetch"]/*[local-name()="value"]'"/>
- <xsl:with-param name="burstKeyLimit" select="'$jobOptions[./*[local-name()="name"]="burstKeyLimit"]/*[local-name()="value"]'"/>
- <xsl:with-param name="contentTaskOption" select="'$jobOptions[./*[local-name()="name"]="repairSecurityReferences"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexUpdateOption" select="'$jobOptions[./*[local-name()="name"]="force"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexObjectTypes" select="'$stepOptions[./*[local-name()="name"]="indexObjectTypes"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexReferencedData" select="'$stepOptions[./*[local-name()="name"]="indexReferencedData"]/*[local-name()="value"]'"/>
- <xsl:with-param name="indexModeledData" select="'$stepOptions[./*[local-name()="name"]="indexModeledData"]/*[local-name()="value"]'"/>
- <xsl:with-param name="deploymentUpgradeOption" select="'$jobOptions[./*[local-name()="name"]="upgradeClasses"]'"/>
- <xsl:with-param name="deploymentPreserveStoreIDsOption" select="'$jobOptions[./*[local-name()="name"]="preserveStoreIDs"]'"/>
- <xsl:with-param name="jobDefinition" select="'true()'"/>
- <xsl:with-param name="contentTask" select="'true()'"/>
- <xsl:with-param name="indexUpdateTask" select="'true()'"/>
- <xsl:with-param name="deployment" select="'true()'"/>
- <xsl:with-param name="detailed" select="'false()'"/>
- </xsl:call-template>
- </dp:section2>
- </dp:choice>
- </dp:section>
- <out:if test="$form-read-only != 'true'">
- <dp:section>
- <dp:link>
- <out:value-of select="'   '"/>
- <out:variable name="jobOptionsExist" select="/root/*[local-name()='jobOptions']/*[local-name()='options']/*[local-name()='value']/*[local-name()='item']/*[local-name()='name' and . != 'saveOutput' and . != 'prompt' and . != 'data' and .!='selectionBasedFeatures'] "/>
- <utml:a utml:op="stack-up" utml:formName="pform">
- <utml:href>
- document.pform.genJobDefinitionSummary.value='true';
- </utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/job_default_run_options.xts')"/>
- </utml:target>
- <out:choose>
- <out:when test="$jobOptionsExist">
- <out:text/><xts:string id="IDS_PROP_JOB_REVIEW_JOB_OPTIONS"/><out:text/>
- </out:when>
- <out:otherwise>
- <out:text/><xts:string id="IDS_PROP_JOB_SET_JOB_OPTIONS"/><out:text/>
- </out:otherwise>
- </out:choose>
- </utml:a>
- <out:value-of select="'      '"/>
- <!-- check to see if the output format is overriden -->
- <out:if test="$jobOptionsExist and (not(key('env-param','override_outputFormat_option')='true') or key('env-param','no_initial_job_properties')='true')">
- <a>
- <out:attribute name="href">javascript:clearJobOptions();</out:attribute>
- <xts:string id="IDS_PROP_JOB_CLEAR_JOB_OPTIONS"/>
- </a>
- </out:if>
- </dp:link>
- </dp:section>
- </out:if>
- </dp:list>
- </lyt:section>
- </lyt:layout>
- <!-- run history details level section -->
- <lyt:layout style="1">
- <lyt:section>
- <dp:list title="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_TITLE" for="ctrl_writeCompleteHistory">
- <dp:section>
- <dp:hint wrap="wrap">
- <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_DESC"/>
- </dp:hint>
- </dp:section>
- <dp:section>
- <dp:choice>
- <dp:section1 wrap="wrap">
- <out:value-of select="'  '"/>
- </dp:section1>
- <dp:section2>
- <utml:select name="m_mo_writeCompleteHistory" utml:track="true" id="ctrl_writeCompleteHistory">
- <utml:option>
- <utml:value>true</utml:value>
- <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_CHOICE_ALL"/>
- </utml:option>
- <utml:option>
- <utml:value>false</utml:value>
- <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_CHOICE_LIMITED"/>
- </utml:option>
- </utml:select>
- </dp:section2>
- </dp:choice>
- </dp:section>
- </dp:list>
- </lyt:section>
- </lyt:layout>
- </xsl:if>
- </out:template>
- </xsl:template>
- <!--
- match on ut:buildRunOptionSummary to be able to do a call-template from a morphlet
- -->
- <xsl:template match="ut:buildRunOptionSummary">
- <out:template name="ut:buildRunOptionSummary">
- <out:param name="objectClass"/>
- <out:param name="summaryPath"/>
- <out:param name="outputFormat" select="/root/env/param[starts-with(@name,"m_ro_outputFormat")]"/>
- <out:param name="a11y" select="/root/env/param[starts-with(@name,"m_go_accessibilityFeatures") = "true"]"/>
- <out:param name="archive" select="/root/env/param[starts-with(@name,"m_ro_archive")]"/>
- <out:param name="outputLocale" select="/root/env/param[starts-with(@name,"m_ro_outputLocale")]"/>
- <out:param name="save" select="/root/env/param[starts-with(@name,"m_ro_saveOutput") = "new_entry"]"/>
- <out:param name="saveAsReportView" select="/root/env/param[starts-with(@name,"save_how") = "new_entry"]"/>
- <out:param name="promptCacheMode" select="/root/env/param[starts-with(@name,"m_ro_promptCacheMode")]"/>
- <out:param name="saveAsName" select="/root/env/param[starts-with(@name,"m_ro_saveAsName")]"/>
- <out:param name="print" select="/root/env/param[starts-with(@name,"m_ro_print") = "true"]"/>
- <out:param name="email" select="/root/env/param[starts-with(@name,"m_ro_email") = "true"]"/>
- <out:param name="mobile" select="/root/env/param[starts-with(@name,"m_ro_mobile") = "true"]"/>
- <out:param name="burst" select="/root/env/param[starts-with(@name,"m_ro_burst") = "true"]"/>
- <out:param name="burstDistribution" select="/root/env/param[starts-with(@name,"m_ro_burstDistribution")]"/>
- <out:param name="burstQueryPrefetch" select="/root/env/param[starts-with(@name,"m_ro_burstQueryPrefetch")]"/>
- <out:param name="burstKeyLimit" select="/root/env/param[starts-with(@name,"m_ro_burstKeyLimit")]"/>
- <out:param name="jobDefinition" select="true()"/>
- <out:param name="detailed" select="true()"/>
- <out:param name="parameters" select="false()"/>
- <out:param name="stepOptionsOverriden" select="'false()'"/>
-
- <xsl:call-template name="ut:buildRunOptionSummary">
- <xsl:with-param name="objectClass" select="'$objectClass'"/>
- <xsl:with-param name="summaryPath" select="'$summaryPath'"/>
- <xsl:with-param name="outputFormat" select="'$outputFormat'"/>
- <xsl:with-param name="a11y" select="'$a11y'"/>
- <xsl:with-param name="archive" select="'$archive'"/>
- <xsl:with-param name="outputLocale" select="'$outputLocale'"/>
- <xsl:with-param name="saveAsReportView" select="'$saveAsReportView'"/>
- <xsl:with-param name="save" select="'$save'"/>
- <xsl:with-param name="promptCacheMode" select="'$promptCacheMode'"/>
- <xsl:with-param name="print" select="'$print'"/>
- <xsl:with-param name="email" select="'$email'"/>
- <xsl:with-param name="mobile" select="'$mobile'"/>
- <xsl:with-param name="burst" select="'$burst'"/>
- <xsl:with-param name="burstDistribution" select="'$burstDistribution'"/>
- <xsl:with-param name="burstQueryPrefetch" select="'$burstQueryPrefetch'"/>
- <xsl:with-param name="burstKeyLimit" select="'$burstKeyLimit'"/>
- <xsl:with-param name="parameters" select="'$parameters'"/>
- <xsl:with-param name="jobDefinition" select="'$jobDefinition'"/>
- <xsl:with-param name="detailed" select="'$detailed'"/>
- <xsl:with-param name="parameters" select="'$parameters'"/>
- <xsl:with-param name="stepOptionsOverriden" select="'$stepOptionsOverriden'"/>
- </xsl:call-template>
- </out:template>
- </xsl:template>
- <!--
- ut:buildRunOptionSummary
- build the runOption summary using helper strings passed and some options
- -->
- <xsl:template name="ut:buildRunOptionSummary">
- <xsl:param name="objectClass"/>
- <xsl:param name="summaryPath"/>
- <xsl:param name="outputFormat" select="'/root/env/param[starts-with(@name,"m_ro_outputFormat")]'"/>
- <xsl:param name="archive" select="'/root/env/param[starts-with(@name,"m_ro_archive")]'"/>
- <xsl:param name="outputLocale" select="'/root/env/param[starts-with(@name,"m_ro_outputLocale")]'"/>
- <xsl:param name="a11y" select="'/root/env/param[starts-with(@name,"m_go_accessibilityFeatures") = "true"]'"/>
- <xsl:param name="save" select="'/root/env/param[starts-with(@name,"m_ro_saveOutput") = "new_entry"]'"/>
- <xsl:param name="saveAsReportView" select="'/root/env/param[starts-with(@name,"save_how") = "new_entry"]'"/>
- <xsl:param name="promptCacheMode" select="'/root/env/param[starts-with(@name,"m_ro_promptCacheMode")]'"/>
- <xsl:param name="saveAsName" select="'/root/env/param[starts-with(@name,"m_ro_saveAsName")]'"/>
- <xsl:param name="print" select="'/root/env/param[starts-with(@name,"m_ro_print") = "true"]'"/>
- <xsl:param name="email" select="'/root/env/param[starts-with(@name,"m_ro_email") = "true"]'"/>
- <xsl:param name="mobile" select="'/root/env/param[starts-with(@name,"m_ro_mobile") = "true"]'"/>
- <xsl:param name="burst" select="'/root/env/param[starts-with(@name,"m_ro_burst") = "true"]'"/>
- <xsl:param name="burstDistribution" select="/root/env/param[starts-with(@name,"m_ro_burstDistribution")]"/>
- <xsl:param name="burstQueryPrefetch" select="/root/env/param[starts-with(@name,"m_ro_burstQueryPrefetch")]"/>
- <xsl:param name="burstKeyLimit" select="/root/env/param[starts-with(@name,"m_ro_burstKeyLimit")]"/>
- <xsl:param name="contentTaskOption" select="'/root/env/param[starts-with(@name,"ctro_runoption")]'"/>
- <xsl:param name="internalContentTaskOption" select="false()"/>
- <xsl:param name="deploymentUpgradeOption" select="'/root/env/param[starts-with(@name,"deploymentro_upgrade")]'"/>
- <xsl:param name="deploymentPreserveStoreIDsOption" select="'/root/env/param[starts-with(@name,"deploymentro_preserveStoreIDs")]'"/>
- <xsl:param name="indexUpdateOption" select="'/root/env/param[starts-with(@name,"m_io_force")]'"/>
- <xsl:param name="indexObjectTypes" select="'/root/env/param[starts-with(@name,"m_io_indexObjectTypes")]'"/>
- <xsl:param name="indexReferencedData" select="'/root/env/param[starts-with(@name,"m_io_indexReferencedData")]'"/>
- <xsl:param name="indexModeledData" select="'/root/env/param[starts-with(@name,"m_io_indexModeledData")]'"/>
- <xsl:param name="jobDefinition" select="'true()'"/>
- <xsl:param name="contentTask" select="'false()'"/>
- <xsl:param name="deployment" select="'false()'"/>
- <xsl:param name="indexUpdateTask" select="'false()'"/>
- <xsl:param name="detailed" select="'true()'"/>
- <xsl:param name="parameters" select="'false()'"/>
- <xsl:param name="stepOptionsOverriden" select="'false()'"/>
- <out:variable name="listSeparator"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:variable>
-
- <out:variable name="formatSummary">
- <out:if test="{$outputFormat}">
- <out:choose>
- <out:when test="{$summaryPath}">
- <out:value-of select="{$summaryPath}/*[local-name()='formatSummary']"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="{$outputFormat}"/>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:variable>
- <out:variable name="parameterSummary">
- <out:choose>
- <out:when test="contains(' contentTask importDeployment indexUpdateTask ', concat(' ', {$objectClass}, ' '))"/> <!--A parameter summary is not required for content tasks, indexUpdateTask or imports objects -->
- <out:when test="{$parameters} and (not({$promptCacheMode}) or {$promptCacheMode}='create')">
- <xts:string id="IDS_OTHERRUN_PROMPTS_SAVED"/> <!-- Prompt values saved -->
- </out:when>
- <out:when test="not({$parameters}) and {$stepOptionsOverriden} and (not({$promptCacheMode}) or {$promptCacheMode}='create')">
- <xts:string id="IDS_OTHERRUN_DEFAULT_PROMPTS"/> <!-- No prompt values saved -->
- </out:when>
- </out:choose>
- </out:variable>
- <out:variable name="promptCacheModeOption">
- <out:if test="{$promptCacheMode}='create'">
- <out:value-of select="{$promptCacheMode}"/>
- </out:if>
- </out:variable>
- <out:variable name="outputLocaleSummary">
- <out:for-each select="set:distinct({$outputLocale})" xmlns:set="http://exslt.org/sets">
- <out:sort select="."/>
- <out:variable name="locale" select="."/>
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
- <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
- </out:for-each>
- </out:variable>
- <out:variable name="a11ySummary">
- <out:if test="{$a11y}">
- <out:value-of select="{$summaryPath}/*[local-name()='a11ySummary']"/>
- </out:if>
- </out:variable>
- <out:variable name="showA11ySummary" select="count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1"/>
-
- <out:variable name="saveSummary">
- <out:choose>
- <out:when test="{$saveAsReportView}">
- <xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/>
- <out:if test="{$detailed} and {$summaryPath}/*[local-name()='saveAsSummary'] != ''">
- <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='saveAsSummary'], ' > ', {$saveAsName})"/>
- </out:if>
- </out:when>
- <!-- When the user visits the step options, but does not change anything, ensure that the saveSummary does not include the 'Save the reports" string-->
- <out:when test="{$promptCacheMode}='create'">
- <out:if test="{$save} and not({$saveAsReportView}) and {$outputFormat}">
- <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
- </out:if>
- </out:when>
- <!-- When dealing with jobs, the saveOutput runOptions is defaulted to true. To decide if the user actually selected
- to save the output (overrode the defaults) check for the existence of an outputFormat -->
- <out:when test="{$save} and not({$saveAsReportView}) and (not({$jobDefinition}) or {$outputFormat}) and {$stepOptionsOverriden}">
- <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
- </out:when>
- </out:choose>
- </out:variable>
- <out:variable name="contentTaskOption">
- <out:if test="{$contentTaskOption} and {$contentTask}"><out:value-of select="{$contentTaskOption}"/></out:if>
- </out:variable>
- <out:variable name="internalContentTaskOption">
- <out:if test="{$internalContentTaskOption} and {$contentTask}"><out:value-of select="{$internalContentTaskOption}"/></out:if>
- </out:variable>
- <out:variable name="deploymentUpgradeOption">
- <out:if test="{$deploymentUpgradeOption} and {$deployment}"><out:value-of select="{$deploymentUpgradeOption}"/></out:if>
- </out:variable>
- <out:variable name="deploymentPreserveStoreIDsOption">
- <out:if test="{$deploymentPreserveStoreIDsOption} and {$deployment}"><out:value-of select="{$deploymentPreserveStoreIDsOption}"/></out:if>
- </out:variable>
- <out:variable name="indexUpdateOption">
- <out:if test="{$indexUpdateOption} and {$indexUpdateTask}"><out:value-of select="{$indexUpdateOption}"/></out:if>
- </out:variable>
- <out:variable name="xpBurstDistribution" select="/root/reportOptions/*[local-name()="options"]/*[local-name()="value"]/*[local-name()="item" and ./*[local-name()="name"]="burstDistribution"]/*[local-name()="value"]"/>
- <out:variable name="xpBurstQueryPrefetch" select="/root/reportOptions/*[local-name()="options"]/*[local-name()="value"]/*[local-name()="item" and ./*[local-name()="name"]="burstQueryPrefetch"]/*[local-name()="value"]"/>
- <out:variable name="xpBurstKeyLimit" select="/root/reportOptions/*[local-name()="options"]/*[local-name()="value"]/*[local-name()="item" and ./*[local-name()="name"]="burstKeyLimit"]/*[local-name()="value"]"/>
- <out:variable name="xpfBurstDistribution">
- <out:choose>
- <out:when test="count($xpBurstDistribution) > 0">
- <out:value-of select="$xpBurstDistribution"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="{$burstDistribution}"/>
- </out:otherwise>
- </out:choose>
- </out:variable>
- <out:variable name="xpfBurstQueryPrefetch">
- <out:choose>
- <out:when test="count($xpBurstQueryPrefetch) > 0">
- <out:value-of select="$xpBurstQueryPrefetch"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="{$burstQueryPrefetch}"/>
- </out:otherwise>
- </out:choose>
- </out:variable>
- <out:variable name="xpfBurstKeyLimit">
- <out:choose>
- <out:when test="count($xpBurstKeyLimit) > 0">
- <out:value-of select="$xpBurstKeyLimit"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="{$burstKeyLimit}"/>
- </out:otherwise>
- </out:choose>
- </out:variable>
- <out:variable name="tempSummary">
-
- <!-- this is ugly, but no other way to construct the summary -->
- <out:choose>
- <out:when test="$promptCacheModeOption = 'create'">
- <xts:string id="IDS_OTHERRUN_REFRESH_REPORT_CACHE"/> <!-- Refresh the report cache -->
- </out:when>
- <out:when test="not({$stepOptionsOverriden}) and not({$parameters}) and not({$outputFormat})">
- <xts:string id="IDS_OTHERRUN_DEFAULT_OPTIONS_AND_PARAMETERS"/> <!-- Default -->
- </out:when>
- <out:when test="not({$stepOptionsOverriden}) and {$parameters}">
- <xts:string id="IDS_OTHERRUN_DEFAULT_OPTIONS"/> <!-- Default options-->
- </out:when>
- <out:when test="contains(' powerPlay8Report powerPlay8ReportView contentTask importDeployment indexUpdateTask ', concat(' ', {$objectClass}, ' '))"/> <!--This part doesn't apply to these objects -->
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_PRODUCE_REPORT_OUTPUTS"/> <!-- Produce report outputs -->
- </out:otherwise>
- </out:choose>
- <!-- format -->
- <out:if test="$formatSummary != ''">
- <out:value-of select="$listSeparator"/>
- <out:copy-of select="$formatSummary"/>
- </out:if>
- <!-- a11y -->
- <out:if test="$showA11ySummary and $a11ySummary != ''">
- <out:value-of select="$listSeparator"/>
- <out:copy-of select="$a11ySummary"/>
- </out:if>
- <!-- locale -->
- <out:if test="$outputLocaleSummary != ''">
- <out:value-of select="$listSeparator"/>
- <out:copy-of select="$outputLocaleSummary"/>
- </out:if>
- <!-- parameters -->
- <out:if test="$parameterSummary != ''">
- <out:value-of select="$listSeparator"/>
- <out:value-of select="$parameterSummary"/>
- </out:if>
- <!-- save -->
- <out:if test="$saveSummary != ''">
- <out:value-of select="$listSeparator"/>
- <out:copy-of select="$saveSummary"/>
- </out:if>
- <!-- archive -->
- <out:if test="{$archive} and {$summaryPath}/*[local-name()='saveToFileSystemSummary'] != ''">
- <out:value-of select="$listSeparator"/>
- <out:copy-of select="{$summaryPath}/*[local-name()='saveToFileSystemSummary']"/>
- </out:if>
- <!-- print -->
- <out:if test="{$print}">
- <out:value-of select="$listSeparator"/>
- <out:choose>
- <out:when test="{$detailed}">
- <xts:string id="IDS_CONFIRMATION_PRINT_REPORTS"/>
- <out:value-of select="concat(' ', {$summaryPath}/*[local-name()='printerSummary'])"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_PRINT_REPORT_SUMMARY"/>
- </out:otherwise>
- </out:choose>
- </out:if>
- <!-- email -->
- <out:if test="{$email}">
- <out:value-of select="$listSeparator"/>
- <out:value-of select="{$summaryPath}/*[local-name()='emailSummary']"/>
- <out:choose>
- <out:when test="{$detailed}">
- <out:if test="{$summaryPath}/*[local-name()='emailRecipients'] != '' and (not({$burst}) or {$jobDefinition})">
- <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='emailRecipients'])"/>
- </out:if>
- </out:when>
- <out:otherwise>
- <out:if test="{$summaryPath}/*[local-name()='emailRecipientsCount'] != '' and {$summaryPath}/*[local-name()='emailRecipientsCount'] > 0 and (not({$burst}) or {$jobDefinition})">
- <xts:string id="IDS_LIST_START"/><xsl:value-of select="' '"/>
- <out:choose>
- <out:when test="{$summaryPath}/*[local-name()='emailRecipientsCount'] = '1'">
- <xts:string id="IDS_OTHERRUN_EMAIL_ONE_RECIPIENT"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_EMAIL_RECIPIENT_COUNT">
- <xts:param name="numPeople">
- <out:value-of select="{$summaryPath}/*[local-name()='emailRecipientsCount']"/>
- </xts:param>
- </xts:string>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:otherwise>
- </out:choose>
- </out:if>
- <!-- mobile -->
- <out:if test="{$mobile}">
- <out:value-of select="$listSeparator"/>
- <out:value-of select="{$summaryPath}/*[local-name()='mobileSummary']"/>
- <out:choose>
- <out:when test="{$detailed}">
- <out:if test="{$summaryPath}/*[local-name()='mobileRecipients'] != '' and (not({$burst}) or {$jobDefinition})">
- <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='mobileRecipients'])"/>
- </out:if>
- </out:when>
- <out:otherwise>
- <out:if test="{$summaryPath}/*[local-name()='mobileRecipientsCount'] != '' and {$summaryPath}/*[local-name()='mobileRecipientsCount'] > 0 and (not({$burst}) or {$jobDefinition})">
- <xts:string id="IDS_LIST_START"/><xsl:value-of select="' '"/>
- <out:choose>
- <out:when test="{$summaryPath}/*[local-name()='mobileRecipientsCount'] = '1'">
- <xts:string id="IDS_OTHERRUN_MOBILE_ONE_RECIPIENT"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_MOBILE_RECIPIENT_COUNT">
- <xts:param name="numPeople">
- <out:value-of select="{$summaryPath}/*[local-name()='mobileRecipientsCount']"/>
- </xts:param>
- </xts:string>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:otherwise>
- </out:choose>
- </out:if>
-
- <!-- burst -->
- <out:if test="{$burst}">
- <out:value-of select="$listSeparator"/>
- <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
- <xsl:call-template name="ut:burstSummary">
- <xsl:with-param name="burstDistribution" select="'$xpfBurstDistribution'"/>
- <xsl:with-param name="burstQueryPrefetch" select="'$xpfBurstQueryPrefetch'"/>
- <xsl:with-param name="burstKeyLimit" select="'$xpfBurstKeyLimit'"/>
- </xsl:call-template>
- </out:if>
-
- <!-- Here we check if contentTask is set to false (building the report summary). If yes then it means we are building the report summary in the select default options page of a job. So the contentTask summary should not be appended -->
- <out:if test="$contentTaskOption != '' or $internalContentTaskOption != ''">
- <out:value-of select="$listSeparator"/>
- <out:choose>
- <out:when test="$contentTaskOption = 'true' or $contentTaskOption = 'fix' or $internalContentTaskOption = 'true' or $internalContentTaskOption = 'fix'">
- <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIX"/>
- </out:when>
- <out:when test="$contentTaskOption = 'false' or $contentTaskOption = 'find'">
- <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
- </out:when>
- </out:choose>
- </out:if>
- <out:if test="{$indexUpdateOption}">
- <out:value-of select="$listSeparator"/>
- <out:choose>
- <out:when test="{$indexUpdateOption} = 'true'">
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_ALL_ENTRIES"/>
- </out:when>
- <out:when test="{$indexUpdateOption} = 'false'">
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
- </out:when>
- </out:choose>
- </out:if>
- <out:if test="{$indexObjectTypes}">
- <out:value-of select="$listSeparator"/>
- <out:if test="{$indexObjectTypes} = 'true'">
- <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_PROP_AND_METADATA"/>
- </out:if>
- </out:if>
-
- <out:if test="{$indexReferencedData}">
- <out:value-of select="$listSeparator"/>
- <out:if test="{$indexReferencedData} = 'true'">
- <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_DATA_VALUES_REF_DATA"/>
- </out:if>
- </out:if>
-
- <out:if test="{$indexModeledData}">
- <out:value-of select="$listSeparator"/>
- <out:if test="{$indexModeledData} = 'true'">
- <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_DATA_VALUES_MODELED_DATA"/>
- </out:if>
- </out:if>
-
- <out:choose>
- <out:when test="{$deploymentUpgradeOption}/*[local-name()="value"] = '' or $deploymentUpgradeOption = 'keep'">
- <out:value-of select="$listSeparator"/>
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
- </out:when>
- <out:when test="$deploymentUpgradeOption = 'upgrade' or {$deploymentUpgradeOption}/*[local-name()="value"] != ''">
- <out:value-of select="$listSeparator"/>
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
- </out:when>
- </out:choose>
- <out:choose>
- <out:when test="{$deploymentPreserveStoreIDsOption}/*[local-name()="value"]='true'">
- <out:value-of select="$listSeparator"/>
- <xts:string id="IDS_DEPLOYMENT_SUMMARY_PRESERVE_STOREIDS"/>
- </out:when>
- <out:when test="{$deploymentPreserveStoreIDsOption}/*[local-name()="value"]='false'">
- <out:value-of select="$listSeparator"/>
- <xts:string id="IDS_DEPLOYMENT_SUMMARY_DO_NOT_PRESERVE_STOREIDS"/>
- </out:when>
- </out:choose>
- </out:variable>
-
- <!-- make sure the summary doesn't start with ', ' -->
- <out:variable name="summary">
- <out:choose>
- <out:when test="starts-with($tempSummary, $listSeparator)">
- <out:value-of select="substring-after($tempSummary, $listSeparator)"/>
- </out:when>
- <out:otherwise>
- <out:value-of select="$tempSummary"/>
- </out:otherwise>
- </out:choose>
- </out:variable>
- <dp:text wrap="wrap">
- <out:choose>
- <out:when test="string($summary) = ''">
- <out:choose>
- <out:when test="{$jobDefinition}">
- <xts:string id="IDS_PROP_JOB_NO_DEFAULT_SET"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_PROP_JOB_NO_RUN_OPTIONS"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise><out:value-of select="$summary"/></out:otherwise>
- </out:choose>
- </dp:text>
- </xsl:template>
-
- <xsl:template match="ut:burstSummary" name="ut:burstSummary">
- <xsl:param name="burstDistribution" select="'key("env-param","m_ro_burstDistribution")'"/>
- <xsl:param name="burstQueryPrefetch" select="'key("env-param","m_ro_burstQueryPrefetch")'"/>
- <xsl:param name="burstKeyLimit" select="'key("env-param","m_ro_burstKeyLimit")'"/>
- <out:text> (</out:text>
- <out:choose>
- <out:when test="string({$burstDistribution}) = 'enabled'">
- <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_ENABLED"/>
- </out:when>
- <out:when test="string({$burstDistribution}) = 'disabled'">
- <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_DISABLED"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- <xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/>
- <out:choose>
- <out:when test="string({$burstQueryPrefetch}) = 'enabled'">
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_ENABLED"/>
- </out:when>
- <out:when test="string({$burstQueryPrefetch}) = 'disabled'">
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_DISABLED"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- <xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/>
- <out:choose>
- <out:when test="string({$burstKeyLimit}) = ''">
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_DEFAULT"/>
- </out:when>
- <out:when test="string({$burstKeyLimit}) = '0'">
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_UNLIMITED"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_VALUE">
- <xts:param name="numKeys"><out:value-of select="{$burstKeyLimit}"/></xts:param>
- </xts:string>
- </out:otherwise>
- </out:choose>
- <out:text>)</out:text>
- </xsl:template>
- <!--
- dynamic div to show the default report options section.
- -->
- <xsl:template match="ut:defaultReportOptionsDiv">
- <out:variable name="useJobOptionsForDefault" select="'{@jobStepOption}'='true' and /root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item']/*[local-name()='name']='outputFormat'"/>
- <out:variable name="jobOptions" select="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item']"/>
- <xsl:choose>
- <xsl:when test="@objectClassXPath != ''">
- <out:variable name="isPowerPlay8Object" select="contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', {@objectClassXPath} ,' '))"/>
- </xsl:when>
- <xsl:otherwise>
- <out:variable name="isPowerPlay8Object" select="contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', key('env-param', 'step_class') ,' '))"/>
- </xsl:otherwise>
- </xsl:choose>
- <out:variable name="isInteractiveReport" select="key('env-param', 'm_class')='interactiveReport' or key('env-param', 'step_class')='interactiveReport' or ((key('env-param', 'm_class')='reportView' or key('env-param', 'step_class')='reportView') and string(/root/cm:queryResponse/cm:queryReply/*/cm:base/*/cm:objectClass)='interactiveReport')"/>
- <!-- only show the bursting section if
- - we're using the job options
- - burst was selected at the job level
- - report is setup for bursting
- -->
- <out:variable name="showBursting" select="'{@jobStepOption}'='true' and $useJobOptionsForDefault and $jobOptions[./*[local-name()='name']='burst']/*[local-name()='value'] = 'true' and /root/steps/*[local-name() = 'queryResponse']/*[local-name()='jobStepDefinition' and cm:displaySequence=key('env-param','current_step')]/*[local-name()='stepObject']/*/*[local-name()='canBurst'] = 'true'"/>
- <!-- read only default options when in Produce Report Output mode-->
- <cf:dynamicDiv name="defaultOptions">
- <xsl:if test="@genCacheDiv = 'true' and (not(@jobStepOption) or @jobStepOption = 'false')">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_STEP_RUN_RUN_REPORT_TO_TITLE"/>
- </dp:section1>
- <dp:section2>
- <xts:string id="IDS_OTHERRUN_PRODUCE_REPORT_OUTPUTS"/>
- </dp:section2>
- </dp:input>
- </xsl:if>
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_FORMAT"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault and $isPowerPlay8Object">
- <xts:string id="IDS_OTHERRUN_FORMAT_PDF"/>
- </out:when>
- <out:when test="$useJobOptionsForDefault and $isInteractiveReport">
- <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
- </out:when>
- <out:when test="$useJobOptionsForDefault">
- <out:value-of select="/root/jobOptions/UIHelpers/formatSummary"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- <out:variable name="a11ySupported" select="(not(@jobStepOption) or '{@jobStepOption}'='false') and not($isPowerPlay8Object)"/>
- <out:if test="$a11ySupported and count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_A11Y"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:value-of select="/root/jobOptions/UIHelpers/a11ySummary"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- </out:if>
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_LANGUAGE"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:for-each select="set:distinct($jobOptions[./*[local-name()='name']='outputLocale']/*[local-name()='value']/*[local-name()='item'])" xmlns:set="http://exslt.org/sets">
- <out:sort select="."/>
- <out:variable name="locale" select="."/>
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
- <out:if test="position() != last()"><out:text>, </out:text></out:if>
- </out:for-each>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- <xsl:if test="@deliverySection != 'false'">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_DELIVERY"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:variable name="saveSummary">
- <out:if test="$jobOptions[./*[local-name()='name']='saveOutput']/*[local-name()='value'] = 'true'"><xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/></out:if>
- </out:variable>
- <out:variable name="printSummary">
- <out:if test="$jobOptions[./*[local-name()='name']='print']/*[local-name()='value'] = 'true'">
- <out:choose>
- <out:when test="/root/jobOptions/UIHelpers/printerSummary != ''">
- <xts:string id="IDS_CONFIRMATION_PRINT_REPORTS"/>
- <out:value-of select="concat(' ', /root/jobOptions/UIHelpers/printerSummary)"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_PRINT_REPORT_SUMMARY"/>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:variable>
- <out:variable name="emailSummary">
- <out:if test="$jobOptions[./*[local-name()='name']='email']/*[local-name()='value'] = 'true'">
- <out:value-of select="/root/jobOptions/UIHelpers/emailSummary"/>
- <out:if test="not($showBursting)">
- <xsl:value-of select="': '"/>
- <out:choose>
- <out:when test="/root/jobOptions/UIHelpers/emailRecipients != ''">
- <out:value-of select="/root/jobOptions/UIHelpers/emailRecipients"/>
- </out:when>
- <out:when test="/root/jobOptions/UIHelpers/emailRecipientsCount = '1'">
- <xts:string id="IDS_OTHERRUN_EMAIL_ONE_RECIPIENT"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_EMAIL_RECIPIENT_COUNT">
- <xts:param name="numPeople">
- <out:value-of select="/root/jobOptions/UIHelpers/emailRecipientsCount"/>
- </xts:param>
- </xts:string>
- </out:otherwise>
- </out:choose>
- </out:if>
- </out:if>
- </out:variable>
- <out:variable name="deliverySummary">
- <!-- save -->
- <out:if test="$saveSummary != ''">
- <out:value-of select="$saveSummary"/>
- </out:if>
- <!-- save to file system -->
- <out:if test="/root/jobOptions/UIHelpers/saveToFileSystemSummary != ''">
- <xsl:value-of select="', '"/>
- <out:value-of select="/root/jobOptions/UIHelpers/saveToFileSystemSummary"/>
- </out:if>
- <!-- print -->
- <out:if test="$printSummary != ''">
- <xsl:value-of select="', '"/>
- <out:value-of select="$printSummary"/>
- </out:if>
- <!-- email -->
- <out:if test="$emailSummary != ''">
- <xsl:value-of select="', '"/>
- <out:value-of select="$emailSummary"/>
- </out:if>
- </out:variable>
- <out:choose>
- <out:when test="starts-with($deliverySummary, ', ')"><out:value-of select="substring-after($deliverySummary, ', ')"/></out:when>
- <out:otherwise><out:value-of select="$deliverySummary"/></out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_SAVE_REPORT"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- <!-- bursting -->
- <out:if test="$showBursting">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_BURST_TITLE"/>
- </dp:section1>
- <dp:section2>
- <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
- </dp:section2>
- </dp:input>
- </out:if>
- </xsl:if>
- </cf:dynamicDiv>
- <xsl:if test="@genCacheDiv = 'true'">
- <!-- read only default options when in Save Prompt Cache mode-->
- <cf:dynamicDiv name="defaultOptionsCacheMode">
- <xsl:if test="not(@jobStepOption) or @jobStepOption = 'false'">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_STEP_RUN_RUN_REPORT_TO_TITLE"/>
- </dp:section1>
- <dp:section2>
- <xts:string id="IDS_OTHERRUN_REFRESH_REPORT_CACHE"/>
- </dp:section2>
- </dp:input>
- </xsl:if>
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_OTHERRUN_LANGUAGE"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:for-each select="set:distinct($jobOptions[./*[local-name()='name']='outputLocale']/*[local-name()='value']/*[local-name()='item'])" xmlns:set="http://exslt.org/sets">
- <out:sort select="."/>
- <out:variable name="locale" select="."/>
- <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
- <out:if test="position() != last()">
- <out:text>, </out:text>
- </out:if>
- </out:for-each>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_DEFAULT"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- </cf:dynamicDiv>
- </xsl:if>
- </xsl:template>
- <!--
- dynamic div to show the default report options section.
- -->
- <xsl:template match="ut:defaultContentTaskOptionsDiv">
- <out:variable name="useJobOptionsForDefault" select="'{@jobStepOption}'='true' and /root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and contains(@*[local-name()='type'], 'contentTaskOptionBoolean')]"/>
- <!-- read only default options -->
- <cf:dynamicDiv name="defaultContentTaskOptionsDiv">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_CONTENT_ADMIN_OPTION"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:choose>
- <out:when test="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and ./*[local-name()='name']='checkSecurityReferences']/*[local-name()='value'] = 'true'">
- <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIX"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- </cf:dynamicDiv>
- </xsl:template>
- <!--
- dynamic div to show the default index options section.
- -->
- <xsl:template match="ut:defaultIndexUpdateTaskOptionsDiv">
- <out:variable name="useJobOptionsForDefault" select="'{@jobStepOption}'='true' and /root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and contains(@*[local-name()='type'], 'indexOptionBoolean')]"/>
- <!-- read only default options -->
- <cf:dynamicDiv name="defaultIndexUpdateTaskOptionsDiv">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_TITLE"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:choose>
- <out:when test="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and ./*[local-name()='name']='force']/*[local-name()='value'] = 'true'">
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_ALL_ENTRIES"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
- </out:otherwise>
- </out:choose>
-
- </dp:section2>
- </dp:input>
- </cf:dynamicDiv>
- </xsl:template>
- <!--
- dynamic div to show the default report options section.
- -->
- <xsl:template match="ut:defaultDeploymentOptionsDiv">
- <out:variable name="useJobOptionsForDefault" select="'{@jobStepOption}'='true' and /root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and contains(@*[local-name()='type'], 'deploymentOptionClassEnumArray')]"/>
- <!-- read only default options -->
- <cf:dynamicDiv name="defaultDeploymentOptionsDiv">
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_TITLE_CONFIRM"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:choose>
- <out:when test="key('env-param','deploymentro_upgrade')='upgrade'">
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:when test="/root/*[local-name()='archiveOptions']/*[local-name()='getDeploymentOptionsResponse']/*[local-name()='deploymentOptions']/child::node()[@name='upgradeClasses']!=''">
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- <dp:input>
- <dp:section1>
- <xts:string id="IDS_DEPLOYMENT_OPTIONS_PRESERVE_STOREIDS_RADIO_SET_TITLE"/>
- </dp:section1>
- <dp:section2>
- <out:choose>
- <out:when test="$useJobOptionsForDefault">
- <out:choose>
- <out:when test="key('env-param','deploymentro_preserveStoreIDs')='true'">
- <xts:string id="IDS_DEPLOYMENT_OPTIONS_INCLUDE_PRESERVE_STOREIDS"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_DEPLOYMENT_OPTIONS_DO_NOT_INCLUDE_PRESERVE_STOREIDS"/>
- </out:otherwise>
- </out:choose>
- </out:when>
- <out:when test="/root/*[local-name()='archiveOptions']/*[local-name()='getDeploymentOptionsResponse']/*[local-name()='deploymentOptions']/child::node()[@name='preserveStoreIDs']='true'">
- <xts:string id="IDS_DEPLOYMENT_OPTIONS_INCLUDE_PRESERVE_STOREIDS"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_DEPLOYMENT_OPTIONS_DO_NOT_INCLUDE_PRESERVE_STOREIDS"/>
- </out:otherwise>
- </out:choose>
- </dp:section2>
- </dp:input>
- </cf:dynamicDiv>
- </xsl:template>
- <!--
- dynamic div to show the default report options section.
- -->
- <xsl:template match="ut:parametersDiv">
- <script language="javascript">
- <!-- variables used to save current settings when user toggles off "Override the default values" and then back on -->
- var save_parameters='';
- var save_description='';
- var save_html='';
- function togglePromptDivs()
- {
- toggledynamicDiv('overrideParametersDiv');toggledynamicDiv('defaultParmetersDiv');
- var frm = document.pform;
- <!-- "Override the default values" checkbox toggled on -->
- if (frm.override_default_parameters.checked)
- {
- <!-- set parameters environment variable to saved values or default values-->
- if (frm.m_rp_parameters)
- {
- if (save_parameters != '')
- {
- frm.m_rp_parameters.value = save_parameters;
- }
- else
- {
- if (frm.defaultParameters)
- {
- frm.m_rp_parameters.value = frm.defaultParameters.value;
- }
- }
- }
- <!-- set parameters description environment variable to saved values or default values-->
- if (frm.parameterDescription)
- {
- if (save_description != '')
- {
- frm.parameterDescription.value = save_description;
- }
- else
- {
- if (frm.defaultParameters)
- {
- frm.parameterDescription.value = frm.defaultParameterDescription.value;
- }
- }
- }
- if (frm.parameterDescriptionToLong && frm.defaultParameterDescriptionToLong)
- {
- frm.parameterDescriptionToLong.value = frm.defaultParameterDescriptionToLong.value;
- }
- <!-- restore the html to the value before the "Override the default values" was toggled on and off-->
- if (frm.defaultParameters && frm.defaultParameters.value != '')
- {
- if (save_html != '')
- {
- document.getElementById('overrideParametersDescription').innerHTML = save_html;
- }
- else
- {
- document.getElementById('overrideParametersDescription').innerHTML = document.getElementById('defaultParametersDescription').innerHTML;
- }
- }
- }
- else
- {
- <!-- blank out the saved parameters if the user unchecks the "Override defulat values" checkbox -->
- if (frm.m_rp_parameters)
- {
- <!-- save parameter values in temporary variables to deal with user toggling the "Override the default values"checkbox off and back on-->
- save_parameters = frm.m_rp_parameters.value;
- save_description = frm.parameterDescription.value;
- save_html = document.getElementById('overrideParametersDescription').innerHTML
- frm.m_rp_parameters.value = '';
- }
- }
- }
- </script>
- <cf:dynamicDiv name="defaultParmetersDiv">
- <out:variable name="hide_paramDescription" select="starts-with(key('env-param','step_class'),'powerPlay8') or starts-with(key('env-param','m_class'),'powerPlay8')"/>
- <div id="defaultParametersDescription">
- <dp:list>
- <dp:section>
- <out:choose>
- <out:when test="key('env-param','defaultParameterDescription')!=''">
- <out:if test="not($hide_paramDescription='true')">
- <dp:text><out:value-of select="key('env-param','defaultParameterDescription')"/></dp:text>
- <dp:link>
- <utml:a utml:op="stack-up">
- <utml:target>
- <out:value-of select="concat($app, '/view_prompts.xts')"/>
- </utml:target>
- <xsl:text/><xts:string id="IDS_OTHERRUN_PROMPT_VIEW"/><xsl:text/>
- </utml:a>
- </dp:link>
- </out:if>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_OTHERRUN_PROMPT_NOT_SAVED"/>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:list>
- </div>
- </cf:dynamicDiv>
- <utml:input type="hidden" name="cleared_prompts" value=""/>
- <cf:dynamicDiv name="overrideParametersDiv">
- <xsl:call-template name="ut:promptTemplateUI"/>
- </cf:dynamicDiv>
- </xsl:template>
- <!--
- ut:taskSummaryUI
- builds a table displaying a list of tasks or steps
- -->
- <xsl:template match="ut:taskSummaryUI">
- <dp:list>
- <dp:section>
- <dp:label>
- <xsl:choose>
- <xsl:when test="@label"><xsl:value-of select="@label"/></xsl:when>
- <xsl:otherwise>
- <out:choose>
- <out:when test="string({@objectClass})='jobDefinition'"><xts:string id="IDS_PROP_JOB_STEPS_LABEL"/></out:when>
- <out:otherwise><xts:string id="IDS_PROP_AGENT_TASKS"/></out:otherwise>
- </out:choose>
- </xsl:otherwise>
- </xsl:choose>
- </dp:label>
- <dp:text width="100%"/>
- </dp:section>
- </dp:list>
- <cf:main-pager-section form="pform" name="tasks" virtualPage="true" width="100%">
- <cf:param name="item-path"><xsl:value-of select="@iterate"/></cf:param>
- <cf:param name="target">/root/env/param[@name='m']</cf:param>
- <cf:param name="lines-per-page"><out:value-of select="key('session-param', 'linesPerPage')"/></cf:param>
- <cf:param name="rows">
- <cp:tableHeader>
- <cp:columnHeader/>
- <cp:columnHeader width="100%">
- <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/> </span>
- <out:text/><xts:string id="IDS_NAME"/><out:text/>
- </cp:columnHeader>
- </cp:tableHeader>
- <cp:tableContent>
- <cp:columnContent>
- <out:call-template name="gen-icon">
- <out:with-param name="class" select="{@itemObject}/*/cm:objectClass"/>
- <out:with-param name="baseClass" select="string({@itemObject}/*/cm:base/*/cm:objectClass)"/>
- <out:with-param name="iconURIOverride" select="{@itemObject}/*/cm:iconURI"/>
- <out:with-param name="showAction" select="false()"/>
- <out:with-param name="isDangling" select="{@itemObject}/*/cm:base/@nil='true'"/>
- <out:with-param name="hiddenObject" select="{@itemObject}/*/cm:hidden"/>
- </out:call-template>
- </cp:columnContent>
- <cp:columnContent>
- <out:if test="{@itemObject}/*/cm:defaultName and not(contains(' storedProcedureTask webServiceTask memo shortcutRSSTask urlRSSTask ', concat(' ',{@itemObject}/*/cm:objectClass,' ')))">
- <img align="absmiddle" height="16" width="20" src="{'{$skin_images}'}path.gif">
- <out:attribute name="alt">
- <cf:do-the-path-link>
- <cf:param name="familytree"><xsl:value-of select="@itemObject"/>/*/cm:ancestors</cf:param>
- <cf:param name="familymember"><xsl:value-of select="@itemObject"/>/*/cm:defaultName</cf:param>
- <cf:param name="onlyAncestors">true</cf:param>
- </cf:do-the-path-link>
- </out:attribute>
- </img>
- <out:text> </out:text>
- </out:if>
- <out:choose>
- <out:when test="{@itemObject}/*/cm:defaultName">
- <out:value-of select="xtsext:enforceBTD({@itemObject}/*/cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
- </out:when>
- <out:when test="{@itemObject}/@nil = 'true'">
- <xts:string id="IDS_MISSING_STEP"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_PROP_ENTRY_NOT_FOUND"/>
- </out:otherwise>
- </out:choose>
- </cp:columnContent>
- </cp:tableContent>
- </cf:param>
- </cf:main-pager-section>
- </xsl:template>
- <xsl:template match="ut:metricsOtherOptionsSummaryUI">
- <out:variable name="loadFromStagingTables" select="key('options-item','loadFromStagingTables')/*[local-name()='value'] = 'true'"/>
- <out:variable name="recalculateMetrics" select="key('options-item','recalculateMetrics')/*[local-name()='value'] = 'true'"/>
- <br/>
- <xsl:choose>
- <xsl:when test="@class='metricsExportTask'">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_EXPORT_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="3">
- <xts:string id="IDS_PROP_METRICS_EXPORT"/>
- </td>
- </tr>
- </table>
- </xsl:when>
- <xsl:otherwise>
- <out:if test="$recalculateMetrics or $loadFromStagingTables">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_DATA_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:if test="$loadFromStagingTables">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/>
- </td>
- </tr>
- </out:if>
- <out:if test="$recalculateMetrics">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/>
- </td>
- </tr>
- </out:if>
- </table>
- <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
- </out:if>
- <out:variable name="clearHistory" select="key('options-item','clearHistory')/*[local-name()='value'] = 'true'"/>
- <out:variable name="clearCalendar" select="key('options-item','clearCalendar')/*[local-name()='value'] = 'true'"/>
- <out:variable name="clearRejects" select="key('options-item','clearRejects')/*[local-name()='value'] = 'true'"/>
- <out:if test="$clearHistory or $clearCalendar or $clearRejects">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_CLEAR_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:if test="$clearHistory">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/>
- </td>
- </tr>
- <out:if test="$clearCalendar">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/>
- </td>
- </tr>
- </out:if>
- </out:if>
- <out:if test="$clearRejects">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/>
- </td>
- </tr>
- </out:if>
- </table>
- <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
- </out:if>
- <out:variable name="processWatchListQueue" select="key('options-item','processWatchListQueue')/*[local-name()='value'] = 'true'"/>
- <out:variable name="synchronizeUserInformation" select="key('options-item','synchronizeUserInformation')/*[local-name()='value'] = 'true'"/>
- <out:variable name="updateIndexes" select="key('options-item','updateIndexes')/*[local-name()='value'] = 'true'"/>
- <out:variable name="rebuildIndexes" select="key('options-item','rebuildIndexes')/*[local-name()='value'] = 'true'"/>
- <out:if test="$processWatchListQueue or $synchronizeUserInformation or $updateIndexes or $rebuildIndexes">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_OTHER_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:if test="$processWatchListQueue">
- <tr>
- <td nowrap="nowrap" class="formText">
- <td nowrap="nowrap"> </td>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/>
- </td>
- </tr>
- </out:if>
- <out:if test="$synchronizeUserInformation">
- <tr>
- <td nowrap="nowrap" class="formText">
- <td nowrap="nowrap"> </td>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_SYNCHRONIZE_USER_INFO"/>
- </td>
- </tr>
- </out:if>
- <out:choose>
- <out:when test="$updateIndexes">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <td nowrap="nowrap"> </td>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <xts:string id="IDS_PROP_METRICS_MAINTAIN_SUMMARY_INDEXES_UPDATE"/>
- </td>
- </tr>
- </out:when>
- <out:when test="$rebuildIndexes">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <td nowrap="nowrap"> </td>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <xts:string id="IDS_PROP_METRICS_MAINTAIN_SUMMARY_INDEXES_REBUILD"/>
- </td>
- </tr>
- </out:when>
- </out:choose>
- </table>
- </out:if>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="ut:metricsImportOptionsSummaryUI">
- <out:variable name="loadFromStagingTables" select="key('options-item','loadFromStagingTables')/*[local-name()='value'] = 'true'"/>
- <br/>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_IMPORT_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="3">
- <xsl:choose>
- <xsl:when test="@class = 'metricsFileImportTask'">
- <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_FILES"/>
- </xsl:when>
- <xsl:otherwise>
- <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_DATA_SOURCE"/>
- </xsl:otherwise>
- </xsl:choose>
- </td>
- </tr>
- <out:if test="$loadFromStagingTables">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="3">
- <xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/>
- </td>
- </tr>
- </out:if>
- </table>
- <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
- <out:if test="$loadFromStagingTables">
- <out:variable name="clearHistory" select="key('options-item','clearHistory')/*[local-name()='value'] = 'true'"/>
- <out:variable name="clearCalendar" select="key('options-item','clearCalendar')/*[local-name()='value'] = 'true'"/>
- <out:variable name="clearRejects" select="key('options-item','clearRejects')/*[local-name()='value'] = 'true'"/>
- <out:if test="$clearHistory or $clearCalendar or $clearRejects">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel" colspan="3">
- <xts:string id="IDS_PROP_METRICS_PRE_IMPORT_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:if test="$clearHistory">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/>
- </td>
- </tr>
- <out:if test="$clearCalendar">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/>
- </td>
- </tr>
- </out:if>
- </out:if>
- <out:if test="$clearRejects">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/>
- </td>
- </tr>
- </out:if>
- </table>
- <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
- </out:if>
- <out:variable name="recalculateMetrics" select="key('options-item','recalculateMetrics')/*[local-name()='value'] = 'true'"/>
- <out:variable name="processWatchListQueue" select="key('options-item','processWatchListQueue')/*[local-name()='value'] = 'true'"/>
- <out:variable name="updateIndexes" select="key('options-item','updateIndexes')/*[local-name()='value'] = 'true'"/>
- <out:if test="$recalculateMetrics or $processWatchListQueue or $updateIndexes">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel" colspan="3">
- <xts:string id="IDS_PROP_METRICS_POST_IMPORT_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <out:if test="$recalculateMetrics">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/>
- </td>
- </tr>
- </out:if>
- <out:if test="$processWatchListQueue">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/>
- </td>
- </tr>
- </out:if>
- <out:if test="$updateIndexes">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <xts:string id="IDS_PROP_METRICS_UPDATE_INDEXES"/>
- </td>
- </tr>
- </out:if>
- </table>
- </out:if>
- </out:if>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:metricsImportOptionsUI
- ===============================================================================================
- -->
- <xsl:template match="ut:metricsImportOptionsUI">
- <script language="javascript">
- function updateImportOptions()
- {
- var frm = document.pform;
- if (frm.m_mo_loadFromStagingTables.checked)
- {
- frm.m_mo_clearHistory.disabled=false;
- frm.m_mo_clearCalendar.disabled=!frm.m_mo_clearHistory.checked;
- frm.m_mo_clearRejects.disabled=false;
- frm.m_mo_recalculateMetrics.disabled=false;
- frm.m_mo_processWatchListQueue.disabled=false;
- frm.m_mo_updateIndexes.disabled=false;
- }
- else
- {
- frm.m_mo_clearHistory.disabled=true;
- frm.m_mo_clearCalendar.disabled=true;
- frm.m_mo_clearRejects.disabled=true;
- frm.m_mo_recalculateMetrics.disabled=true;
- frm.m_mo_processWatchListQueue.disabled=true;
- frm.m_mo_updateIndexes.disabled=true;
- }
- }
- function updateClearOptions()
- {
- document.pform.m_mo_clearCalendar.disabled=!document.pform.m_mo_clearHistory.checked;
- }
- </script>
- <out:variable name="clearHistory" select="key('env-param', 'm_mo_clearHistory')='true'"/>
- <out:variable name="loadTables" select="key('env-param', 'm_mo_loadFromStagingTables')='true'"/>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_IMPORT_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" align="center">
- <img align="absmiddle" border="0" role="checkbox" aria-checked="true" aria-disabled="true" id="ctrl_metrics_import_from" alt="">
- <out:attribute name="src"><out:value-of select="$image_root"/>checkmark.gif</out:attribute>
- </img>
- </td>
- <td nowrap="nowrap" class="formText" colspan="3">
- <label for="ctrl_metrics_import_from">
- <out:choose>
- <out:when test="$the-class = 'metricsFileImportTask'">
- <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_FILES"/>
- </out:when>
- <out:otherwise>
- <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_DATA_SOURCE"/>
- </out:otherwise>
- </out:choose>
- </label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_loadFromStagingTables" value="true" utml:track="true" onclick="updateImportOptions()" id="ctrl_m_mo_loadFromStagingTables"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="3">
- <label for="ctrl_m_mo_loadFromStagingTables"><xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel" colspan="3" role="group" aria-labelledby="lbl_preImportOptionsGroup" aria-owns="ctrl_m_mo_clearHistory ctrl_m_mo_clearCalendar ctrl_m_mo_clearRejects">
- <span id="lbl_preImportOptionsGroup"><xts:string id="IDS_PROP_METRICS_PRE_IMPORT_OPTIONS"/></span>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearHistory" value="true" utml:track="true" onclick="updateClearOptions()" id="ctrl_m_mo_clearHistory">
- <out:if test="not($loadTables)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_clearHistory"><xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearCalendar" value="true" utml:track="true" id="ctrl_m_mo_clearCalendar">
- <out:if test="not($loadTables and $clearHistory)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <label for="ctrl_m_mo_clearCalendar"><xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearRejects" value="true" utml:track="true" id="ctrl_m_mo_clearRejects">
- <out:if test="not($loadTables)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_clearRejects"><xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formLabel" colspan="3" role="group" aria-labelledby="lbl_postImportOptionsGroup" aria-owns="ctrl_m_mo_recalculateMetrics ctrl_m_mo_processWatchListQueue ctrl_m_mo_updateIndexes">
- <span id="lbl_postImportOptionsGroup"><xts:string id="IDS_PROP_METRICS_POST_IMPORT_OPTIONS"/></span>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_recalculateMetrics" value="true" utml:track="true" id="ctrl_m_mo_recalculateMetrics">
- <out:if test="not($loadTables)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_recalculateMetrics"><xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_processWatchListQueue" value="true" utml:track="true" id="ctrl_m_mo_processWatchListQueue">
- <out:if test="not($loadTables)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_processWatchListQueue"><xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_updateIndexes" value="true" utml:track="true" id="ctrl_m_mo_updateIndexes">
- <out:if test="not($loadTables)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_updateIndexes"><xts:string id="IDS_PROP_METRICS_UPDATE_INDEXES"/></label>
- </td>
- </tr>
- </table>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:metricsMaintenanceDataOptionsUI
- ===============================================================================================
- -->
- <xsl:template match="ut:metricsMaintenanceDataOptionsUI">
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_DATA_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_loadFromStagingTables" value="true" utml:track="true" id="ctrl_m_mo_loadFromStagingTables"/>
- </td>
- <td nowrap="nowrap" class="formText">
- <label for="ctrl_m_mo_loadFromStagingTables"><xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_recalculateMetrics" value="true" utml:track="true" id="ctrl_m_mo_recalculateMetrics"/>
- </td>
- <td nowrap="nowrap" class="formText">
- <label for="ctrl_m_mo_recalculateMetrics"><xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/></label>
- </td>
- </tr>
- </table>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:metricsMaintenanceClearOptionsUI
- ===============================================================================================
- -->
- <xsl:template match="ut:metricsMaintenanceClearOptionsUI">
- <script language="javascript">
- function updateClearOptions()
- {
- document.pform.m_mo_clearCalendar.disabled=!document.pform.m_mo_clearHistory.checked;
- }
- </script>
- <out:variable name="clearHistory" select="key('env-param', 'm_mo_clearHistory')='true'"/>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_CLEAR_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table role="presentation">
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearHistory" value="true" utml:track="true" onclick="updateClearOptions();" id="ctrl_m_mo_clearHistory"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_clearHistory"><xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearCalendar" value="true" utml:track="true" id="ctrl_m_mo_clearCalendar">
- <out:if test="not($clearHistory)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <label for="ctrl_m_mo_clearCalendar"><xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearRejects" value="true" utml:track="true" id="ctrl_m_mo_clearRejects"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_clearRejects"><xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_clearAuditLogs" value="true" utml:track="true" id="ctrl_m_mo_clearAuditLogs"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_clearAuditLogs"><xts:string id="IDS_PROP_METRICS_CLEAR_AUDIT_LOGS"/></label>
- </td>
- </tr>
- </table>
- </xsl:template>
- <!--
- ===============================================================================================
- ut:metricsMaintenanceOtherOptionsUI
- ===============================================================================================
- -->
- <xsl:template match="ut:metricsMaintenanceOtherOptionsUI">
- <out:variable name="maintainIndexes" select="key('env-param', 'm_mo_updateIndexes')='true' or key('env-param', 'm_mo_rebuildIndexes')='true'"/>
- <script language="javascript">
- function updateIndexOptions()
- {
- var frm = document.pform;
- if (frm.maintainIndexes &&frm.maintainIndexes.checked)
- {
- frm.maintainIndexes_value[0].disabled=false;
- frm.maintainIndexes_value[1].disabled=false;
- if (frm.maintainIndexes_value[0].checked)
- {
- frm.m_mo_updateIndexes.value = 'true';
- frm.m_mo_rebuildIndexes.value = 'false';
- }
- else
- {
- frm.m_mo_updateIndexes.value = 'false';
- frm.m_mo_rebuildIndexes.value = 'true';
- }
- }
- else if (frm.maintainIndexes_value)
- {
- frm.maintainIndexes_value[0].disabled=true;
- frm.maintainIndexes_value[1].disabled=true;
- frm.m_mo_updateIndexes.value = 'false';
- frm.m_mo_rebuildIndexes.value = 'false';
- }
- }
- </script>
- <table cellspacing="0" border="0" cellpadding="1" role="presentation">
- <tr>
- <td nowrap="nowrap" class="formLabel">
- <xts:string id="IDS_PROP_METRICS_MAINTENANCE_OTHER_OPTIONS"/>
- </td>
- </tr>
- </table>
- <table role="presentation">
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_processWatchListQueue" value="true" utml:track="true" id="m_mo_processWatchListQueue"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="m_mo_processWatchListQueue"><xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="m_mo_synchronizeUserInformation" value="true" utml:track="true" id="ctrl_m_mo_synchromizeUserInformation"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_m_mo_synchromizeUserInformation"><xts:string id="IDS_PROP_METRICS_SYNCHRONIZE_USER_INFO"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap" class="formText">
- <utml:input type="checkbox" name="maintainIndexes" value="true" utml:track="true" utml:default-condition="$maintainIndexes" onClick="updateIndexOptions()" id="ctrl_maintainIndexes"/>
- </td>
- <td nowrap="nowrap" class="formText" colspan="2" width="100%">
- <label for="ctrl_maintainIndexes"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES"/></label>
- </td>
- </tr>
- <utml:radio-group name="maintainIndexes_value" utml:track="true" utml:default-value="update">
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="radio" value="update" onClick="updateIndexOptions()" id="ctrl_maintainIndexes_update">
- <out:if test="not($maintainIndexes)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- <out:if test="key('env-param', 'm_mo_rebuildIndexes')='false'">
- <out:attribute name="checked"/>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <label for="ctrl_maintainIndexes_update"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES_UPDATE"/></label>
- </td>
- </tr>
- <tr>
- <td nowrap="nowrap"> </td>
- <td nowrap="nowrap" class="formText">
- <utml:input type="radio" value="rebuild" onClick="updateIndexOptions()" id="ctrl_maintainIndexes_rebuild">
- <out:if test="not($maintainIndexes)">
- <out:attribute name="disabled">true</out:attribute>
- </out:if>
- <out:if test="key('env-param', 'm_mo_rebuildIndexes')='true'">
- <out:attribute name="checked"/>
- </out:if>
- </utml:input>
- </td>
- <td nowrap="nowrap" class="formText" width="100%">
- <label for="ctrl_maintainIndexes_rebuild"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES_REBUILD"/></label>
- </td>
- </tr>
- </utml:radio-group>
- </table>
- <utml:input type="hidden" name="m_mo_updateIndexes" utml:track="true"/>
- <utml:input type="hidden" name="m_mo_rebuildIndexes" utml:track="true"/>
- </xsl:template>
- <!--
- generic template for password fields
- @fieldName - Used for the visible edit field as well as a hidden field built as @fieldName_Encrypted
- @disabled - should the field be disabled by default
- @confirmPasswordTitle - Title for the password confirmation popup dialog
- @confirmPasswordLabel - Label for the confirmation edit field
- -->
- <!-- builds the summary of PDF options and show the correct links to set or edit/clear them -->
- <xsl:template match="ut:pdfOptionSummary" name="ut:pdfOptionSummary">
- <dp:list>
- <out:variable name="pdfOptions">
- <dt:buildPDFOptionSummary/>
- </out:variable>
- <utml:input type="hidden" value="" name="option_op" utml:update="false"/>
-
- <dp:section>
- <div id="pdf_options_summary">
- <out:choose>
- <out:when test="string($pdfOptions) != ''"><out:value-of select="$pdfOptions"/></out:when>
- <out:otherwise><xts:string id="IDS_OTHERRUN_NO_PDF_OPTIONS"/></out:otherwise>
- </out:choose>
- </div>
- </dp:section>
- <dp:section>
- <out:choose>
- <out:when test="string($pdfOptions) != ''">
- <out:if test="$form-read-only = 'false'">
- <div>
- <utml:a utml:op="stack-up">
- <utml:href>if (document.pform.m_ro_outputFormat_PDF) {document.pform.m_ro_outputFormat_PDF.checked = true;}</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/specify_PDF_options.xts')"/>
- </utml:target>
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_EDIT_ARIA"/></out:attribute>
- <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_EDIT"/>
- </utml:a>
-    
- <utml:a utml:op="maintain">
- <utml:href>document.pform.option_op.value = 'clear_pdf_options';</utml:href>
- <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_CLEAR_ARIA"/></out:attribute>
- <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_CLEAR"/>
- </utml:a>
- </div>
- </out:if>
- </out:when>
- <out:otherwise>
- <out:if test="$form-read-only = 'false'">
- <out:variable name="setLabel"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_SET_LINK_LBL"/></out:variable>
- <dp:link>
- <div>
- <utml:a utml:op="stack-up" aria-label="{'{$setLabel}'}">
- <utml:href>if (document.pform.m_ro_outputFormat_PDF) {document.pform.m_ro_outputFormat_PDF.checked = true;}</utml:href>
- <utml:target>
- <out:value-of select="concat($app, '/specify_PDF_options.xts')"/>
- </utml:target>
- <xsl:text/>
- <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_SET"/>
- <xsl:text/>
- </utml:a>
- </div>
- </dp:link>
- </out:if>
- </out:otherwise>
- </out:choose>
- </dp:section>
- </dp:list>
- </xsl:template>
- <!-- used in the report property dialog -->
- <xsl:template match="ut:pdfOptions">
- <!-- pdf options -->
- <out:variable name="mClass" select="key('env-param','m_class')"/>
- <out:variable name="stepClass" select="key('env-param','step_class')"/>
- <out:variable name="pdfOptions_isInteractiveReport" select="$mClass='interactiveReport' or $stepClass='interactiveReport' or (($mClass='reportView' or $stepClass='reportView') and string(/root/cm:queryResponse/cm:queryReply/*/cm:base/*/cm:objectClass)='interactiveReport')"/>
- <out:if test="not($pdfOptions_isInteractiveReport)">
- <dp:list>
- <dp:section><dp:text> </dp:text></dp:section>
- <dp:section><dp:label><xts:string id="IDS_OTHERRUN_PDF_OPTIONS"/></dp:label></dp:section>
- <dp:section>
- <xsl:call-template name="ut:pdfOptionSummary"/>
- </dp:section>
- </dp:list>
- </out:if>
-
- </xsl:template>
- <!-- the main engine -->
- <xsl:template match="*">
- <xsl:copy>
- <xsl:copy-of select="@*"/>
- <xsl:apply-templates/>
- </xsl:copy>
- </xsl:template>
- </xsl:stylesheet>
|