ui-templates.xsl 200 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: ps
  5. (C) Copyright IBM Corp. 2005, 2016
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <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/"
  9. xmlns:ut="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/ui-templates/"
  10. xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
  11. xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
  12. xmlns:utml="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/"
  13. xmlns:xts="http://developer.cognos.com/schemas/xts/"
  14. xmlns:cms="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/cms/1/"
  15. xmlns:pf="http://developer.cognos.com/schemas/xts/pf"
  16. xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
  17. xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
  18. xmlns:df="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/framework/"
  19. xmlns:dt="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/templates/"
  20. xmlns:send="http://developer.cognos.com/schemas/xts/logic-sheet/xslt/brl/1/"
  21. xmlns:x="x"
  22. xmlns:out="dummy-uri" xmlns:xtsext="xalan://com.cognos.xts.ext.XTSExt"
  23. exclude-result-prefixes="dt lyt ut dp cm utml xts cms pf cf cp send x xtsext">
  24. <xsl:output method="xml" encoding="UTF-8" indent="no"/>
  25. <xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
  26. <!--
  27. ut:propDefaultActionSection
  28. ut:format (new version of template)
  29. ut:selectBaseInteractivity
  30. ut:refreshReportCache
  31. ut:runTo
  32. ut:language (new version of template)
  33. ut:burst(new version of template)
  34. ut:delivery (new version of template)
  35. ut:prompt (new version of template)
  36. ut:jobUI (new version of template)
  37. ut:taskSummaryUI
  38. -->
  39. <!--
  40. ===============================================================================================
  41. ut:propDefaultActionSection : Default action selection menu in report properties page.
  42. These variables are used by this template and must be defined in the block using this template:
  43. studioName: contains the studio name. Example "Query Studio"
  44. defaultAction: One of run, edit, or viewOutput
  45. ===============================================================================================
  46. -->
  47. <xsl:template match="ut:propDefaultActionSection">
  48. <dp:input>
  49. <dp:section1><dp:label for="defaultPortalAction"><xts:string id="IDS_PROP_RUN_DEFAULT_ACTION"/></dp:label></dp:section1>
  50. <dp:section>
  51. <out:choose>
  52. <out:when test="key('env-param','m_class') = 'powerPlayReport'">
  53. <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
  54. <utml:default-value>
  55. <out:value-of select="$defaultAction"/>
  56. </utml:default-value>
  57. <utml:option value="run">
  58. <xts:string id="IDS_ACT_RUN_PDF_EX"/>
  59. </utml:option>
  60. <utml:option value="edit">
  61. <xts:string id="IDS_ACT_EDIT_WPPWX"/>
  62. </utml:option>
  63. </utml:select>
  64. </out:when>
  65. <out:when test="key('env-param','m_class') = 'powerPlay8Report' or key('env-param','m_class') = 'powerPlay8ReportView'">
  66. <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
  67. <utml:default-value>
  68. <out:value-of select="$defaultAction"/>
  69. </utml:default-value>
  70. <utml:option value="viewOutput">
  71. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_VIEW_RECENT_REPORT"/>
  72. </utml:option>
  73. <utml:option value="run">
  74. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_RUN_REPORT"/>
  75. </utml:option>
  76. <out:if test="key('env-param','m_class') = 'powerPlay8Report'">
  77. <utml:option value="edit">
  78. <xts:string id="IDS_ACT_EDIT_WPPWX8"/>
  79. </utml:option>
  80. </out:if>
  81. </utml:select>
  82. </out:when>
  83. <out:when test="key('env-param','m_class') = 'package'">
  84. <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
  85. <utml:default-value>
  86. <out:value-of select="$defaultAction"/>
  87. </utml:default-value>
  88. <utml:option value="run">
  89. <xsl:choose>
  90. <xsl:when test="@package='metrics'"><xts:string id="IDS_ACT_OPEN_WCMM"/></xsl:when>
  91. <xsl:when test="@package='planning'"><xts:string id="IDS_ACT_OPEN_WCR"/></xsl:when>
  92. <xsl:when test="@package='aatoc'"><xts:string id="IDS_ACT_OPEN_WAA"/></xsl:when>
  93. </xsl:choose>
  94. </utml:option>
  95. <utml:option value="view">
  96. <xsl:choose>
  97. <xsl:when test="@package='metrics'"><xts:string id="IDS_ACT_VIEW_WCC"/></xsl:when>
  98. <xsl:when test="@package='planning'"><xts:string id="IDS_ACT_VIEW_WPP"/></xsl:when>
  99. <xsl:when test="@package='aatoc'"><xts:string id="IDS_ACT_VIEW_WAA"/></xsl:when>
  100. </xsl:choose>
  101. </utml:option>
  102. </utml:select>
  103. </out:when>
  104. <!-- agentDefinitions and agentDefinitionViews -->
  105. <out:when test="key('env-param','m_class') = 'agentDefinition' or key('env-param','m_class') = 'agentDefinitionView'">
  106. <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
  107. <utml:default-value>
  108. <out:value-of select="$defaultAction"/>
  109. </utml:default-value>
  110. <utml:option value="viewEventList">
  111. <xts:string id="IDS_ACT_HOTLIST_AGS"/>
  112. </utml:option>
  113. <utml:option value="run">
  114. <xts:string id="IDS_ACT_RUN_AGENT"/>
  115. </utml:option>
  116. <out:if test="key('env-param','m_class')!='agentDefinitionView'">
  117. <utml:option value="edit">
  118. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_OPEN_WITH_STUDIO">
  119. <xts:param name="studio">
  120. <out:value-of select="$studioName"/>
  121. </xts:param>
  122. </xts:string>
  123. </utml:option>
  124. </out:if>
  125. </utml:select>
  126. </out:when>
  127. <out:otherwise>
  128. <utml:select name="m_p_defaultPortalAction" id="defaultPortalAction">
  129. <utml:default-value>
  130. <out:value-of select="$defaultAction"/>
  131. </utml:default-value>
  132. <utml:option value="viewOutput">
  133. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_VIEW_RECENT_REPORT"/>
  134. </utml:option>
  135. <utml:option value="run">
  136. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_RUN_REPORT"/>
  137. </utml:option>
  138. <out:if test="key('env-param','m_class')!='reportView'">
  139. <utml:option value="edit">
  140. <xts:string id="IDS_PROP_RUN_DEFAULT_ACTION_OPEN_WITH_STUDIO">
  141. <xts:param name="studio">
  142. <out:value-of select="$studioName"/>
  143. </xts:param>
  144. </xts:string>
  145. </utml:option>
  146. </out:if>
  147. </utml:select>
  148. </out:otherwise>
  149. </out:choose>
  150. </dp:section>
  151. </dp:input>
  152. </xsl:template>
  153. <!--
  154. ===============================================================================================
  155. ut:formatSelectList
  156. @addFormatSubOptions - On the advanced run with options dialog, we need to show/hide the extra
  157. options depending on which format is selected. For example, when PDF is
  158. selected we need to show the PDF options.
  159. ===============================================================================================
  160. -->
  161. <xsl:template match="ut:formatSelectList">
  162. <dp:choice title="IDS_PROP_RUN_FORMAT" id="lbl_outputFormat">
  163. <dp:section1>
  164. <out:variable name="defaultFormat">
  165. <out:choose>
  166. <out:when test="key('env-param','m_ro_outputFormat')"><out:value-of select="key('env-param','m_ro_outputFormat')"/></out:when>
  167. <out:otherwise>HTML</out:otherwise>
  168. </out:choose>
  169. </out:variable>
  170. <out:variable name="mClass" select="key('env-param','m_class')"/>
  171. <out:variable name="stepClass" select="key('env-param','step_class')"/>
  172. <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')"/>
  173. <out:variable name="isPowerPlay8Report" select="key('env-param', 'm_class')='powerPlay8Report' or key('env-param', 'm_class')='powerPlay8ReportView'"/>
  174. <out:choose>
  175. <!-- powerPlay8Reports only support PDF -->
  176. <out:when test="$isPowerPlay8Report">
  177. <utml:input type="hidden" name="m_pp8ro_outputFormat" utml:update="false">
  178. <utml:value>PDF</utml:value>
  179. </utml:input>
  180. <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:text>
  181. </out:when>
  182. <!-- interactiveReports only support HTML -->
  183. <out:when test="$formatSelectList_isInteractiveReport">
  184. <utml:input type="hidden" name="m_ro_outputFormat" utml:update="false">
  185. <utml:value>HTML</utml:value>
  186. </utml:input>
  187. <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></dp:text>
  188. </out:when>
  189. <out:otherwise>
  190. <utml:select name="m_ro_outputFormat" id="outputFormat" aria-labelledby="lbl_outputFormat" utml:track="true">
  191. <utml:default-value>
  192. <out:value-of select="$defaultFormat"/>
  193. </utml:default-value>
  194. <xsl:if test="@addFormatSubOptions">
  195. <out:attribute name="onchange">updateSubOptions();</out:attribute>
  196. </xsl:if>
  197. <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')]">
  198. <xsl:choose>
  199. <xsl:when test="@show_all='true'">
  200. <utml:option>
  201. <utml:value><out:value-of select="@id"/></utml:value>
  202. <out:value-of select="$formatNameLookUp/formats/format[@id = current()/@id]"/>
  203. </utml:option>
  204. </xsl:when>
  205. <xsl:otherwise>
  206. <out:variable name="isExcelFormat" select="@id = 'spreadsheetML' or @id = 'xlsxData' or @id = 'XLWA' or @id = 'singleXLS' or @id = 'XLS'"/>
  207. <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)))">
  208. <utml:option>
  209. <utml:value><out:value-of select="@id"/></utml:value>
  210. <out:value-of select="$formatNameLookUp/formats/format[@id = current()/@id]"/>
  211. </utml:option>
  212. </out:if>
  213. </xsl:otherwise>
  214. </xsl:choose>
  215. </out:for-each>
  216. </utml:select>
  217. <xsl:if test="@addFormatSubOptions = 'true'">
  218. <!-- pdf options -->
  219. <cf:dynamicDiv name="div_pdfOptions" runTimeVisibleCheck="$defaultFormat = 'PDF'">
  220. <out:choose>
  221. <out:when test="$form-read-only = 'true'">
  222. <!-- page orientation -->
  223. <dp:list title="IDS_OTHERRUN_ORIENTATION">
  224. <dp:section>
  225. <out:choose>
  226. <out:when test="key('env-param', 'm_ro_outputPageOrientation')='landscape'">
  227. <dp:text><xts:string id="IDS_OTHERRUN_LANDSCAPE"/></dp:text>
  228. </out:when>
  229. <out:when test="key('env-param', 'm_ro_outputPageOrientation')='portrait'">
  230. <dp:text><xts:string id="IDS_OTHERRUN_PORTRAIT"/></dp:text>
  231. </out:when>
  232. <out:otherwise>
  233. <dp:text><xts:string id="IDS_OTHERRUN_DEFAULT"/></dp:text>
  234. </out:otherwise>
  235. </out:choose>
  236. </dp:section>
  237. </dp:list>
  238. </out:when>
  239. <out:otherwise>
  240. <!-- page orientation -->
  241. <dp:list title="IDS_OTHERRUN_ORIENTATION" for="pageOrienationRunNow">
  242. <dp:section>
  243. <utml:select name="m_ro_outputPageOrientation" id="pageOrienationRunNow" utml:track="true">
  244. <utml:default-value>
  245. <out:choose>
  246. <out:when test="key('env-param', 'm_ro_outputPageOrientation')">key('env-param', 'm_ro_outputPageOrientation')</out:when>
  247. <out:otherwise>default</out:otherwise>
  248. </out:choose>
  249. </utml:default-value>
  250. <utml:option>
  251. <utml:value>default</utml:value>
  252. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  253. </utml:option>
  254. <utml:option>
  255. <utml:value>portrait</utml:value>
  256. <xts:string id="IDS_OTHERRUN_PORTRAIT"/>
  257. </utml:option>
  258. <utml:option>
  259. <utml:value>landscape</utml:value>
  260. <xts:string id="IDS_OTHERRUN_LANDSCAPE"/>
  261. </utml:option>
  262. </utml:select>
  263. </dp:section>
  264. </dp:list>
  265. </out:otherwise>
  266. </out:choose>
  267. <!-- paper size -->
  268. <out:if test="/root/cm:queryResponse/cm:queryReply/cm:pageDefinition">
  269. <out:choose>
  270. <out:when test="$form-read-only = 'true'">
  271. <dp:list title="IDS_OTHERRUN_PAPERSIZE">
  272. <dp:section>
  273. <out:choose>
  274. <out:when test="key('env-param','m_ro_outputPageDefinition')">
  275. <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>
  276. </out:when>
  277. <out:otherwise>
  278. <dp:text><xts:string id="IDS_OTHERRUN_DEFAULT"/></dp:text>
  279. </out:otherwise>
  280. </out:choose>
  281. </dp:section>
  282. </dp:list>
  283. </out:when>
  284. <out:otherwise>
  285. <dp:list title="IDS_OTHERRUN_PAPERSIZE" for="pageDefinitionRunNow">
  286. <dp:section>
  287. <utml:select name="m_ro_outputPageDefinition" id="pageDefinitionRunNow" utml:track="true">
  288. <utml:option>
  289. <out:if test="not(key('env-param','m_ro_outputPageDefinition'))">
  290. <out:attribute name="selected">selected</out:attribute>
  291. </out:if>
  292. <utml:value>default</utml:value>
  293. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  294. </utml:option>
  295. <out:for-each select="/root/cm:queryResponse/cm:queryReply/cm:pageDefinition">
  296. <utml:option>
  297. <out:if test="(string(cm:searchPath)=key('env-param','m_ro_outputPageDefinition'))">
  298. <out:attribute name="selected">selected</out:attribute>
  299. </out:if>
  300. <utml:value><out:value-of select="cm:searchPath"/></utml:value>
  301. <out:value-of select="cm:defaultName"/>
  302. </utml:option>
  303. </out:for-each>
  304. </utml:select>
  305. </dp:section>
  306. </dp:list>
  307. </out:otherwise>
  308. </out:choose>
  309. </out:if>
  310. </cf:dynamicDiv>
  311. <!-- html options -->
  312. <cf:dynamicDiv name="div_htmlOptions" runTimeVisibleCheck="$defaultFormat = 'HTML'">
  313. <dp:list>
  314. <dp:section>
  315. <dp:label for="view_verticalElements"><xts:string id="IDS_OTHERRUN_VERTICAL_ELEMENTS"/></dp:label>
  316. </dp:section>
  317. <dp:section>
  318. <xsl:call-template name="gen-elements-select">
  319. <xsl:with-param name="control-name" select="'view_verticalElements'"/>
  320. <xsl:with-param name="option-name" select="'m_ro_verticalElements'"/>
  321. <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
  322. </xsl:call-template>
  323. </dp:section>
  324. </dp:list>
  325. <xsl:call-template name="ut:selectBaseInteractivity">
  326. <xsl:with-param name="id" select="'view_selectionBasedFeatures'"/>
  327. <xsl:with-param name="runAndView" select="true()"/>
  328. </xsl:call-template>
  329. </cf:dynamicDiv>
  330. </xsl:if>
  331. </out:otherwise>
  332. </out:choose>
  333. </dp:section1>
  334. </dp:choice>
  335. </xsl:template>
  336. <xsl:template match="ut:verticalElements">
  337. <xsl:variable name="control-name" select="@control-name"/>
  338. <xsl:variable name="option-name" select="@option-name"/>
  339. <xsl:variable name="id" select="@id"/>
  340. <dp:list>
  341. <dp:section>
  342. <dp:label for="{$control-name}"><xts:string id="IDS_OTHERRUN_NUMBER_OF_ROWS_HTML_DIALOG"/></dp:label>
  343. </dp:section>
  344. <dp:section>
  345. <xsl:call-template name="gen-elements-select">
  346. <xsl:with-param name="control-name" select="$control-name"/>
  347. <xsl:with-param name="option-name" select="$option-name"/>
  348. <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
  349. </xsl:call-template>
  350. </dp:section>
  351. </dp:list>
  352. </xsl:template>
  353. <!--
  354. ===============================================================================================
  355. ut:selectBaseInteractivity
  356. ===============================================================================================
  357. -->
  358. <xsl:template name="ut:selectBaseInteractivity" match="ut:selectBaseInteractivity">
  359. <xsl:param name="id" select="''"/>
  360. <xsl:param name="runAndView" select="false()"/>
  361. <xsl:param name="enableUsingEnv" select="false()"/>
  362. <xsl:variable name="calculatedId">
  363. <xsl:choose>
  364. <xsl:when test="string($id) != ''"><xsl:value-of select="$id"/></xsl:when>
  365. <xsl:otherwise>id_sectionBasedFeatures</xsl:otherwise>
  366. </xsl:choose>
  367. </xsl:variable>
  368. <dp:choice noSpace="true">
  369. <dp:section1>
  370. <utml:input type="checkbox" value="true">
  371. <xsl:attribute name="name">
  372. <xsl:choose>
  373. <xsl:when test="$runAndView">view_selectionBasedFeatures</xsl:when>
  374. <xsl:otherwise>m_ro_selectionBasedFeatures</xsl:otherwise>
  375. </xsl:choose>
  376. </xsl:attribute>
  377. <xsl:if test="not($runAndView)">
  378. <xsl:attribute name="uncheckedValue" namespace="http://developer.cognos.com/schemas/xts/logicsheet/xslt/formlogic/">false</xsl:attribute>
  379. </xsl:if>
  380. <xsl:attribute name="id"><xsl:value-of select="$calculatedId"/></xsl:attribute>
  381. </utml:input>
  382. </dp:section1>
  383. <dp:section2 for="{$calculatedId}">
  384. <div>
  385. <xsl:choose>
  386. <xsl:when test="@propertyDialog = 'true'">
  387. <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY_PROPERTY_DIALOG"/>
  388. </xsl:when>
  389. <xsl:otherwise>
  390. <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY"/>
  391. </xsl:otherwise>
  392. </xsl:choose>
  393. </div>
  394. </dp:section2>
  395. </dp:choice>
  396. </xsl:template>
  397. <!--
  398. ===============================================================================================
  399. ut:refreshReportCache
  400. ===============================================================================================
  401. -->
  402. <xsl:template match="ut:refreshReportCache">
  403. <dp:textarea wrap="true" width="100%">
  404. <!-- refresh the Report Cache description -->
  405. <dp:section1>
  406. <xts:string id="IDS_PROP_RUN_REPORT_CACHE"/>
  407. </dp:section1>
  408. <dp:section3 width="100%">
  409. <dp:section1 width="100%">
  410. <dp:box width="100%">
  411. <!-- refresh report cache section -->
  412. <dp:boxSection width="50%">
  413. <dp:choice noSpace="true">
  414. <!-- refresh report cache checkbox -->
  415. <dp:section1>
  416. <utml:input type="checkbox" value="refresh" utml:uncheckedValue="none" name="m_ro_promptCacheMode" id="promptCacheMode" onclick="onClickRefreshReportCache(this.checked);"/>
  417. </dp:section1>
  418. <dp:section2 for="promptCacheMode">
  419. <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE"/>
  420. </dp:section2>
  421. <dp:section3>
  422. <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE_DESC1"/>
  423. <out:if test="/root/cm:queryResponse/cm:queryReply[3]/cm:reportCache/*">
  424. <out:variable name="clearLink">
  425. <xts:string id="IDS_PROP_RUN_CLEAR_REPORT_CACHE"/>
  426. </out:variable>
  427. <out:variable name="clearPrompt">
  428. <xts:string id="IDS_ACT_CONF_CLEAR_CACHE" encode="javascript"/>
  429. </out:variable>
  430. <xts:string id="IDS_PROP_RUN_REFRESH_REPORT_CACHE_DESC2">
  431. <xts:param name="clearLink">
  432. <utml:a utml:op="maintain">
  433. <utml:href>if ( confirm("<out:value-of select="$clearPrompt"/>") ) {document.pform.option_op.value = 'clear_report_cache';}</utml:href>
  434. <out:value-of select="$clearLink"/>
  435. </utml:a>
  436. </xts:param>
  437. </xts:string>
  438. </out:if>
  439. <script language="javascript">
  440. function onClickRefreshReportCache(isChecked)
  441. {
  442. var frm = document.pform;
  443. frm.duration_reportCache.disabled = !isChecked;
  444. frm.durationSelect_reportCache.disabled = !isChecked;
  445. }
  446. </script>
  447. <!-- report cache duration has form of P#M for months of P#D for days -->
  448. <out:variable name="duration_reportCache"><out:value-of select="$the-object/*[local-name()='retentions']/*[local-name()='retentionRule'][@objectClass='reportCache']/@maxDuration"/></out:variable>
  449. <out:variable name="days">
  450. <out:value-of select="substring-before(substring-after($duration_reportCache,'P'),'D')"/>
  451. </out:variable>
  452. <out:variable name="months">
  453. <out:value-of select="substring-before(substring-after($duration_reportCache,'P'),'M')"/>
  454. </out:variable>
  455. <out:variable name="daysDisplay"><xts:string id="IDS_PROP_RUN_DAYS"/></out:variable>
  456. <out:variable name="monthsDisplay"><xts:string id="IDS_PROP_RUN_MONTHS"/></out:variable>
  457. <dp:choice title='IDS_PROP_RUN_CACHE_DURATION' for="duration_reportCache">
  458. <dp:section1/>
  459. <dp:section2>
  460. <dp:group>
  461. <!-- duration input box -->
  462. <dp:groupItem>
  463. <utml:input type="text" name="duration_reportCache" id="duration_reportCache" size="3" maxlength="3">
  464. <utml:value>
  465. <out:choose>
  466. <out:when test="$days!=''"><out:value-of select="$days"/></out:when>
  467. <out:when test="$months!=''"><out:value-of select="$months"/></out:when>
  468. </out:choose>
  469. </utml:value>
  470. </utml:input>
  471. </dp:groupItem>
  472. <dp:groupItem>
  473. <dp:text/>
  474. </dp:groupItem>
  475. <!-- duration dropdown (days, months) -->
  476. <dp:groupItem>
  477. <out:variable name="unitsLabel"><xts:string id="IDS_PROP_RUN_CACHE_DURATION_UNITS"/></out:variable>
  478. <utml:select name="durationSelect_reportCache" aria-label="{'{$unitsLabel}'}">
  479. <utml:option value="days">
  480. <out:if test="$days!=''">
  481. <out:attribute name="selected">selected</out:attribute>
  482. </out:if>
  483. <out:value-of select="$daysDisplay"/>
  484. </utml:option>
  485. <utml:option value="months">
  486. <out:if test="$months!=''">
  487. <out:attribute name="selected">selected</out:attribute>
  488. </out:if>
  489. <out:value-of select="$monthsDisplay"/>
  490. </utml:option>
  491. </utml:select>
  492. </dp:groupItem>
  493. </dp:group>
  494. </dp:section2>
  495. </dp:choice>
  496. </dp:section3>
  497. </dp:choice>
  498. </dp:boxSection>
  499. </dp:box>
  500. </dp:section1>
  501. </dp:section3>
  502. </dp:textarea>
  503. </xsl:template>
  504. <!--
  505. ===============================================================================================
  506. ut:a11yOption
  507. ===============================================================================================
  508. -->
  509. <xsl:template match="ut:a11yOption">
  510. <out:variable name="a11ySelected" select="false()"/>
  511. <out:variable name="a11ySupported" select="not(contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', $the-object/cm:objectClass, ' ')))"/>
  512. <out:if test="$a11ySupported and count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1">
  513. <dp:choice title="IDS_OTHERRUN_A11Y" noSpace="true">
  514. <dp:section1>
  515. <utml:input type="checkbox" name="m_go_accessibilityFeatures" id="m_go_accessibilityFeatures" value="true" utml:track="true" utml:default-condition="$a11ySelected"/>
  516. </dp:section1>
  517. <dp:section2>
  518. <dp:text><label for="m_go_accessibilityFeatures"><xts:string id="IDS_PROP_RUN_A11Y_SUPPORT"/></label></dp:text>
  519. </dp:section2>
  520. </dp:choice>
  521. </out:if>
  522. </xsl:template>
  523. <!--
  524. ===============================================================================================
  525. ut:localeSelectList
  526. ===============================================================================================
  527. -->
  528. <xsl:template match="ut:localeSelectList">
  529. <out:variable name="default_locale">
  530. <out:if test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
  531. <out:choose>
  532. <out:when test="$the-object/cm:contentLocale/@nil != 'true'">
  533. <out:value-of select="translate( $the-object/cm:contentLocale, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' )"/>
  534. </out:when>
  535. <out:otherwise>
  536. <out:value-of select="$contentLocale"/>
  537. </out:otherwise>
  538. </out:choose>
  539. </out:if>
  540. </out:variable>
  541. <dp:choice title="IDS_PROP_RUN_LANGUAGE" for="outputLocaleDropDown">
  542. <dp:section1>
  543. <utml:select size="1" name="m_ro_outputLocale" id="outputLocaleDropDown">
  544. <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale']">
  545. <utml:option>
  546. <out:if test="key('env-param','m_ro_outputLocale')=id or (not(key('env-param','m_ro_outputLocale')) and string(id)=$default_locale)">
  547. <out:attribute name="selected">selected</out:attribute>
  548. </out:if>
  549. <utml:value><out:value-of select="id"/></utml:value>
  550. <out:value-of select="displayName"/>
  551. </utml:option>
  552. </out:for-each>
  553. <xsl:if test="@allow_default_locale='true'">
  554. <utml:option>
  555. <out:if test="not(key('env-param','m_ro_outputLocale'))">
  556. <out:attribute name="selected">selected</out:attribute>
  557. </out:if>
  558. <utml:value></utml:value>
  559. <dp:text><xts:string id="IDS_PROP_LANGUAGE_DEFAULT"/></dp:text>
  560. </utml:option>
  561. </xsl:if>
  562. </utml:select>
  563. </dp:section1>
  564. </dp:choice>
  565. </xsl:template>
  566. <!--
  567. ===============================================================================================
  568. ut:format
  569. ===============================================================================================
  570. -->
  571. <xsl:template match="ut:format">
  572. <out:call-template name="formatRunOptions">
  573. <out:with-param name="form-read-only" select="$form-read-only"/>
  574. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  575. </out:call-template>
  576. </xsl:template>
  577. <xsl:template match="ut:formatRunOptions">
  578. <out:template name="formatRunOptions">
  579. <out:param name="form-read-only"/>
  580. <out:param name="utml-form-name"/>
  581. <!-- used to see if a page contains this template -->
  582. <utml:input type="hidden" name="formatSection" value="true"/>
  583. <out:call-template name="formatTemplate">
  584. <out:with-param name="form-read-only" select="$form-read-only"/>
  585. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  586. </out:call-template>
  587. </out:template>
  588. <out:template name="formatTemplate">
  589. <out:param name="form-read-only"/>
  590. <out:param name="utml-form-name"/>
  591. <out:variable name="XLS2000_selected" select="key('env-param', 'm_ro_outputF_XLS2000_Type')='true'"/>
  592. <out:variable name="XLS2007_selected" select="key('env-param', 'm_ro_outputFormat_spreadsheetML')='spreadsheetML'"/>
  593. <out:variable name="XLS2007DATA_selected" select="key('env-param', 'm_ro_outputFormat_xlsxData')='xlsxData'"/>
  594. <out:variable name="XLWA_selected" select="key('env-param', 'm_ro_outputFormat_XLWA')='XLWA'"/>
  595. <out:variable name="XML_selected" select="key('env-param', 'm_ro_outputFormat_XML')='XML'"/>
  596. <out:variable name="CSV_selected" select="key('env-param', 'm_ro_outputFormat_CSV')='CSV'"/>
  597. <out:variable name="PDF_selected" select="/root/env/param[starts-with(@name,'m_ro_outputFormat')]='PDF'"/>
  598. <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))"/>
  599. <out:variable name="stepClass" select="key('env-param','step_class')"/>
  600. <out:variable name="mClass" select="key('env-param','m_class')"/>
  601. <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')"/>
  602. <out:variable name="isPowerPlay" select="$mClass='powerPlay8Report' or $mClass='powerPlay8ReportView' or $stepClass='powerPlay8Report' or $stepClass='powerPlay8ReportView'"/>
  603. <out:choose>
  604. <out:when test="not($isInteractiveReport or $isPowerPlay)">
  605. <dp:choice id="grp_formatChoices" role="group">
  606. <xsl:attribute name="title">IDS_OTHERRUN_FORMAT</xsl:attribute>
  607. <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')]">
  608. <dp:section1>
  609. <utml:input type="checkbox" name="m_ro_outputF_HTML_Type" onclick="updateInteractiveCheckbox();updateVerticalElementsSelect();" value='true' utml:default-condition="$HTML_selected" utml:track="true">
  610. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></out:attribute>
  611. </utml:input>
  612. </dp:section1>
  613. <dp:section2>
  614. <out:choose>
  615. <out:when test="$form-read-only = 'true'">
  616. <out:choose>
  617. <out:when test="key('env-param', 'm_ro_outputFormat_HTML')='HTMLFragment'">
  618. <xts:string id="IDS_OTHERRUN_FORMAT_HTMLFRAGMENT"/>
  619. </out:when>
  620. <out:when test="key('env-param', 'm_ro_outputFormat_HTML')='XHTML'">
  621. <xts:string id="IDS_OTHERRUN_FORMAT_XHTML"/>
  622. </out:when>
  623. <out:otherwise>
  624. <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
  625. </out:otherwise>
  626. </out:choose>
  627. </out:when>
  628. <out:otherwise>
  629. <utml:select name="m_ro_outputFormat_HTML" utml:track="true" onchange="onChangeHTML();">
  630. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_FORMAT_HTML_TYPE"/></out:attribute>
  631. <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')]">
  632. <utml:option value="HTML">
  633. <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTML'">
  634. <out:attribute name="selected">selected</out:attribute>
  635. </out:if>
  636. <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
  637. </utml:option>
  638. </out:if>
  639. <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')]">
  640. <utml:option value="HTMLFragment">
  641. <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='HTMLFragment'">
  642. <out:attribute name="selected">selected</out:attribute>
  643. </out:if>
  644. <xts:string id="IDS_OTHERRUN_FORMAT_HTMLFRAGMENT"/>
  645. </utml:option>
  646. </out:if>
  647. <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')]">
  648. <utml:option value="XHTML">
  649. <out:if test="key('env-param', 'm_ro_outputFormat_HTML')='XHTML'">
  650. <out:attribute name="selected">selected</out:attribute>
  651. </out:if>
  652. <xts:string id="IDS_OTHERRUN_FORMAT_XHTML"/>
  653. </utml:option>
  654. </out:if>
  655. </utml:select>
  656. </out:otherwise>
  657. </out:choose>
  658. </dp:section2>
  659. <dp:section3 noSpace="true">
  660. <xsl:call-template name="gen-vertical-elements"/>
  661. <out:choose>
  662. <out:when test="$form-read-only = 'true'">
  663. <out:if test="key('env-param','m_ro_selectionBasedFeatures') = 'true'">
  664. <xts:string id="IDS_OTHERRUN_ENABLE_INTERACTIVITY"/>
  665. </out:if>
  666. </out:when>
  667. <out:otherwise>
  668. <xsl:call-template name="ut:selectBaseInteractivity">
  669. <xsl:with-param name="id" select="'background_selectionBasedFeatures'"/>
  670. <xsl:with-param name="enableUsingEnv" select="true()"/>
  671. </xsl:call-template>
  672. </out:otherwise>
  673. </out:choose>
  674. </dp:section3>
  675. </out:if>
  676. <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)">
  677. <dp:section1>
  678. <utml:input type="checkbox" name="m_ro_outputFormat_PDF" id="lbl_ro_outputFormat_PDF" value="PDF" utml:default-condition="$PDF_selected" utml:track="true"/>
  679. </dp:section1>
  680. <dp:section2 for="lbl_ro_outputFormat_PDF"><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:section2>
  681. <dp:section3>
  682. <xsl:call-template name="ut:pdfOptionSummary"/>
  683. </dp:section3>
  684. </out:if>
  685. <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)">
  686. <dp:section1>
  687. <utml:input type="checkbox" name="m_ro_outputFormat_spreadsheetML" id="lbl_ro_outputFormat_spreadsheetML" utml:default-condition="$XLS2007_selected" value="spreadsheetML" utml:track="true"/>
  688. </dp:section1>
  689. <dp:section2 for="lbl_ro_outputFormat_spreadsheetML"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2007"/></dp:section2>
  690. </out:if>
  691. <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)">
  692. <dp:section1>
  693. <utml:input type="checkbox" name="m_ro_outputFormat_xlsxData" id="lbl_ro_outputFormat_xlsxData" utml:default-condition="$XLS2007DATA_selected" value="xlsxData" utml:track="true"/>
  694. </dp:section1>
  695. <dp:section2 for="lbl_ro_outputFormat_xlsxData"><xts:string id="IDS_PROP_FORMAT_XLS_2007_DATA"/></dp:section2>
  696. </out:if>
  697. <!-- Excel 2007 enabled for Office Connection-->
  698. <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)">
  699. <dp:section1>
  700. <utml:input type="checkbox" name="m_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled" id="lbl_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled" utml:default-condition="$XLS2007_selected" value="spreadsheetMLOfficeConnectionEnabled" utml:track="true"/>
  701. </dp:section1>
  702. <dp:section2 for="lbl_ro_outputFormat_spreadsheetMLOfficeConnectionEnabled"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2007_OFFICE_ENABLED"/></dp:section2>
  703. </out:if>
  704. <!-- Excel 2002 -->
  705. <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)">
  706. <dp:section1>
  707. <utml:input type="checkbox" name="m_ro_outputFormat_XLWA" id="lbl_ro_outputFormat_XLWA" utml:default-condition="$XLWA_selected" value="XLWA" utml:track="true"/>
  708. </dp:section1>
  709. <dp:section2 for="lbl_ro_outputFormat_XLWA"><xts:string id="IDS_OTHERRUN_FORMAT_XLS_2002"/></dp:section2>
  710. </out:if>
  711. <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)">
  712. <dp:section1>
  713. <utml:input type="checkbox" name="m_ro_outputF_XLS2000_Type" value='true' utml:default-condition="$XLS2000_selected" utml:track="true"/>
  714. </dp:section1>
  715. <dp:section2>
  716. <out:choose>
  717. <out:when test="$form-read-only = 'true'">
  718. <out:choose>
  719. <out:when test="key('env-param', 'm_ro_outputFormat_XLS2000')='XLS'">
  720. <xts:string id="IDS_OTHERRUN_FORMAT_XLS"/>
  721. </out:when>
  722. <out:otherwise>
  723. <xts:string id="IDS_OTHERRUN_FORMAT_SINGLE_XLS"/>
  724. </out:otherwise>
  725. </out:choose>
  726. </out:when>
  727. <out:otherwise>
  728. <utml:select name="m_ro_outputFormat_XLS2000" utml:track="true" onchange="document.pform.m_ro_outputF_XLS2000_Type.checked = true;">
  729. <utml:option value="singleXLS">
  730. <out:if test="key('env-param', 'm_ro_outputFormat_XLS2000')='singleXLS' or xtsext:cafaction('get_configsignedreporturls', '') = 'true'">
  731. <out:attribute name="selected">selected</out:attribute>
  732. </out:if>
  733. <xts:string id="IDS_OTHERRUN_FORMAT_SINGLE_XLS"/>
  734. </utml:option>
  735. <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')]">
  736. <utml:option value="XLS">
  737. <out:if test="key('env-param', 'm_ro_outputFormat_XLS2000')='XLS'">
  738. <out:attribute name="selected">selected</out:attribute>
  739. </out:if>
  740. <xts:string id="IDS_OTHERRUN_FORMAT_XLS"/>
  741. </utml:option>
  742. </out:if>
  743. </utml:select>
  744. </out:otherwise>
  745. </out:choose>
  746. <img width="3" height="20">
  747. <out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute>
  748. </img>
  749. </dp:section2>
  750. </out:if>
  751. <!-- CSV - delimited text -->
  752. <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)">
  753. <dp:section1>
  754. <utml:input type="checkbox" name="m_ro_outputFormat_CSV" id="lbl_ro_outputFormat_CSV" utml:default-condition="$CSV_selected" value="CSV" utml:track="true"/>
  755. </dp:section1>
  756. <dp:section2 for="lbl_ro_outputFormat_CSV"><xts:string id="IDS_OTHERRUN_FORMAT_CSV"/></dp:section2>
  757. </out:if>
  758. <!-- PowerPlay 8 Reports do not support XML ouput formats -->
  759. <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)">
  760. <dp:section1>
  761. <utml:input type="checkbox" name="m_ro_outputFormat_XML" id="lbl_ro_outputFormat_XML" utml:default-condition="$XML_selected" value="XML" utml:track="true"/>
  762. </dp:section1>
  763. <dp:section2 for="lbl_ro_outputFormat_XML"><xts:string id="IDS_OTHERRUN_FORMAT_XML"/></dp:section2>
  764. </out:if>
  765. </dp:choice>
  766. </out:when>
  767. <out:when test="$isInteractiveReport">
  768. <out:if test="key('system-param', 'reportFormats')/format[contains(@appMode, 'adv') and (not(@cafaction) or xtsext:cafaction('get_configsignedreporturls', '') != 'true')]">
  769. <utml:input type="checkbox" style="visibility:hidden" name="m_ro_outputF_HTML_Type" value='true' utml:default-condition="$HTML_selected" utml:track="true"/>
  770. <utml:input type="hidden" name="m_ro_outputFormat_HTML" value="HTML" utml:update="false"/>
  771. <table cellspacing="0" border="0" role="presentation">
  772. <tr>
  773. <td nowrap="nowrap" class="formLabel">
  774. <xts:string id="IDS_PROP_RUN_FORMAT"/>
  775. </td>
  776. </tr>
  777. <tr>
  778. <td>
  779. <dp:list>
  780. <dp:section>
  781. <dp:label tdClass="formText"><xts:string id="IDS_OTHERRUN_FORMAT_HTML"/></dp:label>
  782. </dp:section>
  783. </dp:list>
  784. </td>
  785. </tr>
  786. </table>
  787. </out:if>
  788. </out:when>
  789. <out:otherwise>
  790. <dp:choice>
  791. <xsl:attribute name="title">IDS_PROP_RUN_FORMAT</xsl:attribute>
  792. <!-- powerPlay8Reports only support PDF -->
  793. <dp:section1>
  794. <utml:input type="hidden" name="m_pp8ro_outputFormat" utml:update="false">
  795. <utml:value>PDF</utml:value>
  796. </utml:input>
  797. <dp:text><xts:string id="IDS_OTHERRUN_FORMAT_PDF"/></dp:text>
  798. </dp:section1>
  799. </dp:choice>
  800. </out:otherwise>
  801. </out:choose>
  802. </out:template>
  803. </xsl:template>
  804. <!--
  805. ===============================================================================================
  806. ut:runTo
  807. ===============================================================================================
  808. -->
  809. <xsl:template match="ut:runTo">
  810. <dp:choice title="IDS_STEP_RUN_RUN_REPORT_TO_TITLE" for="ctrl_m_ro_promptCacheMode">
  811. <dp:section1>
  812. <utml:select name="m_ro_promptCacheMode" utml:track="true" onchange="updateReportOptionSection();" id="ctrl_m_ro_promptCacheMode">
  813. <utml:option>
  814. <utml:value>none</utml:value>
  815. <xts:string id="IDS_STEP_RUN_PRODUCE_OUTPUTS"/>
  816. </utml:option>
  817. <utml:option>
  818. <utml:value>create</utml:value>
  819. <xts:string id="IDS_STEP_RUN_REFRESH_REPORT_CACHE"/>
  820. </utml:option>
  821. </utml:select>
  822. </dp:section1>
  823. </dp:choice>
  824. </xsl:template>
  825. <!--
  826. ===============================================================================================
  827. ut:language
  828. ===============================================================================================
  829. -->
  830. <xsl:template match="ut:language">
  831. <out:call-template name="formatLanguage">
  832. <out:with-param name="form-read-only" select="$form-read-only"/>
  833. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  834. <out:with-param name="createHiddenInputs" select="'{@createHiddenInputs}'"/>
  835. </out:call-template>
  836. </xsl:template>
  837. <xsl:template match="ut:formatLanguage">
  838. <out:template name="formatLanguage">
  839. <out:param name="form-read-only"/>
  840. <out:param name="utml-form-name"/>
  841. <out:param name="createHiddenInputs"/>
  842. <out:call-template name="languageTemplate">
  843. <out:with-param name="form-read-only" select="$form-read-only"/>
  844. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  845. <out:with-param name="createHiddenInputs" select="$createHiddenInputs"/>
  846. </out:call-template>
  847. </out:template>
  848. <out:template name="languageTemplate">
  849. <out:param name="form-read-only"/>
  850. <out:param name="utml-form-name"/>
  851. <out:param name="specify_language_checked"/>
  852. <out:param name="createHiddenInputs"/>
  853. <!-- get the default language -->
  854. <out:variable name="default_locale">
  855. <out:if test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
  856. <out:choose>
  857. <out:when test="$the-object/cm:contentLocale/@nil != 'true'">
  858. <out:value-of select="translate( $the-object/cm:contentLocale, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz' )"/>
  859. </out:when>
  860. <out:otherwise>
  861. <out:value-of select="$contentLocale"/>
  862. </out:otherwise>
  863. </out:choose>
  864. </out:if>
  865. </out:variable>
  866. <out:choose>
  867. <out:when test="key('env-param','m_ro_outputLocale')">
  868. <out:for-each select="key('env-param','m_ro_outputLocale')">
  869. <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
  870. <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
  871. <utml:value>
  872. <out:value-of select="."/>
  873. </utml:value>
  874. </utml:input>
  875. <utml:input type="hidden" name="language" utml:update="false">
  876. <utml:value>
  877. <out:value-of select="."/>
  878. </utml:value>
  879. </utml:input>
  880. </out:if>
  881. </out:for-each>
  882. </out:when>
  883. <out:when test="not(key('env-param','selected_languages'))">
  884. <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
  885. <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
  886. <utml:value>
  887. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=$default_locale]/id"/>
  888. </utml:value>
  889. </utml:input>
  890. <utml:input type="hidden" name="language" utml:update="false">
  891. <utml:value><out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and string(id)=$default_locale]/id"/></utml:value>
  892. </utml:input>
  893. </out:if>
  894. </out:when>
  895. <out:otherwise>
  896. <out:for-each select="/root/languages/language">
  897. <out:variable name="locale" select="."/>
  898. <out:if test="$createHiddenInputs='' or $createHiddenInputs='true'">
  899. <utml:input type="hidden" name="m_ro_outputLocale" utml:update="false">
  900. <utml:value>
  901. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and id=$locale]/id"/>
  902. </utml:value>
  903. </utml:input>
  904. <utml:input type="hidden" name="language" utml:update="false">
  905. <utml:value><out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale'and id=$locale]/id"/></utml:value>
  906. </utml:input>
  907. </out:if>
  908. </out:for-each>
  909. </out:otherwise>
  910. </out:choose>
  911. <dp:group>
  912. <xsl:attribute name="title">IDS_OTHERRUN_LANGUAGE</xsl:attribute>
  913. <dp:groupItem>
  914. <div id="language_summary_div">
  915. <out:choose>
  916. <out:when test="not(key('env-param','m_ro_outputLocale')) and not(key('env-param','selected_languages'))">
  917. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=$default_locale]/displayName"/>
  918. </out:when>
  919. <out:when test="not(key('env-param','m_ro_outputLocale')) and key('env-param','selected_languages')">
  920. <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale' and string(id)=/root/languages/language]/displayName">
  921. <out:value-of select="."/>
  922. <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
  923. </out:for-each>
  924. </out:when>
  925. <out:otherwise>
  926. <out:for-each select="/root/config/param[@name='locale']/locale[@type='contentLocale' and key('env-param','m_ro_outputLocale')=id]">
  927. <out:value-of select="displayName"/>
  928. <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
  929. </out:for-each>
  930. </out:otherwise>
  931. </out:choose>
  932. </div>
  933. </dp:groupItem>
  934. <dp:groupItem valign="top" nowrap="nowrap">
  935. <dp:text/>
  936. <dp:link>
  937. <utml:a utml:op="stack-up" utml:formName="pform" utml:hide-when-read-only="true">
  938. <utml:target>
  939. <out:value-of select="$app"/>/select_languages.xts<xsl:text/>
  940. </utml:target>
  941. <xsl:text/><xts:string id="IDS_OTHERRUN_EDIT"/><xsl:text/>
  942. </utml:a>
  943. </dp:link>
  944. </dp:groupItem>
  945. </dp:group>
  946. </out:template>
  947. </xsl:template>
  948. <xsl:template name="gen-vertical-elements">
  949. <dp:list>
  950. <dp:section>
  951. <dp:label for="m_ro_verticalElements"><xts:string id="IDS_OTHERRUN_VERTICAL_ELEMENTS"/></dp:label>
  952. </dp:section>
  953. <dp:section>
  954. <xsl:call-template name="gen-elements-select">
  955. <xsl:with-param name="control-name" select="'m_ro_verticalElements'"/>
  956. <xsl:with-param name="option-name" select="'m_ro_verticalElements'"/>
  957. <xsl:with-param name="choices" select="'4;5;8;10;12;16;20;50;100;200;500;1000;'"/>
  958. </xsl:call-template>
  959. </dp:section>
  960. </dp:list>
  961. </xsl:template>
  962. <xsl:template name="gen-elements-select">
  963. <xsl:param name="control-name"/>
  964. <xsl:param name="option-name"/>
  965. <xsl:param name="choices"/>
  966. <utml:select name="{$control-name}" id="{$control-name}" utml:track="true">
  967. <out:if test="$form-read-only = 'true'">
  968. <out:attribute name="disabled">true</out:attribute>
  969. </out:if>
  970. <xsl:call-template name="gen-elements-options">
  971. <xsl:with-param name="control-name" select="$control-name"/>
  972. <xsl:with-param name="option-name" select="$option-name"/>
  973. <xsl:with-param name="choices" select="$choices"/>
  974. </xsl:call-template>
  975. </utml:select>
  976. </xsl:template>
  977. <xsl:template name="gen-elements-options">
  978. <xsl:param name="control-name"/>
  979. <xsl:param name="option-name"/>
  980. <xsl:param name="choices"/>
  981. <xsl:variable name="option" select="substring-before($choices, ';')"/>
  982. <xsl:variable name="rest" select="substring-after($choices, ';')"/>
  983. <utml:option>
  984. <out:if test="key('env-param','{$option-name}')='{$option}' or (not(key('env-param','{$option-name}')) and '{$option}'='20')">
  985. <out:attribute name="selected">selected</out:attribute>
  986. </out:if>
  987. <utml:value><xsl:value-of select="$option"/></utml:value>
  988. <xsl:value-of select="$option"/>
  989. </utml:option>
  990. <xsl:if test="$rest != ''">
  991. <xsl:call-template name="gen-elements-options">
  992. <xsl:with-param name="control-name" select="$control-name"/>
  993. <xsl:with-param name="option-name" select="$option-name"/>
  994. <xsl:with-param name="choices" select="$rest"/>
  995. </xsl:call-template>
  996. </xsl:if>
  997. </xsl:template>
  998. <!--
  999. ===============================================================================================
  1000. ut:burst
  1001. ===============================================================================================
  1002. -->
  1003. <xsl:template match="ut:burst">
  1004. <out:call-template name="burstTemplate">
  1005. <out:with-param name="form-read-only" select="$form-read-only"/>
  1006. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1007. </out:call-template>
  1008. </xsl:template>
  1009. <xsl:template match="ut:burstTemplate">
  1010. <out:template name="burstTemplate">
  1011. <out:param name="form-read-only"/>
  1012. <out:param name="utml-form-name"/>
  1013. <out:call-template name="burstUI">
  1014. <out:with-param name="form-read-only" select="$form-read-only"/>
  1015. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1016. </out:call-template>
  1017. </out:template>
  1018. <out:template name="burstUI">
  1019. <out:param name="form-read-only"/>
  1020. <out:param name="utml-form-name"/>
  1021. <dp:list>
  1022. <dp:section>
  1023. <dp:label>
  1024. <xts:string id="IDS_OTHERRUN_BURST_TITLE"/>
  1025. </dp:label>
  1026. </dp:section>
  1027. </dp:list>
  1028. <dp:list>
  1029. <dp:section>
  1030. <utml:input type="checkbox" name="m_ro_burst" value="true" utml:track="true" id="ctrl_m_ro_burst">
  1031. <out:if test="key('env-param', 'm_ro_burst')='true'">
  1032. <out:attribute name="checked">checked</out:attribute>
  1033. </out:if>
  1034. </utml:input>
  1035. <dp:text>
  1036. <label for="ctrl_m_ro_burst">
  1037. <xsl:choose>
  1038. <xsl:when test="@jobDefinition='true'">
  1039. <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
  1040. </xsl:when>
  1041. <xsl:otherwise>
  1042. <xts:string id="IDS_OTHERRUN_BURST"/>
  1043. </xsl:otherwise>
  1044. </xsl:choose>
  1045. </label>
  1046. </dp:text>
  1047. <cf:dynamicExpandingSectionTop name="burstOptions" title="IDS_SECTION_BURSTOPTIONS"/>
  1048. </dp:section>
  1049. </dp:list>
  1050. <cf:dynamicExpandingSectionBody name="burstOptions">
  1051. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  1052. <tr>
  1053. <td nowrap="nowrap">&#160;</td>
  1054. <td class="formText" colspan="2">
  1055. <xts:string id="IDS_PROP_JOB_BURST_OPTIONS_INTRO"/>
  1056. </td>
  1057. </tr>
  1058. <tr>
  1059. <td nowrap="nowrap">&#160;</td>
  1060. <td nowrap="nowrap" class="formText">
  1061. <span id="lbl_burstDistribution"><xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION"/></span>
  1062. </td>
  1063. <td nowrap="nowrap">
  1064. <utml:select name="m_ro_burstDistribution" utml:track="true" aria-labelledby="lbl_burstDistribution">
  1065. <utml:option>
  1066. <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='disabled'">
  1067. <out:attribute name="selected">selected</out:attribute>
  1068. </out:if>
  1069. <utml:value>disabled</utml:value>
  1070. <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DISABLED"/>
  1071. </utml:option>
  1072. <utml:option>
  1073. <out:if test="key('env-param', 'm_ro_burstDistribution')='default'">
  1074. <out:attribute name="selected">selected</out:attribute>
  1075. </out:if>
  1076. <utml:value>default</utml:value>
  1077. <xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION_CHOICE_DEFAULT"/>
  1078. </utml:option>
  1079. <utml:option>
  1080. <out:if test="key('env-param', 'm_ro_burstDistribution')='enabled'">
  1081. <out:attribute name="selected">selected</out:attribute>
  1082. </out:if>
  1083. <utml:value>enabled</utml:value>
  1084. <xts:string id="IDS_PROP_JOB_BURST_DISTRIBUTION_CHOICE_ENABLED"/>
  1085. </utml:option>
  1086. </utml:select>
  1087. </td>
  1088. </tr>
  1089. <tr>
  1090. <td nowrap="nowrap">&#160;</td>
  1091. <td nowrap="nowrap" class="formText">
  1092. <span id="lbl_burstQueryPrefetch"><xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING"/></span>
  1093. </td>
  1094. <td nowrap="nowrap">
  1095. <utml:select name="m_ro_burstQueryPrefetch" utml:track="true" aria-labelledby="lbl_burstQueryPrefetch">
  1096. <utml:option>
  1097. <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='default'">
  1098. <out:attribute name="selected">selected</out:attribute>
  1099. </out:if>
  1100. <utml:value>default</utml:value>
  1101. <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DEFAULT"/>
  1102. </utml:option>
  1103. <utml:option>
  1104. <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='enabled'">
  1105. <out:attribute name="selected">selected</out:attribute>
  1106. </out:if>
  1107. <utml:value>enabled</utml:value>
  1108. <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_ENABLED"/>
  1109. </utml:option>
  1110. <utml:option>
  1111. <out:if test="key('env-param', 'm_ro_burstQueryPrefetch')='disabled'">
  1112. <out:attribute name="selected">selected</out:attribute>
  1113. </out:if>
  1114. <utml:value>disabled</utml:value>
  1115. <xts:string id="IDS_PROP_JOB_BURST_QUERY_PREFETCHING_DISABLED"/>
  1116. </utml:option>
  1117. </utml:select>
  1118. </td>
  1119. </tr>
  1120. <tr>
  1121. <td nowrap="nowrap">&#160;</td>
  1122. <td nowrap="nowrap" class="formText">
  1123. <span id="lbl_burstKeyLimit"><xts:string id="IDS_PROP_JOB_BURST_MAXIMUM_KEY_COUNT"/></span>
  1124. </td>
  1125. <td nowrap="nowrap">
  1126. <utml:input type="text" name="m_ro_burstKeyLimit" utml:track="true" size="10" value="" aria-labelledby="lbl_burstKeyLimit"/>
  1127. </td>
  1128. </tr>
  1129. </table>
  1130. </cf:dynamicExpandingSectionBody>
  1131. </out:template>
  1132. </xsl:template>
  1133. <!--
  1134. ===============================================================================================
  1135. ut:delivery
  1136. ===============================================================================================
  1137. -->
  1138. <xsl:template match="ut:delivery">
  1139. <out:call-template name="deliveryRunOptions">
  1140. <out:with-param name="form-read-only" select="$form-read-only"/>
  1141. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1142. </out:call-template>
  1143. </xsl:template>
  1144. <xsl:template match="ut:deliveryRunOptions">
  1145. <out:template name="deliveryRunOptions">
  1146. <out:param name="form-read-only"/>
  1147. <out:param name="utml-form-name"/>
  1148. <utml:input type="hidden" name="deliverySection" value="true"/>
  1149. <out:variable name="isReportView">
  1150. <xsl:choose>
  1151. <xsl:when test="not(@isReportView)">
  1152. <xsl:value-of select="'false'"/>
  1153. </xsl:when>
  1154. <xsl:otherwise>
  1155. <out:value-of select="{@isReportView}"/>
  1156. </xsl:otherwise>
  1157. </xsl:choose>
  1158. </out:variable>
  1159. <out:variable name="canSave">
  1160. <xsl:choose>
  1161. <xsl:when test="not(@canSave)">
  1162. <xsl:value-of select="'true'"/>
  1163. </xsl:when>
  1164. <xsl:otherwise>
  1165. <out:value-of select="{@canSave}"/>
  1166. </xsl:otherwise>
  1167. </xsl:choose>
  1168. </out:variable>
  1169. <out:variable name="print_checked" select="key('env-param', 'm_ro_print')='true'"/>
  1170. <out:variable name="email_checked" select="key('env-param', 'm_ro_email')='true'"/>
  1171. <out:variable name="archive_checked" select="key('env-param', 'm_ro_archive')='true'"/>
  1172. <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)))"/>
  1173. <out:variable name="emailAsAttachment" select="key('env-param', 'm_ro_emailAsAttachment') = 'true'"/>
  1174. <out:variable name="emailAsURL" select="key('env-param', 'm_ro_emailAsURL') = 'true'"/>
  1175. <out:variable name="mobile_checked" select="key('env-param', 'm_ro_mobile')='true'"/>
  1176. <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')"/>
  1177. <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'"/>
  1178. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  1179. <xsl:if test="@showTitle='true'">
  1180. <tr>
  1181. <td nowrap="nowrap" class="formLabel">
  1182. <span>
  1183. <xsl:attribute name="id">
  1184. <xsl:choose>
  1185. <xsl:when test="@aria-labelledby"><xsl:value-of select="@aria-labelledby"/></xsl:when>
  1186. <xsl:otherwise>lbl_deliveryOptions</xsl:otherwise>
  1187. </xsl:choose>
  1188. </xsl:attribute>
  1189. <xts:string id="IDS_OTHERRUN_DELIVERY"/>
  1190. </span>
  1191. </td>
  1192. </tr>
  1193. </xsl:if>
  1194. <xsl:if test="@showDescription='true'">
  1195. <tr>
  1196. <td class="dialogHintText">
  1197. <xsl:choose>
  1198. <xsl:when test="@jobDefinition='true'">
  1199. <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION_JOB"/>
  1200. </xsl:when>
  1201. <xsl:when test="@isReport = 'true'">
  1202. <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION_REPORT"/>
  1203. </xsl:when>
  1204. <xsl:otherwise>
  1205. <xts:string id="IDS_OTHERRUN_DELIVERY_DESCRIPTION"/>
  1206. </xsl:otherwise>
  1207. </xsl:choose>
  1208. </td>
  1209. </tr>
  1210. </xsl:if>
  1211. </table>
  1212. <div>
  1213. <xsl:if test="@noGroup != 'true'">
  1214. <xsl:attribute name="role">group</xsl:attribute>
  1215. <xsl:attribute name="aria-labelledby">
  1216. <xsl:choose>
  1217. <xsl:when test="@aria-labelledby"><xsl:value-of select="@aria-labelledby"/></xsl:when>
  1218. <xsl:otherwise>lbl_deliveryOptions</xsl:otherwise>
  1219. </xsl:choose>
  1220. </xsl:attribute>
  1221. </xsl:if>
  1222. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  1223. <out:choose>
  1224. <out:when test="$canSave = 'true'">
  1225. <tr>
  1226. <td nowrap="nowrap" class="formText" style="width:10px;">
  1227. <utml:input type="checkbox" name="m_ro_saveOutput" aria-labelledby="lbl_ro_saveOutput" value="true" utml:default-condition="$saveOutput_checked" utml:track="true">
  1228. <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
  1229. <out:if test="$isReportView = 'false'">
  1230. <out:attribute name="onclick"><xsl:text>checkSaveOption(document.pform.m_ro_saveOutput.checked);</xsl:text></out:attribute>
  1231. </out:if>
  1232. </xsl:if>
  1233. </utml:input>
  1234. </td>
  1235. <td nowrap="nowrap" class="formText" colspan="2">
  1236. <label id="lbl_ro_saveOutput">
  1237. <out:choose>
  1238. <out:when test="'{@jobDefinition}'='true'">
  1239. <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
  1240. </out:when>
  1241. <out:when test="$isReportView = 'true'">
  1242. <xts:string id="IDS_OTHERRUN_SAVE_REPORT"/>
  1243. </out:when>
  1244. <out:otherwise>
  1245. <xts:string id="IDS_OTHERRUN_SAVE_OPTION"/>
  1246. </out:otherwise>
  1247. </out:choose>
  1248. </label>
  1249. </td>
  1250. </tr>
  1251. <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
  1252. <out:if test="$isReportView = 'false'">
  1253. <utml:radio-group name="save_how" utml:track="true">
  1254. <tr><td colspan="3">
  1255. <div role="radiogroup" aria-labelledby="lbl_ro_saveOutput">
  1256. <table cellspacing="0" border="0" cellpadding="1" role="presentation" style="margin-left:15px">
  1257. <tr>
  1258. <td nowrap="nowrap">&#160;</td>
  1259. <td nowrap="nowrap" class="formText">
  1260. <utml:input type="radio" value="report" id="lbl_save_report">
  1261. <out:if test="not(/root/env/param[@name='save_how'])">
  1262. <out:attribute name="checked"/>
  1263. </out:if>
  1264. </utml:input>
  1265. </td>
  1266. <td nowrap="nowrap" class="formText">
  1267. <label for="lbl_save_report"><xts:string id="IDS_OTHERRUN_SAVE_REPORT"/></label>
  1268. </td>
  1269. </tr>
  1270. <tr>
  1271. <td nowrap="nowrap">&#160;</td>
  1272. <td nowrap="nowrap" class="formText">
  1273. <utml:input type="radio" value="new_entry" id="lbl_save_new_entry"/>
  1274. </td>
  1275. <td nowrap="nowrap" class="formText">
  1276. <label for="lbl_save_new_entry"><xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/></label>&#160;&#160;
  1277. <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='';">
  1278. <utml:target>
  1279. <out:value-of select="$app"/>/save_as_run_option.xts<xsl:text/>
  1280. </utml:target>
  1281. <xsl:text/>
  1282. <xts:string id="IDS_OTHERRUN_SAVE_AS"/>
  1283. <xsl:text/>
  1284. </utml:a>
  1285. </td>
  1286. </tr>
  1287. <tr>
  1288. <td nowrap="nowrap">&#160;</td>
  1289. <td nowrap="nowrap">&#160;</td>
  1290. <td>
  1291. <table role="presentation">
  1292. <tr>
  1293. <td width="20" height="16" nowrap="nowrap">
  1294. <img height="16" width="20" align="absmiddle" lang="{'{$contentLocale}'}">
  1295. <out:attribute name="alt">
  1296. <out:value-of select="/root/env/param[@name='saveAsPathText']"/>
  1297. </out:attribute>
  1298. <out:attribute name="src">
  1299. <out:value-of select="$skin_images"/>path.gif<out:text/>
  1300. </out:attribute>
  1301. </img>
  1302. </td>
  1303. <td nowrap="nowrap" class="formText" lang="{'{$contentLocale}'}">
  1304. <out:value-of select="xtsext:enforceBTD(/root/env/param[@name='m_ro_saveAsName'], $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
  1305. </td>
  1306. </tr>
  1307. </table>
  1308. </td>
  1309. </tr>
  1310. </table>
  1311. </div>
  1312. </td></tr>
  1313. </utml:radio-group>
  1314. </out:if>
  1315. </xsl:if>
  1316. </out:when>
  1317. <out:otherwise>
  1318. <out:if test="$isReportView = 'false'">
  1319. <tr>
  1320. <td nowrap="nowrap" class="formText">
  1321. <utml:input type="checkbox" name="m_ro_saveOutput" id="lbl_ro_saveOutput" value="true" utml:default-condition="$saveOutput_checked" utml:track="true">
  1322. <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
  1323. <out:attribute name="onclick"><xsl:text>checkSaveOption(document.pform.m_ro_saveOutput.checked);</xsl:text></out:attribute>
  1324. </xsl:if>
  1325. </utml:input>
  1326. </td>
  1327. <td nowrap="nowrap" class="formText" colspan="2">
  1328. <label for="lbl_ro_saveOutput"><xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/></label>&#160;&#160;
  1329. <utml:a utml:op="stack-up" utml:formName="pform" utml:hide-when-read-only="true">
  1330. <utml:target>
  1331. <out:value-of select="$app"/>/save_as_run_option.xts<xsl:text/>
  1332. </utml:target>
  1333. <xsl:text/>
  1334. <xts:string id="IDS_OTHERRUN_SAVE_AS"/>
  1335. <xsl:text/>
  1336. </utml:a>
  1337. </td>
  1338. </tr>
  1339. </out:if>
  1340. <xsl:if test="not(@jobDefinition) or @jobDefinition='false'">
  1341. <out:if test="$isReportView = 'false'">
  1342. <utml:input type="hidden" name="save_how" value="new_entry"/>
  1343. <tr>
  1344. <td nowrap="nowrap">
  1345. <img height="5" width="1">
  1346. <xsl:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</xsl:attribute>
  1347. </img>
  1348. </td>
  1349. <td width="20" height="16" nowrap="nowrap" class="formText">
  1350. <img height="16" width="20" align="absmiddle" lang="{'{$contentLocale}'}">
  1351. <out:attribute name="alt">
  1352. <out:value-of select="/root/env/param[@name='saveAsPathText']"/>
  1353. </out:attribute>
  1354. <out:attribute name="src">
  1355. <out:value-of select="$skin_images"/>path.gif</out:attribute>
  1356. </img>
  1357. </td>
  1358. <td nowrap="nowrap" class="formText" lang="{'{$contentLocale}'}">
  1359. <out:value-of select="/root/env/param[@name='m_ro_saveAsName']"/>
  1360. </td>
  1361. </tr>
  1362. </out:if>
  1363. </xsl:if>
  1364. </out:otherwise>
  1365. </out:choose>
  1366. </table>
  1367. <dp:choice>
  1368. <!-- archive -->
  1369. <!--
  1370. Only show the archive section if archive options were saved, or the user has access to archiveLocation objects
  1371. -->
  1372. <out:if test="(key('env-param','m_ro_archive')='true' or /root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='archiveLocation'] != '') and not($isPowerPlay8Object)">
  1373. <dp:section1>
  1374. <utml:input type="checkbox" name="m_ro_archive" value="true" utml:track="true" utml:default-condition="$archive_checked"/>
  1375. </dp:section1>
  1376. <dp:section2>
  1377. <div>
  1378. <xts:string id="IDS_OTHERRUN_SAVE_FILE_SYSTEM"/>
  1379. <!-- only show the edit link if the user has access to the archive locations -->
  1380. <out:if test="/root/*[local-name()='queryResponse']/*[local-name()='queryReply']/*[local-name()='archiveLocation'] != ''">
  1381. &#160;&#160;
  1382. <dp:link>
  1383. <utml:a utml:op="stack-up" utml:hide-when-read-only="true" id="id_save_to_file_system">
  1384. <utml:href>selectArchiveCheckbox();</utml:href>
  1385. <utml:target>
  1386. <out:value-of select="concat($app, '/specify_archive_options.xts')"/>
  1387. </utml:target>
  1388. <xsl:text/>
  1389. <xts:string id="IDS_OTHERRUN_SAVE_FILE_SYSTEM_EDIT_OPTIONS"/>
  1390. <xsl:text/>
  1391. </utml:a>
  1392. </dp:link>
  1393. </out:if>
  1394. </div>
  1395. </dp:section2>
  1396. <dp:section3>
  1397. <div>
  1398. <dt:buildArchiveOptionSummary/>
  1399. </div>
  1400. </dp:section3>
  1401. </out:if>
  1402. <!-- print -->
  1403. <out:if test="not($isInteractiveReport)">
  1404. <dp:section1>
  1405. <utml:input type="checkbox" name="m_ro_print" id="lbl_ro_print" value="true" utml:track="true" utml:default-condition="$print_checked"/>
  1406. </dp:section1>
  1407. <dp:section2 for="lbl_ro_print">
  1408. <div>
  1409. <xsl:choose>
  1410. <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
  1411. <xts:string id="IDS_OTHERRUN_PRINT_REPORT"/>
  1412. </xsl:when>
  1413. <xsl:otherwise>
  1414. <xts:string id="IDS_OTHERRUN_PRINT_REPORTS"/>
  1415. </xsl:otherwise>
  1416. </xsl:choose>
  1417. </div>
  1418. </dp:section2>
  1419. <dp:section3>
  1420. <div>
  1421. <xsl:call-template name="ut:printer"/>
  1422. </div>
  1423. </dp:section3>
  1424. </out:if>
  1425. <!-- email -->
  1426. <xsl:if test="not(@hideEmailSection) or @hideEmailSection != 'true'">
  1427. <dp:section1>
  1428. <utml:input type="checkbox" name="m_ro_email" id="lbl_ro_email" value="true" utml:track="true" utml:default-condition="$email_checked"/>
  1429. </dp:section1>
  1430. <dp:section2>
  1431. <div>
  1432. <label for="lbl_ro_email">
  1433. <xsl:choose>
  1434. <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
  1435. <out:choose>
  1436. <out:when test="/root/env/param[@name='emailSummary'] != ''">
  1437. <out:value-of select="/root/env/param[@name='emailSummary']"/>
  1438. </out:when>
  1439. <out:when test="not($emailAsAttachment or $emailAsURL)">
  1440. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_NOTIFY"/></dp:text>
  1441. </out:when>
  1442. <out:when test="$emailAsAttachment and not($emailAsURL)">
  1443. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_REPORT"/></dp:text>
  1444. </out:when>
  1445. <out:when test="not($emailAsAttachment) and $emailAsURL">
  1446. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_URL"/></dp:text>
  1447. </out:when>
  1448. <out:otherwise>
  1449. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_BOTH"/></dp:text>
  1450. </out:otherwise>
  1451. </out:choose>
  1452. </xsl:when>
  1453. <xsl:otherwise>
  1454. <out:choose>
  1455. <out:when test="/root/env/param[@name='emailSummary'] != ''">
  1456. <out:value-of select="/root/env/param[@name='emailSummary']"/>
  1457. </out:when>
  1458. <out:when test="not($emailAsAttachment or $emailAsURL)">
  1459. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_NOTIFY_MULTIPLE_REPORTS"/></dp:text>
  1460. </out:when>
  1461. <out:when test="$emailAsAttachment and not($emailAsURL)">
  1462. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_REPORTS"/></dp:text>
  1463. </out:when>
  1464. <out:when test="not($emailAsAttachment) and $emailAsURL">
  1465. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_URLS"/></dp:text>
  1466. </out:when>
  1467. <out:otherwise>
  1468. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_BOTH_MULTIPLE_REPORTS"/></dp:text>
  1469. </out:otherwise>
  1470. </out:choose>
  1471. </xsl:otherwise>
  1472. </xsl:choose>
  1473. </label>
  1474. &#160;&#160;
  1475. <dp:link>
  1476. <utml:a utml:op="maintain" utml:hide-when-read-only="true" id="id_edit_email_options">
  1477. <xsl:attribute name="utml:formName">
  1478. <xsl:value-of select="'pform'"/>
  1479. </xsl:attribute>
  1480. <utml:href>
  1481. document.pform.controller_state.value='email|markup';document.pform.m_ro_email.checked=true;
  1482. </utml:href>
  1483. <utml:target>
  1484. <xsl:choose>
  1485. <xsl:when test="@morphletPath">
  1486. <out:value-of select="{@morphletPath}"/>
  1487. </xsl:when>
  1488. <xsl:otherwise>
  1489. <out:value-of select="concat($app, '/', $mname)"/>
  1490. </xsl:otherwise>
  1491. </xsl:choose>
  1492. </utml:target>
  1493. <xsl:text/><xts:string id="IDS_OTHERRUN_SET_EMAIL"/><xsl:text/>
  1494. </utml:a>
  1495. </dp:link>
  1496. </div>
  1497. </dp:section2>
  1498. <dp:section3>
  1499. <out:variable name="jobDefinition"><xsl:value-of select="@jobDefinition"/></out:variable>
  1500. <out:if test="not(key('env-param', 'm_ro_burst')) or key('env-param', 'm_ro_burst') != 'true' or $jobDefinition='true'">
  1501. <dp:list>
  1502. <dp:section >
  1503. <span>
  1504. <out:if test="/root/env/param[@name='emailRecipientsCount'] = '1'">
  1505. <out:attribute name="lang"><out:value-of select="$contentLocale"/></out:attribute>
  1506. </out:if>
  1507. <out:value-of select="xtsext:sttInjectUCCIntoStr(/root/env/param[@name='emailDescription'], 'email', boolean($isBidiEnabled='true'))"/>
  1508. </span>
  1509. </dp:section>
  1510. </dp:list>
  1511. </out:if>
  1512. </dp:section3>
  1513. </xsl:if>
  1514. <!-- mobile -->
  1515. <!-- only display if mobile services are installed-->
  1516. <out:if test="/root/installedComponents/configuration/*/component[.='mobileService'] and not($isPowerPlay8Object) and $userCanUseMobileService">
  1517. <dp:section1>
  1518. <utml:input type="checkbox" id="m_ro_mobile_checkbox" name="m_ro_mobile" value="true" utml:track="true" utml:default-condition="$mobile_checked"/>
  1519. </dp:section1>
  1520. <dp:section2 >
  1521. <div>
  1522. <label for="m_ro_mobile_checkbox">
  1523. <xsl:choose>
  1524. <xsl:when test="not(@jobDefinition) or @jobDefinition='false'">
  1525. <out:choose>
  1526. <out:when test="/root/env/param[@name='mobileSummary'] != ''">
  1527. <out:value-of select="/root/env/param[@name='mobileSummary']"/>
  1528. </out:when>
  1529. <out:otherwise>
  1530. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_MOBILE_REPORT"/></dp:text>
  1531. </out:otherwise>
  1532. </out:choose>
  1533. </xsl:when>
  1534. <xsl:otherwise>
  1535. <out:choose>
  1536. <out:when test="/root/env/param[@name='mobileSummary'] != ''">
  1537. <out:value-of select="/root/env/param[@name='mobileSummary']"/>
  1538. </out:when>
  1539. <out:otherwise>
  1540. <dp:text><xts:string id="IDS_OTHERRUN_DELIVERY_MOBILE_REPORTS"/></dp:text>
  1541. </out:otherwise>
  1542. </out:choose>
  1543. </xsl:otherwise>
  1544. </xsl:choose>&#160;&#160;
  1545. </label>
  1546. <dp:link>
  1547. <utml:a utml:op="maintain" utml:hide-when-read-only="true">
  1548. <xsl:attribute name="utml:formName">
  1549. <xsl:value-of select="'pform'"/>
  1550. </xsl:attribute>
  1551. <utml:href>
  1552. document.pform.controller_state.value='mobile|navigate';document.pform.m_ro_mobile.checked=true;
  1553. </utml:href>
  1554. <utml:target>
  1555. <xsl:choose>
  1556. <xsl:when test="@morphletPath">
  1557. <out:value-of select="{@morphletPath}"/>
  1558. </xsl:when>
  1559. <xsl:otherwise>
  1560. <out:value-of select="concat($app, '/', $mname)"/>
  1561. </xsl:otherwise>
  1562. </xsl:choose>
  1563. </utml:target>
  1564. <xsl:text/><xts:string id="IDS_OTHERRUN_SELECT_RECIPIENTS"/><xsl:text/>
  1565. </utml:a>
  1566. </dp:link>
  1567. </div>
  1568. </dp:section2>
  1569. <dp:section3>
  1570. <dp:list>
  1571. <dp:section>
  1572. <span>
  1573. <out:value-of select="/root/env/param[@name='mobileDescription']"/>
  1574. </span>
  1575. </dp:section>
  1576. </dp:list>
  1577. </dp:section3>
  1578. </out:if>
  1579. </dp:choice>
  1580. </div>
  1581. </out:template>
  1582. </xsl:template>
  1583. <!--
  1584. Template that takes care of displaying the print text and field in the delivery section
  1585. -->
  1586. <xsl:template name="ut:printer" match="ut:printer">
  1587. <dp:list>
  1588. <dp:section><dp:label for="lbl_printerNameAddress">
  1589. <div><xts:string id="IDS_OTHERRUN_PRINTER_LOCATION"/>
  1590. </div>
  1591. </dp:label></dp:section>
  1592. <dp:section>
  1593. <dp:field>
  1594. <!-- This hidden variable is used to indicate which run option (printer or printerAddress) will be saved. -->
  1595. <utml:input type="hidden" name="ro_printer_kw">
  1596. <utml:value>
  1597. <out:choose>
  1598. <out:when test="key('env-param', 'm_ro_printerAddress')">
  1599. <out:value-of select="'printerAddress'"/>
  1600. </out:when>
  1601. <out:when test="key('env-param', 'm_ro_printer')">
  1602. <out:value-of select="'printer'"/>
  1603. </out:when>
  1604. <out:otherwise>
  1605. <out:value-of select="'none'"/>
  1606. </out:otherwise>
  1607. </out:choose>
  1608. </utml:value>
  1609. </utml:input>
  1610. <!-- setect_printerNameAdrres should contain either the name or the address of the printer. -->
  1611. <utml:input type="text" name="select_printerNameAddress" id="lbl_printerNameAddress" utml:track="true" size="35" onkeyup="onChangePrinter();" utml:update="false" lang="{'{$contentLocale}'}">
  1612. <utml:value>
  1613. <out:choose>
  1614. <out:when test="key('env-param', 'select_printerName') and key('env-param','ro_printer_kw') = 'printer'">
  1615. <out:value-of select="key('env-param', 'select_printerName')"/>
  1616. </out:when>
  1617. <out:when test="key('env-param', 'select_printerAddress')">
  1618. <out:value-of select="key('env-param', 'select_printerAddress')"/>
  1619. </out:when>
  1620. <out:when test="key('env-param', 'm_ro_printerAddress')">
  1621. <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
  1622. </out:when>
  1623. <out:when test="key('env-param','printerSummary')!=''">
  1624. <out:value-of select="key('env-param', 'printerSummary')"/>
  1625. </out:when>
  1626. </out:choose>
  1627. </utml:value>
  1628. </utml:input>
  1629. <!-- select_AddressAdress should contain only the printer address
  1630. If the user edit the select_printerNameAddress then its value will be passed to select_printerAddress.
  1631. Otherwise select_printerAddress will be empty or will contain the address of a saved printer.
  1632. -->
  1633. <utml:input type="hidden" name="select_printerAddress" utml:track="true" utml:update="false">
  1634. <utml:value>
  1635. <out:choose>
  1636. <out:when test="key('env-param', 'select_printerAddress')">
  1637. <out:value-of select="key('env-param', 'select_printerAddress')"/>
  1638. </out:when>
  1639. <out:when test="key('env-param', 'm_ro_printerAddress')">
  1640. <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
  1641. </out:when>
  1642. <out:when test="key('env-param','printerSummary')!=''">
  1643. <out:value-of select="key('env-param', 'printerSummary')"/>
  1644. </out:when>
  1645. </out:choose>
  1646. </utml:value>
  1647. </utml:input>
  1648. <utml:input type="hidden" name="m_ro_printerAddress">
  1649. <utml:value>
  1650. <out:choose>
  1651. <out:when test="key('env-param', 'm_ro_printerAddress')">
  1652. <out:value-of select="key('env-param', 'm_ro_printerAddress')"/>
  1653. </out:when>
  1654. <out:when test="/root/deliveryQuery/cm:queryResponse/cm:queryReply/cm:printer">
  1655. <out:value-of select="/root/deliveryQuery/cm:queryResponse/cm:queryReply/cm:printer/cm:printerAddress "/>
  1656. </out:when>
  1657. </out:choose>
  1658. </utml:value>
  1659. </utml:input>
  1660. <utml:input type="hidden" name="m_ro_printer">
  1661. <utml:value>
  1662. <out:value-of select="key('env-param', 'm_ro_printer')"/>
  1663. </utml:value>
  1664. </utml:input>
  1665. </dp:field>
  1666. <dp:link>
  1667. <div>
  1668. <utml:a utml:op="stack-up" utml:hide-when-read-only="true">
  1669. <xsl:attribute name="utml:formName">
  1670. <xsl:value-of select="'pform'"/>
  1671. </xsl:attribute>
  1672. <utml:href>selectPrinterButton();</utml:href>
  1673. <utml:target>
  1674. <out:value-of select="concat($app, '/specify_printer.xts')"/>
  1675. </utml:target>
  1676. <xsl:text/><xts:string id="IDS_OTHERRUN_BROWSE_PRINTER"/><xsl:text/>
  1677. </utml:a>
  1678. </div>
  1679. </dp:link>
  1680. </dp:section>
  1681. </dp:list>
  1682. </xsl:template>
  1683. <!--
  1684. ut:prompt
  1685. @showRadioButtons - show the radio buttons that determine the prompt runOption
  1686. @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
  1687. we don't have a dangling 'and'.
  1688. -->
  1689. <xsl:template match="ut:prompt">
  1690. <out:call-template name="promptTemplate">
  1691. <out:with-param name="form-read-only" select="$form-read-only"/>
  1692. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1693. </out:call-template>
  1694. </xsl:template>
  1695. <xsl:template match="ut:prompt_pp8Titan">
  1696. <out:call-template name="promptTemplate_pp8Titan">
  1697. <out:with-param name="form-read-only" select="$form-read-only"/>
  1698. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1699. </out:call-template>
  1700. </xsl:template>
  1701. <xsl:template match="ut:promptTemplate_pp8Titan">
  1702. <out:template name="promptTemplate">
  1703. <out:param name="form-read-only"/>
  1704. <out:param name="utml-form-name"/>
  1705. <xsl:call-template name="ut:promptTemplateUI"/>
  1706. </out:template>
  1707. </xsl:template>
  1708. <xsl:template match="ut:promptTemplate">
  1709. <out:template name="promptTemplate">
  1710. <out:param name="form-read-only"/>
  1711. <out:param name="utml-form-name"/>
  1712. <xsl:call-template name="ut:promptTemplateUI"/>
  1713. <xsl:call-template name="promptRunOptionCheckbox"/>
  1714. </out:template>
  1715. </xsl:template>
  1716. <xsl:template name="ut:promptTemplateUI">
  1717. <utml:input type="hidden" name="method" value="" utml:update="false"/>
  1718. <utml:input type="hidden" name="cleared_prompts" value="false"/>
  1719. <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'"/>
  1720. <script language="javascript">
  1721. function doPrompts(cmd)
  1722. {
  1723. var frm = document.<out:value-of select="$utml-form-name"/>;
  1724. frm.ps_nav_op.value = "maintain";
  1725. if (cmd == 'clear')
  1726. {
  1727. frm.cleared_prompts.value = 'true';
  1728. if (frm.m_rp_parameters)
  1729. {
  1730. if (frm.defaultParameters)
  1731. {
  1732. frm.m_rp_parameters.value = frm.defaultParameters.value;
  1733. }
  1734. else
  1735. {
  1736. frm.m_rp_parameters.value = '';
  1737. }
  1738. }
  1739. if (frm.parameterDescription)
  1740. {
  1741. if (frm.defaultParameterDescription)
  1742. {
  1743. frm.parameterDescription.value = frm.defaultParameterDescription.value;
  1744. }
  1745. else
  1746. {
  1747. frm.parameterDescription.value = '';
  1748. }
  1749. }
  1750. if (frm.parameterDescriptionToLong)
  1751. {
  1752. if (frm.defaultParameterDescriptionToLong)
  1753. {
  1754. frm.parameterDescriptionToLong.value = frm.defaultParameterDescriptionToLong.value;
  1755. }
  1756. else
  1757. {
  1758. frm.parameterDescriptionToLong.value = '';
  1759. }
  1760. }
  1761. }
  1762. else if (cmd == 'prompt_set' || cmd == 'prompt_edit' )
  1763. {
  1764. frm.controller_state.value=cmd;
  1765. }
  1766. else
  1767. {
  1768. frm.method.value=cmd;
  1769. }
  1770. <!-- 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 -->
  1771. window.setTimeout('document.<out:value-of select="$utml-form-name"/>.submit();', 1 );
  1772. }
  1773. </script>
  1774. <div id="overrideParametersDescription">
  1775. <dp:list>
  1776. <xsl:if test="not(@showTitle) or @showTitle='true'">
  1777. <xsl:attribute name="title">IDS_OTHERRUN_PROMPT</xsl:attribute>
  1778. </xsl:if>
  1779. <out:variable name="promptDescription" select="key('env-param', 'parameterDescription')"/>
  1780. <out:choose>
  1781. <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}))">
  1782. <dp:section>
  1783. <dp:text><xts:string id="IDS_OTHERRUN_PROMPT_NOT_SAVED"/></dp:text>
  1784. </dp:section>
  1785. <xsl:if test="not(@showLinks) or @showLinks='true'">
  1786. <out:if test="$form-read-only != 'true' and $has_execute_permission = true()">
  1787. <out:variable name="prmptLabel"><xts:string id="IDS_OTHERRUN_PROMPT_SET_LINK_LBL"/></out:variable>
  1788. <dp:section>
  1789. <out:choose>
  1790. <!-- prompts for PowerPlay8 are handled differently -->
  1791. <out:when test="$isPowerPlay8Object">
  1792. <a href="#" onclick="doPrompts('prompt_set');" aria-label="{'{$prmptLabel}'}">
  1793. <xts:string id="IDS_OTHERRUN_PROMPT_SET"/>
  1794. </a>
  1795. </out:when>
  1796. <out:otherwise>
  1797. <a href="#" onclick="doPrompts('edit');" aria-label="{'{$prmptLabel}'}">
  1798. <xts:string id="IDS_OTHERRUN_PROMPT_SET"/>
  1799. </a>
  1800. </out:otherwise>
  1801. </out:choose>
  1802. </dp:section>
  1803. </out:if>
  1804. </xsl:if>
  1805. </out:when>
  1806. <out:otherwise>
  1807. <out:choose>
  1808. <out:when test="$isPowerPlay8Object">
  1809. <dp:section>
  1810. <dp:text><xts:string id="IDS_OTHERRUN_PROMPT_SAVED"/></dp:text>
  1811. </dp:section>
  1812. </out:when>
  1813. <out:otherwise>
  1814. <dp:section>
  1815. <dp:text><out:value-of select="$promptDescription"/></dp:text>
  1816. <out:if test="/root/env/param[@name='parameterDescriptionToLong'] = 'true'">
  1817. <dp:link>
  1818. <utml:a utml:op="stack-up">
  1819. <utml:target>
  1820. <out:value-of select="concat($app, '/view_prompts.xts')"/>
  1821. </utml:target>
  1822. <xsl:text/><xts:string id="IDS_OTHERRUN_PROMPT_VIEW"/><xsl:text/>
  1823. </utml:a>
  1824. </dp:link>
  1825. </out:if>
  1826. </dp:section>
  1827. </out:otherwise>
  1828. </out:choose>
  1829. </out:otherwise>
  1830. </out:choose>
  1831. </dp:list>
  1832. </div>
  1833. <xsl:if test="not(@showLinks) or @showLinks='true'">
  1834. <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'">
  1835. <dp:list>
  1836. <dp:section>
  1837. <out:if test="$has_execute_permission = true()">
  1838. <out:choose>
  1839. <!-- prompts for PowerPlay8 are handled differently -->
  1840. <out:when test="$isPowerPlay8Object">
  1841. <a href="#" onclick="doPrompts('prompt_edit');">
  1842. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_EDIT_ARIA"/></out:attribute>
  1843. <xts:string id="IDS_OTHERRUN_PROMPT_EDIT"/>
  1844. </a>
  1845. <dp:text/>
  1846. </out:when>
  1847. <out:otherwise>
  1848. <a href="#" onclick="doPrompts('edit');">
  1849. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_EDIT_ARIA"/></out:attribute>
  1850. <xts:string id="IDS_OTHERRUN_PROMPT_EDIT"/>
  1851. </a>
  1852. <dp:text/>
  1853. </out:otherwise>
  1854. </out:choose>
  1855. </out:if>
  1856. <a href="#" onclick="doPrompts('clear');">
  1857. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PROMPT_CLEAR_ARIA"/></out:attribute>
  1858. <xts:string id="IDS_OTHERRUN_PROMPT_CLEAR"/>
  1859. </a>
  1860. </dp:section>
  1861. </dp:list>
  1862. </out:if>
  1863. </xsl:if>
  1864. </xsl:template>
  1865. <xsl:template name="promptRunOptionCheckbox">
  1866. <dp:choice>
  1867. <dp:section1>
  1868. <out:choose>
  1869. <out:when test="$isPowerPlay8Object">
  1870. <out:variable name="prompt_checked">
  1871. <out:choose>
  1872. <out:when test="key('env-param', 'm_pp8ro_prompt') = 'true'">true</out:when>
  1873. <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>
  1874. <out:otherwise>false</out:otherwise>
  1875. </out:choose>
  1876. </out:variable>
  1877. <utml:input type="checkbox" name="m_pp8ro_prompt" id="prompt" value="true" utml:track="true" utml:default-condition="$prompt_checked='true'"/>
  1878. </out:when>
  1879. <out:otherwise>
  1880. <utml:input type="checkbox" name="m_ro_prompt" id="prompt" value="true" utml:track="true">
  1881. <out:if test="/root/env/param[@name='m_ro_prompt']='true'">
  1882. <out:attribute name="checked"/>
  1883. </out:if>
  1884. </utml:input>
  1885. </out:otherwise>
  1886. </out:choose>
  1887. </dp:section1>
  1888. <dp:section2 for="prompt">
  1889. <xts:string id="IDS_OTHERRUN_PROMPT_CHECKBOX"/>
  1890. </dp:section2>
  1891. </dp:choice>
  1892. </xsl:template>
  1893. <!--
  1894. ===============================================================================================
  1895. main UI for job property, job wizzard and run with options (for job) pages.
  1896. ===============================================================================================
  1897. -->
  1898. <xsl:template match="ut:jobUI">
  1899. <out:call-template name="jobUITemplate">
  1900. <out:with-param name="form-read-only" select="$form-read-only"/>
  1901. <out:with-param name="utml-form-name" select="$utml-form-name"/>
  1902. </out:call-template>
  1903. </xsl:template>
  1904. <xsl:template match="ut:jobUITemplate">
  1905. <out:template name="jobUITemplate">
  1906. <out:param name="form-read-only"/>
  1907. <out:param name="utml-form-name"/>
  1908. <!-- pass these select_xxxxxxx values for add_entries page -->
  1909. <utml:input type="hidden" name="visited_job_options" value="true" utml:update="false"/>
  1910. <utml:input type="hidden" name="current_step" value="" utml:update="false"/>
  1911. <utml:input type="hidden" name="clear_step" value="" utml:update="false"/>
  1912. <utml:input type="hidden" name="clear_jobOptions" value="" utml:update="false"/>
  1913. <utml:input type="hidden" name="step_class" value="" utml:update="false"/>
  1914. <utml:input type="hidden" name="controller_state" value="" utml:update="false"/>
  1915. <utml:input type="hidden" name="so.select" utml:update="false">
  1916. <utml:value>
  1917. <out:choose>
  1918. <out:when test="not(starts-with(string(/root/env/param[@name='m_obj']),'/adminFolder'))"><out:text/>jobStepBase</out:when>
  1919. <out:otherwise><out:text/>jobStepBase.admin<out:text/></out:otherwise>
  1920. </out:choose>
  1921. </utml:value>
  1922. </utml:input>
  1923. <utml:input type="hidden" name="so.defaultLocation" utml:update="false">
  1924. <utml:value><out:value-of select="/root/env/param[@name='m_path']"/></utml:value>
  1925. </utml:input>
  1926. <utml:input type="hidden" name="so.return.m" utml:update="false">
  1927. <utml:value>portal/<out:value-of select="$mname"/></utml:value>
  1928. </utml:input>
  1929. <utml:input type="hidden" name="genJobDefinitionSummary" value="" utml:update="false"/>
  1930. <script language="javascript" src="{'{$webcontent}'}/{'{$app}'}/js/utilities.js"/>
  1931. <script language="javascript">
  1932. function stepOptions(stepNumber, objectClass)
  1933. {
  1934. frm = document.pform;
  1935. frm.ps_nav_op.value = 'push';
  1936. frm.m.value = 'portal/job_step_run_options.xts';
  1937. frm.current_step.value = stepNumber;
  1938. frm.step_class.value = objectClass;
  1939. frm.submit();
  1940. };
  1941. function clearOptions(stepNumber)
  1942. {
  1943. document.pform.m.value='portal/<out:value-of select="$mname"/>';
  1944. document.pform.listop.value = 'clear_step_options';
  1945. document.pform.clear_step.value = stepNumber;
  1946. document.pform.submit();
  1947. };
  1948. function clearJobOptions()
  1949. {
  1950. document.pform.m.value='portal/<out:value-of select="$mname"/>';
  1951. document.pform.listop.value = 'clear_job_options';
  1952. document.pform.submit();
  1953. }
  1954. function changeSelection(selected, obj)
  1955. {
  1956. frm = document.pform;
  1957. for (var i = 0; i &lt; frm.elements.length; i++)
  1958. {
  1959. if (frm.elements[i].name.indexOf(obj) == 0)
  1960. {
  1961. frm.elements[i].checked = selected;
  1962. }
  1963. }
  1964. }
  1965. </script>
  1966. <out:variable name="params" select="/root/env/param"/>
  1967. <lyt:layout style="1">
  1968. <lyt:section>
  1969. <utml:input type="hidden" name="listop" value="" utml:update="false"/>
  1970. <dp:list>
  1971. <dp:section>
  1972. <dp:label><xts:string id="IDS_PROP_JOB_STEPS_LABEL"/></dp:label>
  1973. <dp:text width="100%"/>
  1974. <out:choose>
  1975. <out:when test="count(/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject/*[not(cm:searchPath = '')])>0">
  1976. <dp:text nospace="nospace">
  1977. <xts:string id="IDS_ENTRIES"/>
  1978. 1 - <out:value-of select="count(/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject/*[not(cm:searchPath = '')])"/>
  1979. </dp:text>
  1980. </out:when>
  1981. <out:otherwise>
  1982. <dp:text/>
  1983. </out:otherwise>
  1984. </out:choose>
  1985. </dp:section>
  1986. </dp:list>
  1987. <xsl:choose>
  1988. <!-- run once table -->
  1989. <xsl:when test="@runOnce='true'">
  1990. </xsl:when>
  1991. <!-- table used in the wizard and property page -->
  1992. <xsl:otherwise>
  1993. <cp:table name="jobsteps" iterate="/root/steps/*/cm:jobStepDefinition[not(x:deleted)]/cm:stepObject" width="100%" align="left" showEmptyMsg="true">
  1994. <!-- possible actions -->
  1995. <cp:action>
  1996. <out:if test="$has_write_permission = true()">
  1997. <utml:a utml:op="maintain" utml:formName="pform">
  1998. <utml:href>document.pform.controller_state.value='addEntries|navigate';</utml:href>
  1999. <utml:target>
  2000. <out:value-of select="concat($app, '/', $mname)"/>
  2001. </utml:target>
  2002. <out:text/><xts:string id="IDS_COMMAND_ADD"/><out:text/>
  2003. </utml:a>
  2004. </out:if>
  2005. </cp:action>
  2006. <cp:action>
  2007. <out:if test="$has_write_permission = true()">
  2008. <utml:a utml:formName="pform">
  2009. <utml:href>
  2010. <out:text>if(!isSelected('jobSteps_chk_')){alert("<xts:string id="IDS_REMOVE_WARNING" encode="javascript"/>");return;}</out:text>
  2011. <out:text/>javascript:document.pform.listop.value='delete';<out:text/>
  2012. </utml:href>
  2013. <utml:target>
  2014. <out:value-of select="concat( $app, '/', $mname )"/>
  2015. </utml:target>
  2016. <out:text/>
  2017. <xts:string id="IDS_REMOVE"/>
  2018. <out:text/>
  2019. </utml:a>
  2020. </out:if>
  2021. </cp:action>
  2022. <cp:action>
  2023. <out:if test="$has_write_permission = true()">
  2024. <utml:a utml:op="stack-up" utml:formName="pform">
  2025. <utml:target>
  2026. <out:value-of select="concat($app, '/modify_sequence.xts')"/>
  2027. </utml:target>
  2028. <out:text/>
  2029. <xts:string id="IDS_PROP_JOB_MODIFY_SEQUENCE"/>
  2030. <out:text/>
  2031. </utml:a>
  2032. </out:if>
  2033. </cp:action>
  2034. <cp:action>
  2035. <out:if test="$has_write_permission = true()">
  2036. <utml:a utml:formName="pform">
  2037. <utml:href>
  2038. <out:text/>javascript:document.pform.listop.value='resetToDefaults';<out:text/>
  2039. </utml:href>
  2040. <utml:target>
  2041. <out:value-of select="concat( $app, '/', $mname )"/>
  2042. </utml:target>
  2043. <out:text/>
  2044. <xts:string id="IDS_PROP_SETTINGS_RESET_TO_DEFAULT"/>
  2045. <out:text/>
  2046. </utml:a>
  2047. </out:if>
  2048. </cp:action>
  2049. <cp:tableHeader>
  2050. <!-- checkbox -->
  2051. <cp:columnHeader width="16">
  2052. <input type="checkbox" onclick="javascript:changeSelection(this.checked, 'jobSteps_chk_');" aria-labelledby="lbl_selectAll_deselectAlljobsteps"/>
  2053. </cp:columnHeader>
  2054. <!-- icon -->
  2055. <cp:columnHeader width="16"/>
  2056. <!-- path and name
  2057. have to specify the width as a % for the nowrap to work
  2058. -->
  2059. <cp:columnHeader width="33%">
  2060. <!-- All of this is to align the header (...> Name) with the contents of the table-->
  2061. <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/>&#160;</span>
  2062. <out:text/><xts:string id="IDS_NAME"/><out:text/>
  2063. </cp:columnHeader>
  2064. <cp:columnHeader width="66%">
  2065. <xts:string id="IDS_PROP_JOB_HEADING_OPTIONS_AND_PROMPTS"/>
  2066. </cp:columnHeader>
  2067. </cp:tableHeader>
  2068. <cp:tableContent>
  2069. <cp:columnContent valign="top">
  2070. <utml:input type="checkbox" utml:update="false">
  2071. <out:attribute name="aria-label">
  2072. <xts:string id="IDS_SELECTION_FOR_PAGER_ITEM" encode="html">
  2073. <xts:param name="pagerItemName">
  2074. <cf:do-the-path-link>
  2075. <cf:param name="familytree">*/cm:ancestors</cf:param>
  2076. <cf:param name="familymember">*/cm:defaultName</cf:param>
  2077. <cf:param name="onlyAncestors">false</cf:param>
  2078. </cf:do-the-path-link>
  2079. </xts:param>
  2080. </xts:string>
  2081. </out:attribute>
  2082. <utml:prefix>
  2083. <out:text>jobSteps_chk_</out:text>
  2084. </utml:prefix>
  2085. <utml:name>
  2086. <out:value-of select="../x:guid"/>
  2087. </utml:name>
  2088. <utml:value>
  2089. <out:value-of select="../x:guid"/>
  2090. </utml:value>
  2091. </utml:input>
  2092. </cp:columnContent>
  2093. <cp:columnContent valign="top">
  2094. <out:choose>
  2095. <out:when test="@nil = 'true'">
  2096. <out:call-template name="gen-icon">
  2097. <out:with-param name="showAction" select="false()"/>
  2098. <out:with-param name="baseClass" select="string(*/cm:base/*/cm:objectClass)"/>
  2099. <out:with-param name="hiddenObject" select="cm:hidden"/>
  2100. </out:call-template>
  2101. </out:when>
  2102. <out:otherwise>
  2103. <out:for-each select="*[1]">
  2104. <out:call-template name="gen-icon">
  2105. <out:with-param name="showAction" select="false()"/>
  2106. <out:with-param name="baseClass" select="string(*/cm:base/*/cm:objectClass)"/>
  2107. <out:with-param name="class" select="cm:objectClass"/>
  2108. <out:with-param name="isDangling" select="cm:base/@nil='true'"/>
  2109. <out:with-param name="hiddenObject" select="cm:hidden"/>
  2110. </out:call-template>
  2111. </out:for-each>
  2112. </out:otherwise>
  2113. </out:choose>
  2114. </cp:columnContent>
  2115. <cp:columnContent valign="top">
  2116. <out:choose>
  2117. <!-- CM didn't return any information on the step -->
  2118. <out:when test="@nil = 'true'">
  2119. <img width="20" height="16" align="absmiddle">
  2120. <out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute>
  2121. </img>
  2122. <xsl:text>&#160;</xsl:text>
  2123. <xts:string id="IDS_MISSING_STEP"/>
  2124. <out:if test="$has_write_permission = true()">
  2125. <xsl:text>&#160;&#160;&#160;&#160;&#160;</xsl:text>
  2126. <utml:a utml:op="maintain" utml:formName="pform">
  2127. <utml:href>document.pform.listop.value = 'link_orphaned_step';document.pform.current_step.value = '<out:value-of select="../*[local-name()='guid']"/>';</utml:href>
  2128. <utml:target>
  2129. <out:value-of select="concat($app, '/select/select.xts')"/>
  2130. </utml:target>
  2131. <utml:unique-id>
  2132. <out:value-of select="../*[local-name()='guid']"/>
  2133. </utml:unique-id>
  2134. <xts:string id="IDS_JOB_LINK_TO_ENTRY"/>
  2135. </utml:a>
  2136. </out:if>
  2137. </out:when>
  2138. <!-- if we were able to get information on the step -->
  2139. <out:otherwise>
  2140. <img height="16" width="20" align="absmiddle">
  2141. <out:attribute name="alt">
  2142. <cf:do-the-path-link>
  2143. <cf:param name="familytree">*/cm:ancestors</cf:param>
  2144. <cf:param name="familymember">*/cm:defaultName</cf:param>
  2145. <cf:param name="onlyAncestors">true</cf:param>
  2146. </cf:do-the-path-link>
  2147. </out:attribute>
  2148. <out:attribute name="src"><out:value-of select="$skin_images"/>path.gif</out:attribute>
  2149. </img>
  2150. <out:text>&#160;</out:text>
  2151. <out:value-of select="xtsext:enforceBTD(*/cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
  2152. </out:otherwise>
  2153. </out:choose>
  2154. </cp:columnContent>
  2155. <!-- options -->
  2156. <cp:columnContent wrap="wrap" valign="top">
  2157. <out:variable name="objectClass" select="*/*[local-name()='objectClass']"/>
  2158. <!-- only show the options section if we're dealing with a report or contentTask or indexUpdateTask. Also show the options if we're dealing
  2159. with a job that already has options saved -->
  2160. <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']/*)">
  2161. <out:variable name="stepOptions" select="../*[local-name()='options']/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot;]"/>
  2162. <!-- we know if the step options have been overriden if an option otherthan 'data', 'prompt', 'saveOutput' or promptCacheMode' has been set -->
  2163. <out:variable name="stepOptionsOverriden" select="string($stepOptions/*[local-name()='name' and (.!='data' and .!='prompt' and .!='promptCacheMode' and .!='saveOutput')])!=''"/>
  2164. <xsl:call-template name="ut:buildRunOptionSummary">
  2165. <xsl:with-param name="objectClass" select="'$objectClass'"/>
  2166. <xsl:with-param name="summaryPath" select="'../*[local-name()=&quot;UIHelpers&quot;]'"/>
  2167. <xsl:with-param name="outputFormat" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;outputFormat&quot;]/*[local-name()=&quot;value&quot;]/*'"/>
  2168. <xsl:with-param name="a11y" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2169. <xsl:with-param name="archive" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;archive&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2170. <xsl:with-param name="outputLocale" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;outputLocale&quot;]/*[local-name()=&quot;value&quot;]/*'"/>
  2171. <xsl:with-param name="saveAsReportView" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;saveAs&quot; and ./*[local-name()=&quot;objectClass&quot;]=&quot;reportView&quot;]'"/>
  2172. <xsl:with-param name="save" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;saveOutput&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2173. <xsl:with-param name="promptCacheMode" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;promptCacheMode&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2174. <xsl:with-param name="saveAsName" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;saveAs&quot; and ./*[local-name()=&quot;objectClass&quot;]=&quot;reportView&quot;]/*[local-name()=&quot;objectName&quot;]/*[local-name()=&quot;item&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2175. <xsl:with-param name="print" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;print&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2176. <xsl:with-param name="email" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;email&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2177. <xsl:with-param name="mobile" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;mobile&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2178. <xsl:with-param name="burst" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;burst&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2179. <xsl:with-param name="burstDistribution" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;burstDistribution&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2180. <xsl:with-param name="burstQueryPrefetch" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;burstQueryPrefetch&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2181. <xsl:with-param name="burstKeyLimit" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;burstKeyLimit&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2182. <xsl:with-param name="contentTaskOption" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;repairSecurityReferences&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2183. <xsl:with-param name="internalContentTaskOption" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;repairInternalInconsistencies&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2184. <xsl:with-param name="indexUpdateOption" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;force&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2185. <xsl:with-param name="indexObjectTypes" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexObjectTypes&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2186. <xsl:with-param name="indexReferencedData" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexReferencedData&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2187. <xsl:with-param name="indexModeledData" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexModeledData&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2188. <xsl:with-param name="deploymentUpgradeOption" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;upgradeClasses&quot;]'"/>
  2189. <xsl:with-param name="deploymentPreserveStoreIDsOption" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;preserveStoreIDs&quot;]'"/>
  2190. <xsl:with-param name="stepOptionsOverriden" select="'$stepOptionsOverriden'"/>
  2191. <xsl:with-param name="jobDefinition" select="'false()'"/>
  2192. <xsl:with-param name="contentTask" select="'true()'"/>
  2193. <xsl:with-param name="indexOptionTask" select="'true()'"/>
  2194. <xsl:with-param name="deployment" select="'true()'"/>
  2195. <xsl:with-param name="detailed" select="'false()'"/>
  2196. <xsl:with-param name="parameters" select="'../*[local-name()=&quot;parameters&quot;] and ../*[local-name()=&quot;parameters&quot;]!=&quot;&quot;'"/>
  2197. </xsl:call-template>
  2198. <out:if test="$objectClass != 'jobDefinition' and $form-read-only = 'false'">
  2199. <out:variable name="tooltip">
  2200. <out:choose>
  2201. <out:when test="../*[local-name()='options']/*"><xts:string id="IDS_PROP_JOB_EDIT_TOOLTIP"/></out:when>
  2202. <out:otherwise><xts:string id="IDS_PROP_JOB_SET_TOOLTIP"/></out:otherwise>
  2203. </out:choose>
  2204. </out:variable>
  2205. <a href="#" role="button">
  2206. <out:attribute name="alt"><out:value-of select="$tooltip"/></out:attribute>
  2207. <out:attribute name="title"><out:value-of select="$tooltip"/></out:attribute>
  2208. <out:attribute name="onclick">javascript:stepOptions('<out:value-of select="../cm:displaySequence"/>', '<out:value-of select="*/cm:objectClass"/>');</out:attribute>
  2209. <out:attribute name="aria-label">
  2210. <xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS_WITH_NAME">
  2211. <xts:param name="objName">
  2212. <cf:do-the-path-link>
  2213. <cf:param name="familytree">*/cm:ancestors</cf:param>
  2214. <cf:param name="familymember">*/cm:defaultName</cf:param>
  2215. <cf:param name="onlyAncestors">false</cf:param>
  2216. </cf:do-the-path-link>
  2217. </xts:param>
  2218. </xts:string>
  2219. </out:attribute>
  2220. <img align="absmiddle" border="0">
  2221. <out:attribute name="src"><out:value-of select="$image_root"/>action_edit.gif</out:attribute>
  2222. <out:attribute name="alt"><xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS"/></out:attribute>
  2223. <out:attribute name="title"><xts:string id="IDS_PROP_JOB_EDIT_STEP_OPTIONS"/></out:attribute>
  2224. </img>
  2225. </a>
  2226. </out:if>
  2227. <!-- only show the clear link if options have been set -->
  2228. <out:if test="(../*[local-name()='options']/* or ../*[local-name()='parameters']/*) and $form-read-only = 'false'">
  2229. <a href="#" role="button">
  2230. <out:attribute name="title"><xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP"/></out:attribute>
  2231. <out:attribute name="onclick">javascript:clearOptions('<out:value-of select="../cm:displaySequence"/>');</out:attribute>
  2232. <out:attribute name="aria-label">
  2233. <xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP_WITH_NAME">
  2234. <xts:param name="objName">
  2235. <cf:do-the-path-link>
  2236. <cf:param name="familytree">*/cm:ancestors</cf:param>
  2237. <cf:param name="familymember">*/cm:defaultName</cf:param>
  2238. <cf:param name="onlyAncestors">false</cf:param>
  2239. </cf:do-the-path-link>
  2240. </xts:param>
  2241. </xts:string>
  2242. </out:attribute>
  2243. <img align="absmiddle" border="0">
  2244. <out:attribute name="src"><out:value-of select="$image_root"/>action_delete.gif</out:attribute>
  2245. <out:attribute name="alt"><xts:string id="IDS_PROP_JOB_CLEAR_TOOLTIP"/></out:attribute>
  2246. </img>
  2247. </a>
  2248. </out:if>
  2249. </out:if>
  2250. </cp:columnContent>
  2251. </cp:tableContent>
  2252. </cp:table>
  2253. </xsl:otherwise>
  2254. </xsl:choose>
  2255. </lyt:section>
  2256. </lyt:layout>
  2257. <xsl:if test="not(@runOnce) or @runOnce='false'">
  2258. <lyt:layout style="1">
  2259. <lyt:section>
  2260. <utml:radio-group name="m_p_sequencing">
  2261. <utml:default-value>
  2262. <xsl:choose>
  2263. <xsl:when test="@wizard='true'">parallel</xsl:when>
  2264. <xsl:otherwise><out:value-of select="/root/cm:queryResponse/cm:queryReply[2]/cm:jobDefinition/cm:sequencing"/></xsl:otherwise>
  2265. </xsl:choose>
  2266. </utml:default-value>
  2267. <dp:list title="IDS_PROP_JOB_SUBMIT_TITLE" title-id="lbl_m_p_sequencing_radioGroup">
  2268. <dp:section>
  2269. <dp:hint wrap="wrap">
  2270. <xts:string id="IDS_PROP_JOB_SUBMIT_DESCRIPTION"/>
  2271. </dp:hint>
  2272. </dp:section>
  2273. <dp:section>
  2274. <dp:choice aria-labelledby="lbl_m_p_sequencing_radioGroup">
  2275. <dp:section1>
  2276. <utml:input type="radio" value="parallel" onclick="document.pform.m_jo_continueOnError.disabled=true;" id="ctrl_sequencing_parallel"/>
  2277. </dp:section1>
  2278. <dp:section2 for="ctrl_sequencing_parallel">
  2279. <dp:text>
  2280. <xts:string id="IDS_PROP_JOB_PARALLEL"/>
  2281. </dp:text>
  2282. </dp:section2>
  2283. <dp:section1>
  2284. <utml:input type="radio" value="sequential" onclick="document.pform.m_jo_continueOnError.disabled=false;" id="ctrl_sequencing_sequential"/>
  2285. </dp:section1>
  2286. <dp:section2 for="ctrl_sequencing_sequential">
  2287. <dp:text>
  2288. <xts:string id="IDS_PROP_JOB_SEQUENTIAL"/>
  2289. </dp:text>
  2290. </dp:section2>
  2291. <dp:section3>
  2292. <dp:choice>
  2293. <dp:section1>
  2294. <utml:input type="checkbox" value="true" name="m_jo_continueOnError" id="ctrl_continueOnError">
  2295. <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'">
  2296. <out:attribute name="disabled">true</out:attribute>
  2297. </out:if>
  2298. </utml:input>
  2299. </dp:section1>
  2300. <dp:section2 for="ctrl_continueOnError">
  2301. <dp:text>
  2302. <xts:string id="IDS_PROP_JOB_SEQUENTIAL_CONTINUE_ERROR"/>
  2303. </dp:text>
  2304. </dp:section2>
  2305. </dp:choice>
  2306. </dp:section3>
  2307. </dp:choice>
  2308. </dp:section>
  2309. </dp:list>
  2310. </utml:radio-group>
  2311. </lyt:section>
  2312. </lyt:layout>
  2313. <lyt:layout style="1">
  2314. <lyt:section>
  2315. <dp:list title="IDS_PROP_JOB_DEFAULT_OPTIONS">
  2316. <dp:section>
  2317. <dp:hint wrap="wrap">
  2318. <xts:string id="IDS_PROP_JOB_DEFAULT_DESC"/>
  2319. </dp:hint>
  2320. </dp:section>
  2321. <dp:section wrap="wrap">
  2322. <dp:choice noSpace="true">
  2323. <dp:section1 wrap="wrap">
  2324. <out:value-of select="'&#160;&#160;'"/>
  2325. </dp:section1>
  2326. <dp:section2 wrap="wrap">
  2327. <out:variable name="objectClass" select="'jobDefinition'"/>
  2328. <out:variable name="jobOptions" select="/root/jobOptions/*[local-name()=&quot;options&quot;]/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot;]"/>
  2329. <out:variable name="stepOptions" select="../*[local-name()='options']/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot;]"/>
  2330. <xsl:call-template name="ut:buildRunOptionSummary">
  2331. <xsl:with-param name="objectClass" select="'$objectClass'"/>
  2332. <xsl:with-param name="summaryPath" select="'/root/jobOptions/UIHelpers'"/>
  2333. <xsl:with-param name="outputFormat" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;outputFormat&quot;]/*[local-name()=&quot;value&quot;]/*'"/>
  2334. <xsl:with-param name="a11y" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2335. <xsl:with-param name="archive" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;archive&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2336. <xsl:with-param name="outputLocale" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;outputLocale&quot;]/*[local-name()=&quot;value&quot;]/*'"/>
  2337. <xsl:with-param name="saveAsReportView" select="'false()'"/>
  2338. <xsl:with-param name="save" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;saveOutput&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2339. <xsl:with-param name="promptCacheMode" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;promptCacheMode&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2340. <xsl:with-param name="print" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;print&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2341. <xsl:with-param name="email" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;email&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2342. <xsl:with-param name="mobile" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;mobile&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2343. <xsl:with-param name="burst" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;burst&quot;]/*[local-name()=&quot;value&quot;] = &quot;true&quot;'"/>
  2344. <xsl:with-param name="burstDistribution" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;burstDistribution&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2345. <xsl:with-param name="burstQueryPrefetch" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;burstQueryPrefetch&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2346. <xsl:with-param name="burstKeyLimit" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;burstKeyLimit&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2347. <xsl:with-param name="contentTaskOption" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;repairSecurityReferences&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2348. <xsl:with-param name="indexUpdateOption" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;force&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2349. <xsl:with-param name="indexObjectTypes" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexObjectTypes&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2350. <xsl:with-param name="indexReferencedData" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexReferencedData&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2351. <xsl:with-param name="indexModeledData" select="'$stepOptions[./*[local-name()=&quot;name&quot;]=&quot;indexModeledData&quot;]/*[local-name()=&quot;value&quot;]'"/>
  2352. <xsl:with-param name="deploymentUpgradeOption" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;upgradeClasses&quot;]'"/>
  2353. <xsl:with-param name="deploymentPreserveStoreIDsOption" select="'$jobOptions[./*[local-name()=&quot;name&quot;]=&quot;preserveStoreIDs&quot;]'"/>
  2354. <xsl:with-param name="jobDefinition" select="'true()'"/>
  2355. <xsl:with-param name="contentTask" select="'true()'"/>
  2356. <xsl:with-param name="indexUpdateTask" select="'true()'"/>
  2357. <xsl:with-param name="deployment" select="'true()'"/>
  2358. <xsl:with-param name="detailed" select="'false()'"/>
  2359. </xsl:call-template>
  2360. </dp:section2>
  2361. </dp:choice>
  2362. </dp:section>
  2363. <out:if test="$form-read-only != 'true'">
  2364. <dp:section>
  2365. <dp:link>
  2366. <out:value-of select="'&#160;&#160;&#160;'"/>
  2367. <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'] "/>
  2368. <utml:a utml:op="stack-up" utml:formName="pform">
  2369. <utml:href>
  2370. document.pform.genJobDefinitionSummary.value='true';
  2371. </utml:href>
  2372. <utml:target>
  2373. <out:value-of select="concat($app, '/job_default_run_options.xts')"/>
  2374. </utml:target>
  2375. <out:choose>
  2376. <out:when test="$jobOptionsExist">
  2377. <out:text/><xts:string id="IDS_PROP_JOB_REVIEW_JOB_OPTIONS"/><out:text/>
  2378. </out:when>
  2379. <out:otherwise>
  2380. <out:text/><xts:string id="IDS_PROP_JOB_SET_JOB_OPTIONS"/><out:text/>
  2381. </out:otherwise>
  2382. </out:choose>
  2383. </utml:a>
  2384. <out:value-of select="'&#160;&#160;&#160;&#160;&#160;&#160;'"/>
  2385. <!-- check to see if the output format is overriden -->
  2386. <out:if test="$jobOptionsExist and (not(key('env-param','override_outputFormat_option')='true') or key('env-param','no_initial_job_properties')='true')">
  2387. <a>
  2388. <out:attribute name="href">javascript:clearJobOptions();</out:attribute>
  2389. <xts:string id="IDS_PROP_JOB_CLEAR_JOB_OPTIONS"/>
  2390. </a>
  2391. </out:if>
  2392. </dp:link>
  2393. </dp:section>
  2394. </out:if>
  2395. </dp:list>
  2396. </lyt:section>
  2397. </lyt:layout>
  2398. <!-- run history details level section -->
  2399. <lyt:layout style="1">
  2400. <lyt:section>
  2401. <dp:list title="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_TITLE" for="ctrl_writeCompleteHistory">
  2402. <dp:section>
  2403. <dp:hint wrap="wrap">
  2404. <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_DESC"/>
  2405. </dp:hint>
  2406. </dp:section>
  2407. <dp:section>
  2408. <dp:choice>
  2409. <dp:section1 wrap="wrap">
  2410. <out:value-of select="'&#160;&#160;'"/>
  2411. </dp:section1>
  2412. <dp:section2>
  2413. <utml:select name="m_mo_writeCompleteHistory" utml:track="true" id="ctrl_writeCompleteHistory">
  2414. <utml:option>
  2415. <utml:value>true</utml:value>
  2416. <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_CHOICE_ALL"/>
  2417. </utml:option>
  2418. <utml:option>
  2419. <utml:value>false</utml:value>
  2420. <xts:string id="IDS_PROP_JOB_HISTORY_DETAILS_LEVEL_CHOICE_LIMITED"/>
  2421. </utml:option>
  2422. </utml:select>
  2423. </dp:section2>
  2424. </dp:choice>
  2425. </dp:section>
  2426. </dp:list>
  2427. </lyt:section>
  2428. </lyt:layout>
  2429. </xsl:if>
  2430. </out:template>
  2431. </xsl:template>
  2432. <!--
  2433. match on ut:buildRunOptionSummary to be able to do a call-template from a morphlet
  2434. -->
  2435. <xsl:template match="ut:buildRunOptionSummary">
  2436. <out:template name="ut:buildRunOptionSummary">
  2437. <out:param name="objectClass"/>
  2438. <out:param name="summaryPath"/>
  2439. <out:param name="outputFormat" select="/root/env/param[starts-with(@name,&quot;m_ro_outputFormat&quot;)]"/>
  2440. <out:param name="a11y" select="/root/env/param[starts-with(@name,&quot;m_go_accessibilityFeatures&quot;) = &quot;true&quot;]"/>
  2441. <out:param name="archive" select="/root/env/param[starts-with(@name,&quot;m_ro_archive&quot;)]"/>
  2442. <out:param name="outputLocale" select="/root/env/param[starts-with(@name,&quot;m_ro_outputLocale&quot;)]"/>
  2443. <out:param name="save" select="/root/env/param[starts-with(@name,&quot;m_ro_saveOutput&quot;) = &quot;new_entry&quot;]"/>
  2444. <out:param name="saveAsReportView" select="/root/env/param[starts-with(@name,&quot;save_how&quot;) = &quot;new_entry&quot;]"/>
  2445. <out:param name="promptCacheMode" select="/root/env/param[starts-with(@name,&quot;m_ro_promptCacheMode&quot;)]"/>
  2446. <out:param name="saveAsName" select="/root/env/param[starts-with(@name,&quot;m_ro_saveAsName&quot;)]"/>
  2447. <out:param name="print" select="/root/env/param[starts-with(@name,&quot;m_ro_print&quot;) = &quot;true&quot;]"/>
  2448. <out:param name="email" select="/root/env/param[starts-with(@name,&quot;m_ro_email&quot;) = &quot;true&quot;]"/>
  2449. <out:param name="mobile" select="/root/env/param[starts-with(@name,&quot;m_ro_mobile&quot;) = &quot;true&quot;]"/>
  2450. <out:param name="burst" select="/root/env/param[starts-with(@name,&quot;m_ro_burst&quot;) = &quot;true&quot;]"/>
  2451. <out:param name="burstDistribution" select="/root/env/param[starts-with(@name,&quot;m_ro_burstDistribution&quot;)]"/>
  2452. <out:param name="burstQueryPrefetch" select="/root/env/param[starts-with(@name,&quot;m_ro_burstQueryPrefetch&quot;)]"/>
  2453. <out:param name="burstKeyLimit" select="/root/env/param[starts-with(@name,&quot;m_ro_burstKeyLimit&quot;)]"/>
  2454. <out:param name="jobDefinition" select="true()"/>
  2455. <out:param name="detailed" select="true()"/>
  2456. <out:param name="parameters" select="false()"/>
  2457. <out:param name="stepOptionsOverriden" select="'false()'"/>
  2458. <xsl:call-template name="ut:buildRunOptionSummary">
  2459. <xsl:with-param name="objectClass" select="'$objectClass'"/>
  2460. <xsl:with-param name="summaryPath" select="'$summaryPath'"/>
  2461. <xsl:with-param name="outputFormat" select="'$outputFormat'"/>
  2462. <xsl:with-param name="a11y" select="'$a11y'"/>
  2463. <xsl:with-param name="archive" select="'$archive'"/>
  2464. <xsl:with-param name="outputLocale" select="'$outputLocale'"/>
  2465. <xsl:with-param name="saveAsReportView" select="'$saveAsReportView'"/>
  2466. <xsl:with-param name="save" select="'$save'"/>
  2467. <xsl:with-param name="promptCacheMode" select="'$promptCacheMode'"/>
  2468. <xsl:with-param name="print" select="'$print'"/>
  2469. <xsl:with-param name="email" select="'$email'"/>
  2470. <xsl:with-param name="mobile" select="'$mobile'"/>
  2471. <xsl:with-param name="burst" select="'$burst'"/>
  2472. <xsl:with-param name="burstDistribution" select="'$burstDistribution'"/>
  2473. <xsl:with-param name="burstQueryPrefetch" select="'$burstQueryPrefetch'"/>
  2474. <xsl:with-param name="burstKeyLimit" select="'$burstKeyLimit'"/>
  2475. <xsl:with-param name="parameters" select="'$parameters'"/>
  2476. <xsl:with-param name="jobDefinition" select="'$jobDefinition'"/>
  2477. <xsl:with-param name="detailed" select="'$detailed'"/>
  2478. <xsl:with-param name="parameters" select="'$parameters'"/>
  2479. <xsl:with-param name="stepOptionsOverriden" select="'$stepOptionsOverriden'"/>
  2480. </xsl:call-template>
  2481. </out:template>
  2482. </xsl:template>
  2483. <!--
  2484. ut:buildRunOptionSummary
  2485. build the runOption summary using helper strings passed and some options
  2486. -->
  2487. <xsl:template name="ut:buildRunOptionSummary">
  2488. <xsl:param name="objectClass"/>
  2489. <xsl:param name="summaryPath"/>
  2490. <xsl:param name="outputFormat" select="'/root/env/param[starts-with(@name,&quot;m_ro_outputFormat&quot;)]'"/>
  2491. <xsl:param name="archive" select="'/root/env/param[starts-with(@name,&quot;m_ro_archive&quot;)]'"/>
  2492. <xsl:param name="outputLocale" select="'/root/env/param[starts-with(@name,&quot;m_ro_outputLocale&quot;)]'"/>
  2493. <xsl:param name="a11y" select="'/root/env/param[starts-with(@name,&quot;m_go_accessibilityFeatures&quot;) = &quot;true&quot;]'"/>
  2494. <xsl:param name="save" select="'/root/env/param[starts-with(@name,&quot;m_ro_saveOutput&quot;) = &quot;new_entry&quot;]'"/>
  2495. <xsl:param name="saveAsReportView" select="'/root/env/param[starts-with(@name,&quot;save_how&quot;) = &quot;new_entry&quot;]'"/>
  2496. <xsl:param name="promptCacheMode" select="'/root/env/param[starts-with(@name,&quot;m_ro_promptCacheMode&quot;)]'"/>
  2497. <xsl:param name="saveAsName" select="'/root/env/param[starts-with(@name,&quot;m_ro_saveAsName&quot;)]'"/>
  2498. <xsl:param name="print" select="'/root/env/param[starts-with(@name,&quot;m_ro_print&quot;) = &quot;true&quot;]'"/>
  2499. <xsl:param name="email" select="'/root/env/param[starts-with(@name,&quot;m_ro_email&quot;) = &quot;true&quot;]'"/>
  2500. <xsl:param name="mobile" select="'/root/env/param[starts-with(@name,&quot;m_ro_mobile&quot;) = &quot;true&quot;]'"/>
  2501. <xsl:param name="burst" select="'/root/env/param[starts-with(@name,&quot;m_ro_burst&quot;) = &quot;true&quot;]'"/>
  2502. <xsl:param name="burstDistribution" select="/root/env/param[starts-with(@name,&quot;m_ro_burstDistribution&quot;)]"/>
  2503. <xsl:param name="burstQueryPrefetch" select="/root/env/param[starts-with(@name,&quot;m_ro_burstQueryPrefetch&quot;)]"/>
  2504. <xsl:param name="burstKeyLimit" select="/root/env/param[starts-with(@name,&quot;m_ro_burstKeyLimit&quot;)]"/>
  2505. <xsl:param name="contentTaskOption" select="'/root/env/param[starts-with(@name,&quot;ctro_runoption&quot;)]'"/>
  2506. <xsl:param name="internalContentTaskOption" select="false()"/>
  2507. <xsl:param name="deploymentUpgradeOption" select="'/root/env/param[starts-with(@name,&quot;deploymentro_upgrade&quot;)]'"/>
  2508. <xsl:param name="deploymentPreserveStoreIDsOption" select="'/root/env/param[starts-with(@name,&quot;deploymentro_preserveStoreIDs&quot;)]'"/>
  2509. <xsl:param name="indexUpdateOption" select="'/root/env/param[starts-with(@name,&quot;m_io_force&quot;)]'"/>
  2510. <xsl:param name="indexObjectTypes" select="'/root/env/param[starts-with(@name,&quot;m_io_indexObjectTypes&quot;)]'"/>
  2511. <xsl:param name="indexReferencedData" select="'/root/env/param[starts-with(@name,&quot;m_io_indexReferencedData&quot;)]'"/>
  2512. <xsl:param name="indexModeledData" select="'/root/env/param[starts-with(@name,&quot;m_io_indexModeledData&quot;)]'"/>
  2513. <xsl:param name="jobDefinition" select="'true()'"/>
  2514. <xsl:param name="contentTask" select="'false()'"/>
  2515. <xsl:param name="deployment" select="'false()'"/>
  2516. <xsl:param name="indexUpdateTask" select="'false()'"/>
  2517. <xsl:param name="detailed" select="'true()'"/>
  2518. <xsl:param name="parameters" select="'false()'"/>
  2519. <xsl:param name="stepOptionsOverriden" select="'false()'"/>
  2520. <out:variable name="listSeparator"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:variable>
  2521. <out:variable name="formatSummary">
  2522. <out:if test="{$outputFormat}">
  2523. <out:choose>
  2524. <out:when test="{$summaryPath}">
  2525. <out:value-of select="{$summaryPath}/*[local-name()='formatSummary']"/>
  2526. </out:when>
  2527. <out:otherwise>
  2528. <out:value-of select="{$outputFormat}"/>
  2529. </out:otherwise>
  2530. </out:choose>
  2531. </out:if>
  2532. </out:variable>
  2533. <out:variable name="parameterSummary">
  2534. <out:choose>
  2535. <out:when test="contains(' contentTask importDeployment indexUpdateTask ', concat(' ', {$objectClass}, ' '))"/> <!--A parameter summary is not required for content tasks, indexUpdateTask or imports objects -->
  2536. <out:when test="{$parameters} and (not({$promptCacheMode}) or {$promptCacheMode}='create')">
  2537. <xts:string id="IDS_OTHERRUN_PROMPTS_SAVED"/> <!-- Prompt values saved -->
  2538. </out:when>
  2539. <out:when test="not({$parameters}) and {$stepOptionsOverriden} and (not({$promptCacheMode}) or {$promptCacheMode}='create')">
  2540. <xts:string id="IDS_OTHERRUN_DEFAULT_PROMPTS"/> <!-- No prompt values saved -->
  2541. </out:when>
  2542. </out:choose>
  2543. </out:variable>
  2544. <out:variable name="promptCacheModeOption">
  2545. <out:if test="{$promptCacheMode}='create'">
  2546. <out:value-of select="{$promptCacheMode}"/>
  2547. </out:if>
  2548. </out:variable>
  2549. <out:variable name="outputLocaleSummary">
  2550. <out:for-each select="set:distinct({$outputLocale})" xmlns:set="http://exslt.org/sets">
  2551. <out:sort select="."/>
  2552. <out:variable name="locale" select="."/>
  2553. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
  2554. <out:if test="position() != last()"><xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/></out:if>
  2555. </out:for-each>
  2556. </out:variable>
  2557. <out:variable name="a11ySummary">
  2558. <out:if test="{$a11y}">
  2559. <out:value-of select="{$summaryPath}/*[local-name()='a11ySummary']"/>
  2560. </out:if>
  2561. </out:variable>
  2562. <out:variable name="showA11ySummary" select="count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1"/>
  2563. <out:variable name="saveSummary">
  2564. <out:choose>
  2565. <out:when test="{$saveAsReportView}">
  2566. <xts:string id="IDS_OTHERRUN_SAVE_NEW_ENTRY"/>
  2567. <out:if test="{$detailed} and {$summaryPath}/*[local-name()='saveAsSummary'] != ''">
  2568. <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='saveAsSummary'], ' &gt; ', {$saveAsName})"/>
  2569. </out:if>
  2570. </out:when>
  2571. <!-- When the user visits the step options, but does not change anything, ensure that the saveSummary does not include the 'Save the reports" string-->
  2572. <out:when test="{$promptCacheMode}='create'">
  2573. <out:if test="{$save} and not({$saveAsReportView}) and {$outputFormat}">
  2574. <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
  2575. </out:if>
  2576. </out:when>
  2577. <!-- When dealing with jobs, the saveOutput runOptions is defaulted to true. To decide if the user actually selected
  2578. to save the output (overrode the defaults) check for the existence of an outputFormat -->
  2579. <out:when test="{$save} and not({$saveAsReportView}) and (not({$jobDefinition}) or {$outputFormat}) and {$stepOptionsOverriden}">
  2580. <xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/>
  2581. </out:when>
  2582. </out:choose>
  2583. </out:variable>
  2584. <out:variable name="contentTaskOption">
  2585. <out:if test="{$contentTaskOption} and {$contentTask}"><out:value-of select="{$contentTaskOption}"/></out:if>
  2586. </out:variable>
  2587. <out:variable name="internalContentTaskOption">
  2588. <out:if test="{$internalContentTaskOption} and {$contentTask}"><out:value-of select="{$internalContentTaskOption}"/></out:if>
  2589. </out:variable>
  2590. <out:variable name="deploymentUpgradeOption">
  2591. <out:if test="{$deploymentUpgradeOption} and {$deployment}"><out:value-of select="{$deploymentUpgradeOption}"/></out:if>
  2592. </out:variable>
  2593. <out:variable name="deploymentPreserveStoreIDsOption">
  2594. <out:if test="{$deploymentPreserveStoreIDsOption} and {$deployment}"><out:value-of select="{$deploymentPreserveStoreIDsOption}"/></out:if>
  2595. </out:variable>
  2596. <out:variable name="indexUpdateOption">
  2597. <out:if test="{$indexUpdateOption} and {$indexUpdateTask}"><out:value-of select="{$indexUpdateOption}"/></out:if>
  2598. </out:variable>
  2599. <out:variable name="xpBurstDistribution" select="/root/reportOptions/*[local-name()=&quot;options&quot;]/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot; and ./*[local-name()=&quot;name&quot;]=&quot;burstDistribution&quot;]/*[local-name()=&quot;value&quot;]"/>
  2600. <out:variable name="xpBurstQueryPrefetch" select="/root/reportOptions/*[local-name()=&quot;options&quot;]/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot; and ./*[local-name()=&quot;name&quot;]=&quot;burstQueryPrefetch&quot;]/*[local-name()=&quot;value&quot;]"/>
  2601. <out:variable name="xpBurstKeyLimit" select="/root/reportOptions/*[local-name()=&quot;options&quot;]/*[local-name()=&quot;value&quot;]/*[local-name()=&quot;item&quot; and ./*[local-name()=&quot;name&quot;]=&quot;burstKeyLimit&quot;]/*[local-name()=&quot;value&quot;]"/>
  2602. <out:variable name="xpfBurstDistribution">
  2603. <out:choose>
  2604. <out:when test="count($xpBurstDistribution) > 0">
  2605. <out:value-of select="$xpBurstDistribution"/>
  2606. </out:when>
  2607. <out:otherwise>
  2608. <out:value-of select="{$burstDistribution}"/>
  2609. </out:otherwise>
  2610. </out:choose>
  2611. </out:variable>
  2612. <out:variable name="xpfBurstQueryPrefetch">
  2613. <out:choose>
  2614. <out:when test="count($xpBurstQueryPrefetch) > 0">
  2615. <out:value-of select="$xpBurstQueryPrefetch"/>
  2616. </out:when>
  2617. <out:otherwise>
  2618. <out:value-of select="{$burstQueryPrefetch}"/>
  2619. </out:otherwise>
  2620. </out:choose>
  2621. </out:variable>
  2622. <out:variable name="xpfBurstKeyLimit">
  2623. <out:choose>
  2624. <out:when test="count($xpBurstKeyLimit) > 0">
  2625. <out:value-of select="$xpBurstKeyLimit"/>
  2626. </out:when>
  2627. <out:otherwise>
  2628. <out:value-of select="{$burstKeyLimit}"/>
  2629. </out:otherwise>
  2630. </out:choose>
  2631. </out:variable>
  2632. <out:variable name="tempSummary">
  2633. <!-- this is ugly, but no other way to construct the summary -->
  2634. <out:choose>
  2635. <out:when test="$promptCacheModeOption = 'create'">
  2636. <xts:string id="IDS_OTHERRUN_REFRESH_REPORT_CACHE"/> <!-- Refresh the report cache -->
  2637. </out:when>
  2638. <out:when test="not({$stepOptionsOverriden}) and not({$parameters}) and not({$outputFormat})">
  2639. <xts:string id="IDS_OTHERRUN_DEFAULT_OPTIONS_AND_PARAMETERS"/> <!-- Default -->
  2640. </out:when>
  2641. <out:when test="not({$stepOptionsOverriden}) and {$parameters}">
  2642. <xts:string id="IDS_OTHERRUN_DEFAULT_OPTIONS"/> <!-- Default options-->
  2643. </out:when>
  2644. <out:when test="contains(' powerPlay8Report powerPlay8ReportView contentTask importDeployment indexUpdateTask ', concat(' ', {$objectClass}, ' '))"/> <!--This part doesn't apply to these objects -->
  2645. <out:otherwise>
  2646. <xts:string id="IDS_OTHERRUN_PRODUCE_REPORT_OUTPUTS"/> <!-- Produce report outputs -->
  2647. </out:otherwise>
  2648. </out:choose>
  2649. <!-- format -->
  2650. <out:if test="$formatSummary != ''">
  2651. <out:value-of select="$listSeparator"/>
  2652. <out:copy-of select="$formatSummary"/>
  2653. </out:if>
  2654. <!-- a11y -->
  2655. <out:if test="$showA11ySummary and $a11ySummary != ''">
  2656. <out:value-of select="$listSeparator"/>
  2657. <out:copy-of select="$a11ySummary"/>
  2658. </out:if>
  2659. <!-- locale -->
  2660. <out:if test="$outputLocaleSummary != ''">
  2661. <out:value-of select="$listSeparator"/>
  2662. <out:copy-of select="$outputLocaleSummary"/>
  2663. </out:if>
  2664. <!-- parameters -->
  2665. <out:if test="$parameterSummary != ''">
  2666. <out:value-of select="$listSeparator"/>
  2667. <out:value-of select="$parameterSummary"/>
  2668. </out:if>
  2669. <!-- save -->
  2670. <out:if test="$saveSummary != ''">
  2671. <out:value-of select="$listSeparator"/>
  2672. <out:copy-of select="$saveSummary"/>
  2673. </out:if>
  2674. <!-- archive -->
  2675. <out:if test="{$archive} and {$summaryPath}/*[local-name()='saveToFileSystemSummary'] != ''">
  2676. <out:value-of select="$listSeparator"/>
  2677. <out:copy-of select="{$summaryPath}/*[local-name()='saveToFileSystemSummary']"/>
  2678. </out:if>
  2679. <!-- print -->
  2680. <out:if test="{$print}">
  2681. <out:value-of select="$listSeparator"/>
  2682. <out:choose>
  2683. <out:when test="{$detailed}">
  2684. <xts:string id="IDS_CONFIRMATION_PRINT_REPORTS"/>
  2685. <out:value-of select="concat(' ', {$summaryPath}/*[local-name()='printerSummary'])"/>
  2686. </out:when>
  2687. <out:otherwise>
  2688. <xts:string id="IDS_OTHERRUN_PRINT_REPORT_SUMMARY"/>
  2689. </out:otherwise>
  2690. </out:choose>
  2691. </out:if>
  2692. <!-- email -->
  2693. <out:if test="{$email}">
  2694. <out:value-of select="$listSeparator"/>
  2695. <out:value-of select="{$summaryPath}/*[local-name()='emailSummary']"/>
  2696. <out:choose>
  2697. <out:when test="{$detailed}">
  2698. <out:if test="{$summaryPath}/*[local-name()='emailRecipients'] != '' and (not({$burst}) or {$jobDefinition})">
  2699. <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='emailRecipients'])"/>
  2700. </out:if>
  2701. </out:when>
  2702. <out:otherwise>
  2703. <out:if test="{$summaryPath}/*[local-name()='emailRecipientsCount'] != '' and {$summaryPath}/*[local-name()='emailRecipientsCount'] &gt; 0 and (not({$burst}) or {$jobDefinition})">
  2704. <xts:string id="IDS_LIST_START"/><xsl:value-of select="' '"/>
  2705. <out:choose>
  2706. <out:when test="{$summaryPath}/*[local-name()='emailRecipientsCount'] = '1'">
  2707. <xts:string id="IDS_OTHERRUN_EMAIL_ONE_RECIPIENT"/>
  2708. </out:when>
  2709. <out:otherwise>
  2710. <xts:string id="IDS_OTHERRUN_EMAIL_RECIPIENT_COUNT">
  2711. <xts:param name="numPeople">
  2712. <out:value-of select="{$summaryPath}/*[local-name()='emailRecipientsCount']"/>
  2713. </xts:param>
  2714. </xts:string>
  2715. </out:otherwise>
  2716. </out:choose>
  2717. </out:if>
  2718. </out:otherwise>
  2719. </out:choose>
  2720. </out:if>
  2721. <!-- mobile -->
  2722. <out:if test="{$mobile}">
  2723. <out:value-of select="$listSeparator"/>
  2724. <out:value-of select="{$summaryPath}/*[local-name()='mobileSummary']"/>
  2725. <out:choose>
  2726. <out:when test="{$detailed}">
  2727. <out:if test="{$summaryPath}/*[local-name()='mobileRecipients'] != '' and (not({$burst}) or {$jobDefinition})">
  2728. <xts:string id="IDS_LIST_START"/><out:value-of select="concat(' ', {$summaryPath}/*[local-name()='mobileRecipients'])"/>
  2729. </out:if>
  2730. </out:when>
  2731. <out:otherwise>
  2732. <out:if test="{$summaryPath}/*[local-name()='mobileRecipientsCount'] != '' and {$summaryPath}/*[local-name()='mobileRecipientsCount'] &gt; 0 and (not({$burst}) or {$jobDefinition})">
  2733. <xts:string id="IDS_LIST_START"/><xsl:value-of select="' '"/>
  2734. <out:choose>
  2735. <out:when test="{$summaryPath}/*[local-name()='mobileRecipientsCount'] = '1'">
  2736. <xts:string id="IDS_OTHERRUN_MOBILE_ONE_RECIPIENT"/>
  2737. </out:when>
  2738. <out:otherwise>
  2739. <xts:string id="IDS_OTHERRUN_MOBILE_RECIPIENT_COUNT">
  2740. <xts:param name="numPeople">
  2741. <out:value-of select="{$summaryPath}/*[local-name()='mobileRecipientsCount']"/>
  2742. </xts:param>
  2743. </xts:string>
  2744. </out:otherwise>
  2745. </out:choose>
  2746. </out:if>
  2747. </out:otherwise>
  2748. </out:choose>
  2749. </out:if>
  2750. <!-- burst -->
  2751. <out:if test="{$burst}">
  2752. <out:value-of select="$listSeparator"/>
  2753. <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
  2754. <xsl:call-template name="ut:burstSummary">
  2755. <xsl:with-param name="burstDistribution" select="'$xpfBurstDistribution'"/>
  2756. <xsl:with-param name="burstQueryPrefetch" select="'$xpfBurstQueryPrefetch'"/>
  2757. <xsl:with-param name="burstKeyLimit" select="'$xpfBurstKeyLimit'"/>
  2758. </xsl:call-template>
  2759. </out:if>
  2760. <!-- 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 -->
  2761. <out:if test="$contentTaskOption != '' or $internalContentTaskOption != ''">
  2762. <out:value-of select="$listSeparator"/>
  2763. <out:choose>
  2764. <out:when test="$contentTaskOption = 'true' or $contentTaskOption = 'fix' or $internalContentTaskOption = 'true' or $internalContentTaskOption = 'fix'">
  2765. <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIX"/>
  2766. </out:when>
  2767. <out:when test="$contentTaskOption = 'false' or $contentTaskOption = 'find'">
  2768. <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
  2769. </out:when>
  2770. </out:choose>
  2771. </out:if>
  2772. <out:if test="{$indexUpdateOption}">
  2773. <out:value-of select="$listSeparator"/>
  2774. <out:choose>
  2775. <out:when test="{$indexUpdateOption} = 'true'">
  2776. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_ALL_ENTRIES"/>
  2777. </out:when>
  2778. <out:when test="{$indexUpdateOption} = 'false'">
  2779. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
  2780. </out:when>
  2781. </out:choose>
  2782. </out:if>
  2783. <out:if test="{$indexObjectTypes}">
  2784. <out:value-of select="$listSeparator"/>
  2785. <out:if test="{$indexObjectTypes} = 'true'">
  2786. <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_PROP_AND_METADATA"/>
  2787. </out:if>
  2788. </out:if>
  2789. <out:if test="{$indexReferencedData}">
  2790. <out:value-of select="$listSeparator"/>
  2791. <out:if test="{$indexReferencedData} = 'true'">
  2792. <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_DATA_VALUES_REF_DATA"/>
  2793. </out:if>
  2794. </out:if>
  2795. <out:if test="{$indexModeledData}">
  2796. <out:value-of select="$listSeparator"/>
  2797. <out:if test="{$indexModeledData} = 'true'">
  2798. <xts:string id="IDS_INDEX_UPDATE_CONTENT_OPTION_DATA_VALUES_MODELED_DATA"/>
  2799. </out:if>
  2800. </out:if>
  2801. <out:choose>
  2802. <out:when test="{$deploymentUpgradeOption}/*[local-name()=&quot;value&quot;] = '' or $deploymentUpgradeOption = 'keep'">
  2803. <out:value-of select="$listSeparator"/>
  2804. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
  2805. </out:when>
  2806. <out:when test="$deploymentUpgradeOption = 'upgrade' or {$deploymentUpgradeOption}/*[local-name()=&quot;value&quot;] != ''">
  2807. <out:value-of select="$listSeparator"/>
  2808. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
  2809. </out:when>
  2810. </out:choose>
  2811. <out:choose>
  2812. <out:when test="{$deploymentPreserveStoreIDsOption}/*[local-name()=&quot;value&quot;]='true'">
  2813. <out:value-of select="$listSeparator"/>
  2814. <xts:string id="IDS_DEPLOYMENT_SUMMARY_PRESERVE_STOREIDS"/>
  2815. </out:when>
  2816. <out:when test="{$deploymentPreserveStoreIDsOption}/*[local-name()=&quot;value&quot;]='false'">
  2817. <out:value-of select="$listSeparator"/>
  2818. <xts:string id="IDS_DEPLOYMENT_SUMMARY_DO_NOT_PRESERVE_STOREIDS"/>
  2819. </out:when>
  2820. </out:choose>
  2821. </out:variable>
  2822. <!-- make sure the summary doesn't start with ', ' -->
  2823. <out:variable name="summary">
  2824. <out:choose>
  2825. <out:when test="starts-with($tempSummary, $listSeparator)">
  2826. <out:value-of select="substring-after($tempSummary, $listSeparator)"/>
  2827. </out:when>
  2828. <out:otherwise>
  2829. <out:value-of select="$tempSummary"/>
  2830. </out:otherwise>
  2831. </out:choose>
  2832. </out:variable>
  2833. <dp:text wrap="wrap">
  2834. <out:choose>
  2835. <out:when test="string($summary) = ''">
  2836. <out:choose>
  2837. <out:when test="{$jobDefinition}">
  2838. <xts:string id="IDS_PROP_JOB_NO_DEFAULT_SET"/>
  2839. </out:when>
  2840. <out:otherwise>
  2841. <xts:string id="IDS_PROP_JOB_NO_RUN_OPTIONS"/>
  2842. </out:otherwise>
  2843. </out:choose>
  2844. </out:when>
  2845. <out:otherwise><out:value-of select="$summary"/></out:otherwise>
  2846. </out:choose>
  2847. </dp:text>
  2848. </xsl:template>
  2849. <xsl:template match="ut:burstSummary" name="ut:burstSummary">
  2850. <xsl:param name="burstDistribution" select="'key(&quot;env-param&quot;,&quot;m_ro_burstDistribution&quot;)'"/>
  2851. <xsl:param name="burstQueryPrefetch" select="'key(&quot;env-param&quot;,&quot;m_ro_burstQueryPrefetch&quot;)'"/>
  2852. <xsl:param name="burstKeyLimit" select="'key(&quot;env-param&quot;,&quot;m_ro_burstKeyLimit&quot;)'"/>
  2853. <out:text> (</out:text>
  2854. <out:choose>
  2855. <out:when test="string({$burstDistribution}) = 'enabled'">
  2856. <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_ENABLED"/>
  2857. </out:when>
  2858. <out:when test="string({$burstDistribution}) = 'disabled'">
  2859. <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_DISABLED"/>
  2860. </out:when>
  2861. <out:otherwise>
  2862. <xts:string id="IDS_OTHERRUN_BURST_DISTRIBUTED_DEFAULT"/>
  2863. </out:otherwise>
  2864. </out:choose>
  2865. <xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/>
  2866. <out:choose>
  2867. <out:when test="string({$burstQueryPrefetch}) = 'enabled'">
  2868. <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_ENABLED"/>
  2869. </out:when>
  2870. <out:when test="string({$burstQueryPrefetch}) = 'disabled'">
  2871. <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_DISABLED"/>
  2872. </out:when>
  2873. <out:otherwise>
  2874. <xts:string id="IDS_OTHERRUN_BURST_QUERY_PREFETCH_DEFAULT"/>
  2875. </out:otherwise>
  2876. </out:choose>
  2877. <xts:string id="IDS_LIST_SEPARATOR"/><xsl:value-of select="' '"/>
  2878. <out:choose>
  2879. <out:when test="string({$burstKeyLimit}) = ''">
  2880. <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_DEFAULT"/>
  2881. </out:when>
  2882. <out:when test="string({$burstKeyLimit}) = '0'">
  2883. <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_UNLIMITED"/>
  2884. </out:when>
  2885. <out:otherwise>
  2886. <xts:string id="IDS_OTHERRUN_BURST_QUERY_MAX_KEYS_VALUE">
  2887. <xts:param name="numKeys"><out:value-of select="{$burstKeyLimit}"/></xts:param>
  2888. </xts:string>
  2889. </out:otherwise>
  2890. </out:choose>
  2891. <out:text>)</out:text>
  2892. </xsl:template>
  2893. <!--
  2894. dynamic div to show the default report options section.
  2895. -->
  2896. <xsl:template match="ut:defaultReportOptionsDiv">
  2897. <out:variable name="useJobOptionsForDefault" select="'{@jobStepOption}'='true' and /root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item']/*[local-name()='name']='outputFormat'"/>
  2898. <out:variable name="jobOptions" select="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item']"/>
  2899. <xsl:choose>
  2900. <xsl:when test="@objectClassXPath != ''">
  2901. <out:variable name="isPowerPlay8Object" select="contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', {@objectClassXPath} ,' '))"/>
  2902. </xsl:when>
  2903. <xsl:otherwise>
  2904. <out:variable name="isPowerPlay8Object" select="contains(' powerPlay8Report powerPlay8ReportView ', concat(' ', key('env-param', 'step_class') ,' '))"/>
  2905. </xsl:otherwise>
  2906. </xsl:choose>
  2907. <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')"/>
  2908. <!-- only show the bursting section if
  2909. - we're using the job options
  2910. - burst was selected at the job level
  2911. - report is setup for bursting
  2912. -->
  2913. <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'"/>
  2914. <!-- read only default options when in Produce Report Output mode-->
  2915. <cf:dynamicDiv name="defaultOptions">
  2916. <xsl:if test="@genCacheDiv = 'true' and (not(@jobStepOption) or @jobStepOption = 'false')">
  2917. <dp:input>
  2918. <dp:section1>
  2919. <xts:string id="IDS_STEP_RUN_RUN_REPORT_TO_TITLE"/>
  2920. </dp:section1>
  2921. <dp:section2>
  2922. <xts:string id="IDS_OTHERRUN_PRODUCE_REPORT_OUTPUTS"/>
  2923. </dp:section2>
  2924. </dp:input>
  2925. </xsl:if>
  2926. <dp:input>
  2927. <dp:section1>
  2928. <xts:string id="IDS_OTHERRUN_FORMAT"/>
  2929. </dp:section1>
  2930. <dp:section2>
  2931. <out:choose>
  2932. <out:when test="$useJobOptionsForDefault and $isPowerPlay8Object">
  2933. <xts:string id="IDS_OTHERRUN_FORMAT_PDF"/>
  2934. </out:when>
  2935. <out:when test="$useJobOptionsForDefault and $isInteractiveReport">
  2936. <xts:string id="IDS_OTHERRUN_FORMAT_HTML"/>
  2937. </out:when>
  2938. <out:when test="$useJobOptionsForDefault">
  2939. <out:value-of select="/root/jobOptions/UIHelpers/formatSummary"/>
  2940. </out:when>
  2941. <out:otherwise>
  2942. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  2943. </out:otherwise>
  2944. </out:choose>
  2945. </dp:section2>
  2946. </dp:input>
  2947. <out:variable name="a11ySupported" select="(not(@jobStepOption) or '{@jobStepOption}'='false') and not($isPowerPlay8Object)"/>
  2948. <out:if test="$a11ySupported and count(/root/configuration/property[@name='overrideOptions']/*/value/item[name='http://developer.cognos.com/ceba/constants/systemOptionEnum#accessibilityFeatures']) != 1">
  2949. <dp:input>
  2950. <dp:section1>
  2951. <xts:string id="IDS_OTHERRUN_A11Y"/>
  2952. </dp:section1>
  2953. <dp:section2>
  2954. <out:choose>
  2955. <out:when test="$useJobOptionsForDefault">
  2956. <out:value-of select="/root/jobOptions/UIHelpers/a11ySummary"/>
  2957. </out:when>
  2958. <out:otherwise>
  2959. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  2960. </out:otherwise>
  2961. </out:choose>
  2962. </dp:section2>
  2963. </dp:input>
  2964. </out:if>
  2965. <dp:input>
  2966. <dp:section1>
  2967. <xts:string id="IDS_OTHERRUN_LANGUAGE"/>
  2968. </dp:section1>
  2969. <dp:section2>
  2970. <out:choose>
  2971. <out:when test="$useJobOptionsForDefault">
  2972. <out:for-each select="set:distinct($jobOptions[./*[local-name()='name']='outputLocale']/*[local-name()='value']/*[local-name()='item'])" xmlns:set="http://exslt.org/sets">
  2973. <out:sort select="."/>
  2974. <out:variable name="locale" select="."/>
  2975. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
  2976. <out:if test="position() != last()"><out:text>, </out:text></out:if>
  2977. </out:for-each>
  2978. </out:when>
  2979. <out:otherwise>
  2980. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  2981. </out:otherwise>
  2982. </out:choose>
  2983. </dp:section2>
  2984. </dp:input>
  2985. <xsl:if test="@deliverySection != 'false'">
  2986. <dp:input>
  2987. <dp:section1>
  2988. <xts:string id="IDS_OTHERRUN_DELIVERY"/>
  2989. </dp:section1>
  2990. <dp:section2>
  2991. <out:choose>
  2992. <out:when test="$useJobOptionsForDefault">
  2993. <out:variable name="saveSummary">
  2994. <out:if test="$jobOptions[./*[local-name()='name']='saveOutput']/*[local-name()='value'] = 'true'"><xts:string id="IDS_OTHERRUN_SAVE_REPORTS"/></out:if>
  2995. </out:variable>
  2996. <out:variable name="printSummary">
  2997. <out:if test="$jobOptions[./*[local-name()='name']='print']/*[local-name()='value'] = 'true'">
  2998. <out:choose>
  2999. <out:when test="/root/jobOptions/UIHelpers/printerSummary != ''">
  3000. <xts:string id="IDS_CONFIRMATION_PRINT_REPORTS"/>
  3001. <out:value-of select="concat(' ', /root/jobOptions/UIHelpers/printerSummary)"/>
  3002. </out:when>
  3003. <out:otherwise>
  3004. <xts:string id="IDS_OTHERRUN_PRINT_REPORT_SUMMARY"/>
  3005. </out:otherwise>
  3006. </out:choose>
  3007. </out:if>
  3008. </out:variable>
  3009. <out:variable name="emailSummary">
  3010. <out:if test="$jobOptions[./*[local-name()='name']='email']/*[local-name()='value'] = 'true'">
  3011. <out:value-of select="/root/jobOptions/UIHelpers/emailSummary"/>
  3012. <out:if test="not($showBursting)">
  3013. <xsl:value-of select="': '"/>
  3014. <out:choose>
  3015. <out:when test="/root/jobOptions/UIHelpers/emailRecipients != ''">
  3016. <out:value-of select="/root/jobOptions/UIHelpers/emailRecipients"/>
  3017. </out:when>
  3018. <out:when test="/root/jobOptions/UIHelpers/emailRecipientsCount = '1'">
  3019. <xts:string id="IDS_OTHERRUN_EMAIL_ONE_RECIPIENT"/>
  3020. </out:when>
  3021. <out:otherwise>
  3022. <xts:string id="IDS_OTHERRUN_EMAIL_RECIPIENT_COUNT">
  3023. <xts:param name="numPeople">
  3024. <out:value-of select="/root/jobOptions/UIHelpers/emailRecipientsCount"/>
  3025. </xts:param>
  3026. </xts:string>
  3027. </out:otherwise>
  3028. </out:choose>
  3029. </out:if>
  3030. </out:if>
  3031. </out:variable>
  3032. <out:variable name="deliverySummary">
  3033. <!-- save -->
  3034. <out:if test="$saveSummary != ''">
  3035. <out:value-of select="$saveSummary"/>
  3036. </out:if>
  3037. <!-- save to file system -->
  3038. <out:if test="/root/jobOptions/UIHelpers/saveToFileSystemSummary != ''">
  3039. <xsl:value-of select="', '"/>
  3040. <out:value-of select="/root/jobOptions/UIHelpers/saveToFileSystemSummary"/>
  3041. </out:if>
  3042. <!-- print -->
  3043. <out:if test="$printSummary != ''">
  3044. <xsl:value-of select="', '"/>
  3045. <out:value-of select="$printSummary"/>
  3046. </out:if>
  3047. <!-- email -->
  3048. <out:if test="$emailSummary != ''">
  3049. <xsl:value-of select="', '"/>
  3050. <out:value-of select="$emailSummary"/>
  3051. </out:if>
  3052. </out:variable>
  3053. <out:choose>
  3054. <out:when test="starts-with($deliverySummary, ', ')"><out:value-of select="substring-after($deliverySummary, ', ')"/></out:when>
  3055. <out:otherwise><out:value-of select="$deliverySummary"/></out:otherwise>
  3056. </out:choose>
  3057. </out:when>
  3058. <out:otherwise>
  3059. <xts:string id="IDS_OTHERRUN_SAVE_REPORT"/>
  3060. </out:otherwise>
  3061. </out:choose>
  3062. </dp:section2>
  3063. </dp:input>
  3064. <!-- bursting -->
  3065. <out:if test="$showBursting">
  3066. <dp:input>
  3067. <dp:section1>
  3068. <xts:string id="IDS_OTHERRUN_BURST_TITLE"/>
  3069. </dp:section1>
  3070. <dp:section2>
  3071. <xts:string id="IDS_OTHERRUN_BURST_MULTIPLE_REPORTS"/>
  3072. </dp:section2>
  3073. </dp:input>
  3074. </out:if>
  3075. </xsl:if>
  3076. </cf:dynamicDiv>
  3077. <xsl:if test="@genCacheDiv = 'true'">
  3078. <!-- read only default options when in Save Prompt Cache mode-->
  3079. <cf:dynamicDiv name="defaultOptionsCacheMode">
  3080. <xsl:if test="not(@jobStepOption) or @jobStepOption = 'false'">
  3081. <dp:input>
  3082. <dp:section1>
  3083. <xts:string id="IDS_STEP_RUN_RUN_REPORT_TO_TITLE"/>
  3084. </dp:section1>
  3085. <dp:section2>
  3086. <xts:string id="IDS_OTHERRUN_REFRESH_REPORT_CACHE"/>
  3087. </dp:section2>
  3088. </dp:input>
  3089. </xsl:if>
  3090. <dp:input>
  3091. <dp:section1>
  3092. <xts:string id="IDS_OTHERRUN_LANGUAGE"/>
  3093. </dp:section1>
  3094. <dp:section2>
  3095. <out:choose>
  3096. <out:when test="$useJobOptionsForDefault">
  3097. <out:for-each select="set:distinct($jobOptions[./*[local-name()='name']='outputLocale']/*[local-name()='value']/*[local-name()='item'])" xmlns:set="http://exslt.org/sets">
  3098. <out:sort select="."/>
  3099. <out:variable name="locale" select="."/>
  3100. <out:value-of select="/root/config/param[@name='locale']/locale[@type='contentLocale' and id=$locale]/displayName"/>
  3101. <out:if test="position() != last()">
  3102. <out:text>, </out:text>
  3103. </out:if>
  3104. </out:for-each>
  3105. </out:when>
  3106. <out:otherwise>
  3107. <xts:string id="IDS_OTHERRUN_DEFAULT"/>
  3108. </out:otherwise>
  3109. </out:choose>
  3110. </dp:section2>
  3111. </dp:input>
  3112. </cf:dynamicDiv>
  3113. </xsl:if>
  3114. </xsl:template>
  3115. <!--
  3116. dynamic div to show the default report options section.
  3117. -->
  3118. <xsl:template match="ut:defaultContentTaskOptionsDiv">
  3119. <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')]"/>
  3120. <!-- read only default options -->
  3121. <cf:dynamicDiv name="defaultContentTaskOptionsDiv">
  3122. <dp:input>
  3123. <dp:section1>
  3124. <xts:string id="IDS_CONTENT_ADMIN_OPTION"/>
  3125. </dp:section1>
  3126. <dp:section2>
  3127. <out:choose>
  3128. <out:when test="$useJobOptionsForDefault">
  3129. <out:choose>
  3130. <out:when test="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and ./*[local-name()='name']='checkSecurityReferences']/*[local-name()='value'] = 'true'">
  3131. <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
  3132. </out:when>
  3133. <out:otherwise>
  3134. <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIX"/>
  3135. </out:otherwise>
  3136. </out:choose>
  3137. </out:when>
  3138. <out:otherwise>
  3139. <xts:string id="IDS_CONTENT_ADMIN_OPTIONS_FIND"/>
  3140. </out:otherwise>
  3141. </out:choose>
  3142. </dp:section2>
  3143. </dp:input>
  3144. </cf:dynamicDiv>
  3145. </xsl:template>
  3146. <!--
  3147. dynamic div to show the default index options section.
  3148. -->
  3149. <xsl:template match="ut:defaultIndexUpdateTaskOptionsDiv">
  3150. <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')]"/>
  3151. <!-- read only default options -->
  3152. <cf:dynamicDiv name="defaultIndexUpdateTaskOptionsDiv">
  3153. <dp:input>
  3154. <dp:section1>
  3155. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_TITLE"/>
  3156. </dp:section1>
  3157. <dp:section2>
  3158. <out:choose>
  3159. <out:when test="$useJobOptionsForDefault">
  3160. <out:choose>
  3161. <out:when test="/root/jobOptions/*[local-name()='options']/*[local-name()='value']/*[local-name()='item' and ./*[local-name()='name']='force']/*[local-name()='value'] = 'true'">
  3162. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_ALL_ENTRIES"/>
  3163. </out:when>
  3164. <out:otherwise>
  3165. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
  3166. </out:otherwise>
  3167. </out:choose>
  3168. </out:when>
  3169. <out:otherwise>
  3170. <xts:string id="IDS_INDEX_UPDATE_FORCE_OPTION_CHANGED_ENTRIES"/>
  3171. </out:otherwise>
  3172. </out:choose>
  3173. </dp:section2>
  3174. </dp:input>
  3175. </cf:dynamicDiv>
  3176. </xsl:template>
  3177. <!--
  3178. dynamic div to show the default report options section.
  3179. -->
  3180. <xsl:template match="ut:defaultDeploymentOptionsDiv">
  3181. <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')]"/>
  3182. <!-- read only default options -->
  3183. <cf:dynamicDiv name="defaultDeploymentOptionsDiv">
  3184. <dp:input>
  3185. <dp:section1>
  3186. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_TITLE_CONFIRM"/>
  3187. </dp:section1>
  3188. <dp:section2>
  3189. <out:choose>
  3190. <out:when test="$useJobOptionsForDefault">
  3191. <out:choose>
  3192. <out:when test="key('env-param','deploymentro_upgrade')='upgrade'">
  3193. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
  3194. </out:when>
  3195. <out:otherwise>
  3196. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
  3197. </out:otherwise>
  3198. </out:choose>
  3199. </out:when>
  3200. <out:when test="/root/*[local-name()='archiveOptions']/*[local-name()='getDeploymentOptionsResponse']/*[local-name()='deploymentOptions']/child::node()[@name='upgradeClasses']!=''">
  3201. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_UPGRADE"/>
  3202. </out:when>
  3203. <out:otherwise>
  3204. <xts:string id="IDS_DEPLOYMENT_SELECT_UPGRADE_RADIO_KEEP"/>
  3205. </out:otherwise>
  3206. </out:choose>
  3207. </dp:section2>
  3208. </dp:input>
  3209. <dp:input>
  3210. <dp:section1>
  3211. <xts:string id="IDS_DEPLOYMENT_OPTIONS_PRESERVE_STOREIDS_RADIO_SET_TITLE"/>
  3212. </dp:section1>
  3213. <dp:section2>
  3214. <out:choose>
  3215. <out:when test="$useJobOptionsForDefault">
  3216. <out:choose>
  3217. <out:when test="key('env-param','deploymentro_preserveStoreIDs')='true'">
  3218. <xts:string id="IDS_DEPLOYMENT_OPTIONS_INCLUDE_PRESERVE_STOREIDS"/>
  3219. </out:when>
  3220. <out:otherwise>
  3221. <xts:string id="IDS_DEPLOYMENT_OPTIONS_DO_NOT_INCLUDE_PRESERVE_STOREIDS"/>
  3222. </out:otherwise>
  3223. </out:choose>
  3224. </out:when>
  3225. <out:when test="/root/*[local-name()='archiveOptions']/*[local-name()='getDeploymentOptionsResponse']/*[local-name()='deploymentOptions']/child::node()[@name='preserveStoreIDs']='true'">
  3226. <xts:string id="IDS_DEPLOYMENT_OPTIONS_INCLUDE_PRESERVE_STOREIDS"/>
  3227. </out:when>
  3228. <out:otherwise>
  3229. <xts:string id="IDS_DEPLOYMENT_OPTIONS_DO_NOT_INCLUDE_PRESERVE_STOREIDS"/>
  3230. </out:otherwise>
  3231. </out:choose>
  3232. </dp:section2>
  3233. </dp:input>
  3234. </cf:dynamicDiv>
  3235. </xsl:template>
  3236. <!--
  3237. dynamic div to show the default report options section.
  3238. -->
  3239. <xsl:template match="ut:parametersDiv">
  3240. <script language="javascript">
  3241. <!-- variables used to save current settings when user toggles off "Override the default values" and then back on -->
  3242. var save_parameters='';
  3243. var save_description='';
  3244. var save_html='';
  3245. function togglePromptDivs()
  3246. {
  3247. toggledynamicDiv('overrideParametersDiv');toggledynamicDiv('defaultParmetersDiv');
  3248. var frm = document.pform;
  3249. <!-- "Override the default values" checkbox toggled on -->
  3250. if (frm.override_default_parameters.checked)
  3251. {
  3252. <!-- set parameters environment variable to saved values or default values-->
  3253. if (frm.m_rp_parameters)
  3254. {
  3255. if (save_parameters != '')
  3256. {
  3257. frm.m_rp_parameters.value = save_parameters;
  3258. }
  3259. else
  3260. {
  3261. if (frm.defaultParameters)
  3262. {
  3263. frm.m_rp_parameters.value = frm.defaultParameters.value;
  3264. }
  3265. }
  3266. }
  3267. <!-- set parameters description environment variable to saved values or default values-->
  3268. if (frm.parameterDescription)
  3269. {
  3270. if (save_description != '')
  3271. {
  3272. frm.parameterDescription.value = save_description;
  3273. }
  3274. else
  3275. {
  3276. if (frm.defaultParameters)
  3277. {
  3278. frm.parameterDescription.value = frm.defaultParameterDescription.value;
  3279. }
  3280. }
  3281. }
  3282. if (frm.parameterDescriptionToLong &amp;&amp; frm.defaultParameterDescriptionToLong)
  3283. {
  3284. frm.parameterDescriptionToLong.value = frm.defaultParameterDescriptionToLong.value;
  3285. }
  3286. <!-- restore the html to the value before the "Override the default values" was toggled on and off-->
  3287. if (frm.defaultParameters &amp;&amp; frm.defaultParameters.value != '')
  3288. {
  3289. if (save_html != '')
  3290. {
  3291. document.getElementById('overrideParametersDescription').innerHTML = save_html;
  3292. }
  3293. else
  3294. {
  3295. document.getElementById('overrideParametersDescription').innerHTML = document.getElementById('defaultParametersDescription').innerHTML;
  3296. }
  3297. }
  3298. }
  3299. else
  3300. {
  3301. <!-- blank out the saved parameters if the user unchecks the "Override defulat values" checkbox -->
  3302. if (frm.m_rp_parameters)
  3303. {
  3304. <!-- save parameter values in temporary variables to deal with user toggling the "Override the default values"checkbox off and back on-->
  3305. save_parameters = frm.m_rp_parameters.value;
  3306. save_description = frm.parameterDescription.value;
  3307. save_html = document.getElementById('overrideParametersDescription').innerHTML
  3308. frm.m_rp_parameters.value = '';
  3309. }
  3310. }
  3311. }
  3312. </script>
  3313. <cf:dynamicDiv name="defaultParmetersDiv">
  3314. <out:variable name="hide_paramDescription" select="starts-with(key('env-param','step_class'),'powerPlay8') or starts-with(key('env-param','m_class'),'powerPlay8')"/>
  3315. <div id="defaultParametersDescription">
  3316. <dp:list>
  3317. <dp:section>
  3318. <out:choose>
  3319. <out:when test="key('env-param','defaultParameterDescription')!=''">
  3320. <out:if test="not($hide_paramDescription='true')">
  3321. <dp:text><out:value-of select="key('env-param','defaultParameterDescription')"/></dp:text>
  3322. <dp:link>
  3323. <utml:a utml:op="stack-up">
  3324. <utml:target>
  3325. <out:value-of select="concat($app, '/view_prompts.xts')"/>
  3326. </utml:target>
  3327. <xsl:text/><xts:string id="IDS_OTHERRUN_PROMPT_VIEW"/><xsl:text/>
  3328. </utml:a>
  3329. </dp:link>
  3330. </out:if>
  3331. </out:when>
  3332. <out:otherwise>
  3333. <xts:string id="IDS_OTHERRUN_PROMPT_NOT_SAVED"/>
  3334. </out:otherwise>
  3335. </out:choose>
  3336. </dp:section>
  3337. </dp:list>
  3338. </div>
  3339. </cf:dynamicDiv>
  3340. <utml:input type="hidden" name="cleared_prompts" value=""/>
  3341. <cf:dynamicDiv name="overrideParametersDiv">
  3342. <xsl:call-template name="ut:promptTemplateUI"/>
  3343. </cf:dynamicDiv>
  3344. </xsl:template>
  3345. <!--
  3346. ut:taskSummaryUI
  3347. builds a table displaying a list of tasks or steps
  3348. -->
  3349. <xsl:template match="ut:taskSummaryUI">
  3350. <dp:list>
  3351. <dp:section>
  3352. <dp:label>
  3353. <xsl:choose>
  3354. <xsl:when test="@label"><xsl:value-of select="@label"/></xsl:when>
  3355. <xsl:otherwise>
  3356. <out:choose>
  3357. <out:when test="string({@objectClass})='jobDefinition'"><xts:string id="IDS_PROP_JOB_STEPS_LABEL"/></out:when>
  3358. <out:otherwise><xts:string id="IDS_PROP_AGENT_TASKS"/></out:otherwise>
  3359. </out:choose>
  3360. </xsl:otherwise>
  3361. </xsl:choose>
  3362. </dp:label>
  3363. <dp:text width="100%"/>
  3364. </dp:section>
  3365. </dp:list>
  3366. <cf:main-pager-section form="pform" name="tasks" virtualPage="true" width="100%">
  3367. <cf:param name="item-path"><xsl:value-of select="@iterate"/></cf:param>
  3368. <cf:param name="target">/root/env/param[@name='m']</cf:param>
  3369. <cf:param name="lines-per-page"><out:value-of select="key('session-param', 'linesPerPage')"/></cf:param>
  3370. <cf:param name="rows">
  3371. <cp:tableHeader>
  3372. <cp:columnHeader/>
  3373. <cp:columnHeader width="100%">
  3374. <span style="padding-left: 1px; padding-right: 1px;"><xts:string id="IDS_PATH_INDICATOR"/>&#160;</span>
  3375. <out:text/><xts:string id="IDS_NAME"/><out:text/>
  3376. </cp:columnHeader>
  3377. </cp:tableHeader>
  3378. <cp:tableContent>
  3379. <cp:columnContent>
  3380. <out:call-template name="gen-icon">
  3381. <out:with-param name="class" select="{@itemObject}/*/cm:objectClass"/>
  3382. <out:with-param name="baseClass" select="string({@itemObject}/*/cm:base/*/cm:objectClass)"/>
  3383. <out:with-param name="iconURIOverride" select="{@itemObject}/*/cm:iconURI"/>
  3384. <out:with-param name="showAction" select="false()"/>
  3385. <out:with-param name="isDangling" select="{@itemObject}/*/cm:base/@nil='true'"/>
  3386. <out:with-param name="hiddenObject" select="{@itemObject}/*/cm:hidden"/>
  3387. </out:call-template>
  3388. </cp:columnContent>
  3389. <cp:columnContent>
  3390. <out:if test="{@itemObject}/*/cm:defaultName and not(contains(' storedProcedureTask webServiceTask memo shortcutRSSTask urlRSSTask ', concat(' ',{@itemObject}/*/cm:objectClass,' ')))">
  3391. <img align="absmiddle" height="16" width="20" src="{'{$skin_images}'}path.gif">
  3392. <out:attribute name="alt">
  3393. <cf:do-the-path-link>
  3394. <cf:param name="familytree"><xsl:value-of select="@itemObject"/>/*/cm:ancestors</cf:param>
  3395. <cf:param name="familymember"><xsl:value-of select="@itemObject"/>/*/cm:defaultName</cf:param>
  3396. <cf:param name="onlyAncestors">true</cf:param>
  3397. </cf:do-the-path-link>
  3398. </out:attribute>
  3399. </img>
  3400. <out:text>&#160;</out:text>
  3401. </out:if>
  3402. <out:choose>
  3403. <out:when test="{@itemObject}/*/cm:defaultName">
  3404. <out:value-of select="xtsext:enforceBTD({@itemObject}/*/cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
  3405. </out:when>
  3406. <out:when test="{@itemObject}/@nil = 'true'">
  3407. <xts:string id="IDS_MISSING_STEP"/>
  3408. </out:when>
  3409. <out:otherwise>
  3410. <xts:string id="IDS_PROP_ENTRY_NOT_FOUND"/>
  3411. </out:otherwise>
  3412. </out:choose>
  3413. </cp:columnContent>
  3414. </cp:tableContent>
  3415. </cf:param>
  3416. </cf:main-pager-section>
  3417. </xsl:template>
  3418. <xsl:template match="ut:metricsOtherOptionsSummaryUI">
  3419. <out:variable name="loadFromStagingTables" select="key('options-item','loadFromStagingTables')/*[local-name()='value'] = 'true'"/>
  3420. <out:variable name="recalculateMetrics" select="key('options-item','recalculateMetrics')/*[local-name()='value'] = 'true'"/>
  3421. <br/>
  3422. <xsl:choose>
  3423. <xsl:when test="@class='metricsExportTask'">
  3424. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3425. <tr>
  3426. <td nowrap="nowrap">&#160;</td>
  3427. <td nowrap="nowrap" class="formLabel">
  3428. <xts:string id="IDS_PROP_METRICS_EXPORT_OPTIONS"/>
  3429. </td>
  3430. </tr>
  3431. </table>
  3432. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3433. <tr>
  3434. <td nowrap="nowrap">&#160;</td>
  3435. <td nowrap="nowrap">&#160;</td>
  3436. <td nowrap="nowrap" class="formText" colspan="3">
  3437. <xts:string id="IDS_PROP_METRICS_EXPORT"/>
  3438. </td>
  3439. </tr>
  3440. </table>
  3441. </xsl:when>
  3442. <xsl:otherwise>
  3443. <out:if test="$recalculateMetrics or $loadFromStagingTables">
  3444. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3445. <tr>
  3446. <td nowrap="nowrap">&#160;</td>
  3447. <td nowrap="nowrap" class="formLabel">
  3448. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_DATA_OPTIONS"/>
  3449. </td>
  3450. </tr>
  3451. </table>
  3452. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3453. <out:if test="$loadFromStagingTables">
  3454. <tr>
  3455. <td nowrap="nowrap">&#160;</td>
  3456. <td nowrap="nowrap">&#160;</td>
  3457. <td nowrap="nowrap" class="formText">
  3458. <xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/>
  3459. </td>
  3460. </tr>
  3461. </out:if>
  3462. <out:if test="$recalculateMetrics">
  3463. <tr>
  3464. <td nowrap="nowrap">&#160;</td>
  3465. <td nowrap="nowrap">&#160;</td>
  3466. <td nowrap="nowrap" class="formText">
  3467. <xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/>
  3468. </td>
  3469. </tr>
  3470. </out:if>
  3471. </table>
  3472. <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
  3473. </out:if>
  3474. <out:variable name="clearHistory" select="key('options-item','clearHistory')/*[local-name()='value'] = 'true'"/>
  3475. <out:variable name="clearCalendar" select="key('options-item','clearCalendar')/*[local-name()='value'] = 'true'"/>
  3476. <out:variable name="clearRejects" select="key('options-item','clearRejects')/*[local-name()='value'] = 'true'"/>
  3477. <out:if test="$clearHistory or $clearCalendar or $clearRejects">
  3478. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3479. <tr>
  3480. <td nowrap="nowrap">&#160;</td>
  3481. <td nowrap="nowrap" class="formLabel">
  3482. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_CLEAR_OPTIONS"/>
  3483. </td>
  3484. </tr>
  3485. </table>
  3486. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3487. <out:if test="$clearHistory">
  3488. <tr>
  3489. <td nowrap="nowrap">&#160;</td>
  3490. <td nowrap="nowrap">&#160;</td>
  3491. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3492. <xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/>
  3493. </td>
  3494. </tr>
  3495. <out:if test="$clearCalendar">
  3496. <tr>
  3497. <td nowrap="nowrap">&#160;</td>
  3498. <td nowrap="nowrap">&#160;</td>
  3499. <td nowrap="nowrap">&#160;</td>
  3500. <td nowrap="nowrap" class="formText" width="100%">
  3501. <xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/>
  3502. </td>
  3503. </tr>
  3504. </out:if>
  3505. </out:if>
  3506. <out:if test="$clearRejects">
  3507. <tr>
  3508. <td nowrap="nowrap">&#160;</td>
  3509. <td nowrap="nowrap">&#160;</td>
  3510. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3511. <xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/>
  3512. </td>
  3513. </tr>
  3514. </out:if>
  3515. </table>
  3516. <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
  3517. </out:if>
  3518. <out:variable name="processWatchListQueue" select="key('options-item','processWatchListQueue')/*[local-name()='value'] = 'true'"/>
  3519. <out:variable name="synchronizeUserInformation" select="key('options-item','synchronizeUserInformation')/*[local-name()='value'] = 'true'"/>
  3520. <out:variable name="updateIndexes" select="key('options-item','updateIndexes')/*[local-name()='value'] = 'true'"/>
  3521. <out:variable name="rebuildIndexes" select="key('options-item','rebuildIndexes')/*[local-name()='value'] = 'true'"/>
  3522. <out:if test="$processWatchListQueue or $synchronizeUserInformation or $updateIndexes or $rebuildIndexes">
  3523. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3524. <tr>
  3525. <td nowrap="nowrap">&#160;</td>
  3526. <td nowrap="nowrap" class="formLabel">
  3527. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_OTHER_OPTIONS"/>
  3528. </td>
  3529. </tr>
  3530. </table>
  3531. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3532. <out:if test="$processWatchListQueue">
  3533. <tr>
  3534. <td nowrap="nowrap" class="formText">
  3535. <td nowrap="nowrap">&#160;</td>
  3536. </td>
  3537. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3538. <xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/>
  3539. </td>
  3540. </tr>
  3541. </out:if>
  3542. <out:if test="$synchronizeUserInformation">
  3543. <tr>
  3544. <td nowrap="nowrap" class="formText">
  3545. <td nowrap="nowrap">&#160;</td>
  3546. </td>
  3547. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3548. <xts:string id="IDS_PROP_METRICS_SYNCHRONIZE_USER_INFO"/>
  3549. </td>
  3550. </tr>
  3551. </out:if>
  3552. <out:choose>
  3553. <out:when test="$updateIndexes">
  3554. <tr>
  3555. <td nowrap="nowrap">&#160;</td>
  3556. <td nowrap="nowrap" class="formText">
  3557. <td nowrap="nowrap">&#160;</td>
  3558. </td>
  3559. <td nowrap="nowrap" class="formText" width="100%">
  3560. <xts:string id="IDS_PROP_METRICS_MAINTAIN_SUMMARY_INDEXES_UPDATE"/>
  3561. </td>
  3562. </tr>
  3563. </out:when>
  3564. <out:when test="$rebuildIndexes">
  3565. <tr>
  3566. <td nowrap="nowrap">&#160;</td>
  3567. <td nowrap="nowrap" class="formText">
  3568. <td nowrap="nowrap">&#160;</td>
  3569. </td>
  3570. <td nowrap="nowrap" class="formText" width="100%">
  3571. <xts:string id="IDS_PROP_METRICS_MAINTAIN_SUMMARY_INDEXES_REBUILD"/>
  3572. </td>
  3573. </tr>
  3574. </out:when>
  3575. </out:choose>
  3576. </table>
  3577. </out:if>
  3578. </xsl:otherwise>
  3579. </xsl:choose>
  3580. </xsl:template>
  3581. <xsl:template match="ut:metricsImportOptionsSummaryUI">
  3582. <out:variable name="loadFromStagingTables" select="key('options-item','loadFromStagingTables')/*[local-name()='value'] = 'true'"/>
  3583. <br/>
  3584. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3585. <tr>
  3586. <td nowrap="nowrap">&#160;</td>
  3587. <td nowrap="nowrap" class="formLabel">
  3588. <xts:string id="IDS_PROP_METRICS_IMPORT_OPTIONS"/>
  3589. </td>
  3590. </tr>
  3591. </table>
  3592. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3593. <tr>
  3594. <td nowrap="nowrap">&#160;</td>
  3595. <td nowrap="nowrap">&#160;</td>
  3596. <td nowrap="nowrap" class="formText" colspan="3">
  3597. <xsl:choose>
  3598. <xsl:when test="@class = 'metricsFileImportTask'">
  3599. <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_FILES"/>
  3600. </xsl:when>
  3601. <xsl:otherwise>
  3602. <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_DATA_SOURCE"/>
  3603. </xsl:otherwise>
  3604. </xsl:choose>
  3605. </td>
  3606. </tr>
  3607. <out:if test="$loadFromStagingTables">
  3608. <tr>
  3609. <td nowrap="nowrap">&#160;</td>
  3610. <td nowrap="nowrap">&#160;</td>
  3611. <td nowrap="nowrap" class="formText" colspan="3">
  3612. <xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/>
  3613. </td>
  3614. </tr>
  3615. </out:if>
  3616. </table>
  3617. <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
  3618. <out:if test="$loadFromStagingTables">
  3619. <out:variable name="clearHistory" select="key('options-item','clearHistory')/*[local-name()='value'] = 'true'"/>
  3620. <out:variable name="clearCalendar" select="key('options-item','clearCalendar')/*[local-name()='value'] = 'true'"/>
  3621. <out:variable name="clearRejects" select="key('options-item','clearRejects')/*[local-name()='value'] = 'true'"/>
  3622. <out:if test="$clearHistory or $clearCalendar or $clearRejects">
  3623. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3624. <tr>
  3625. <td nowrap="nowrap">&#160;</td>
  3626. <td nowrap="nowrap" class="formLabel" colspan="3">
  3627. <xts:string id="IDS_PROP_METRICS_PRE_IMPORT_OPTIONS"/>
  3628. </td>
  3629. </tr>
  3630. </table>
  3631. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3632. <out:if test="$clearHistory">
  3633. <tr>
  3634. <td nowrap="nowrap">&#160;</td>
  3635. <td nowrap="nowrap">&#160;</td>
  3636. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3637. <xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/>
  3638. </td>
  3639. </tr>
  3640. <out:if test="$clearCalendar">
  3641. <tr>
  3642. <td nowrap="nowrap">&#160;</td>
  3643. <td nowrap="nowrap">&#160;</td>
  3644. <td nowrap="nowrap">&#160;</td>
  3645. <td nowrap="nowrap" class="formText" width="100%">
  3646. <xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/>
  3647. </td>
  3648. </tr>
  3649. </out:if>
  3650. </out:if>
  3651. <out:if test="$clearRejects">
  3652. <tr>
  3653. <td nowrap="nowrap">&#160;</td>
  3654. <td nowrap="nowrap">&#160;</td>
  3655. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3656. <xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/>
  3657. </td>
  3658. </tr>
  3659. </out:if>
  3660. </table>
  3661. <img height="8" width="1" border="0"><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
  3662. </out:if>
  3663. <out:variable name="recalculateMetrics" select="key('options-item','recalculateMetrics')/*[local-name()='value'] = 'true'"/>
  3664. <out:variable name="processWatchListQueue" select="key('options-item','processWatchListQueue')/*[local-name()='value'] = 'true'"/>
  3665. <out:variable name="updateIndexes" select="key('options-item','updateIndexes')/*[local-name()='value'] = 'true'"/>
  3666. <out:if test="$recalculateMetrics or $processWatchListQueue or $updateIndexes">
  3667. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3668. <tr>
  3669. <td nowrap="nowrap">&#160;</td>
  3670. <td nowrap="nowrap" class="formLabel" colspan="3">
  3671. <xts:string id="IDS_PROP_METRICS_POST_IMPORT_OPTIONS"/>
  3672. </td>
  3673. </tr>
  3674. </table>
  3675. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3676. <out:if test="$recalculateMetrics">
  3677. <tr>
  3678. <td nowrap="nowrap">&#160;</td>
  3679. <td nowrap="nowrap">&#160;</td>
  3680. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3681. <xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/>
  3682. </td>
  3683. </tr>
  3684. </out:if>
  3685. <out:if test="$processWatchListQueue">
  3686. <tr>
  3687. <td nowrap="nowrap">&#160;</td>
  3688. <td nowrap="nowrap">&#160;</td>
  3689. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3690. <xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/>
  3691. </td>
  3692. </tr>
  3693. </out:if>
  3694. <out:if test="$updateIndexes">
  3695. <tr>
  3696. <td nowrap="nowrap">&#160;</td>
  3697. <td nowrap="nowrap">&#160;</td>
  3698. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3699. <xts:string id="IDS_PROP_METRICS_UPDATE_INDEXES"/>
  3700. </td>
  3701. </tr>
  3702. </out:if>
  3703. </table>
  3704. </out:if>
  3705. </out:if>
  3706. </xsl:template>
  3707. <!--
  3708. ===============================================================================================
  3709. ut:metricsImportOptionsUI
  3710. ===============================================================================================
  3711. -->
  3712. <xsl:template match="ut:metricsImportOptionsUI">
  3713. <script language="javascript">
  3714. function updateImportOptions()
  3715. {
  3716. var frm = document.pform;
  3717. if (frm.m_mo_loadFromStagingTables.checked)
  3718. {
  3719. frm.m_mo_clearHistory.disabled=false;
  3720. frm.m_mo_clearCalendar.disabled=!frm.m_mo_clearHistory.checked;
  3721. frm.m_mo_clearRejects.disabled=false;
  3722. frm.m_mo_recalculateMetrics.disabled=false;
  3723. frm.m_mo_processWatchListQueue.disabled=false;
  3724. frm.m_mo_updateIndexes.disabled=false;
  3725. }
  3726. else
  3727. {
  3728. frm.m_mo_clearHistory.disabled=true;
  3729. frm.m_mo_clearCalendar.disabled=true;
  3730. frm.m_mo_clearRejects.disabled=true;
  3731. frm.m_mo_recalculateMetrics.disabled=true;
  3732. frm.m_mo_processWatchListQueue.disabled=true;
  3733. frm.m_mo_updateIndexes.disabled=true;
  3734. }
  3735. }
  3736. function updateClearOptions()
  3737. {
  3738. document.pform.m_mo_clearCalendar.disabled=!document.pform.m_mo_clearHistory.checked;
  3739. }
  3740. </script>
  3741. <out:variable name="clearHistory" select="key('env-param', 'm_mo_clearHistory')='true'"/>
  3742. <out:variable name="loadTables" select="key('env-param', 'm_mo_loadFromStagingTables')='true'"/>
  3743. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3744. <tr>
  3745. <td nowrap="nowrap" class="formLabel">
  3746. <xts:string id="IDS_PROP_METRICS_IMPORT_OPTIONS"/>
  3747. </td>
  3748. </tr>
  3749. </table>
  3750. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3751. <tr>
  3752. <td nowrap="nowrap" align="center">
  3753. <img align="absmiddle" border="0" role="checkbox" aria-checked="true" aria-disabled="true" id="ctrl_metrics_import_from" alt="">
  3754. <out:attribute name="src"><out:value-of select="$image_root"/>checkmark.gif</out:attribute>
  3755. </img>
  3756. </td>
  3757. <td nowrap="nowrap" class="formText" colspan="3">
  3758. <label for="ctrl_metrics_import_from">
  3759. <out:choose>
  3760. <out:when test="$the-class = 'metricsFileImportTask'">
  3761. <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_FILES"/>
  3762. </out:when>
  3763. <out:otherwise>
  3764. <xts:string id="IDS_PROP_METRICS_IMPORT_FROM_DATA_SOURCE"/>
  3765. </out:otherwise>
  3766. </out:choose>
  3767. </label>
  3768. </td>
  3769. </tr>
  3770. <tr>
  3771. <td nowrap="nowrap" class="formText">
  3772. <utml:input type="checkbox" name="m_mo_loadFromStagingTables" value="true" utml:track="true" onclick="updateImportOptions()" id="ctrl_m_mo_loadFromStagingTables"/>
  3773. </td>
  3774. <td nowrap="nowrap" class="formText" colspan="3">
  3775. <label for="ctrl_m_mo_loadFromStagingTables"><xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/></label>
  3776. </td>
  3777. </tr>
  3778. <tr>
  3779. <td nowrap="nowrap">&#160;</td>
  3780. <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">
  3781. <span id="lbl_preImportOptionsGroup"><xts:string id="IDS_PROP_METRICS_PRE_IMPORT_OPTIONS"/></span>
  3782. </td>
  3783. </tr>
  3784. <tr>
  3785. <td nowrap="nowrap">&#160;</td>
  3786. <td nowrap="nowrap" class="formText">
  3787. <utml:input type="checkbox" name="m_mo_clearHistory" value="true" utml:track="true" onclick="updateClearOptions()" id="ctrl_m_mo_clearHistory">
  3788. <out:if test="not($loadTables)">
  3789. <out:attribute name="disabled">true</out:attribute>
  3790. </out:if>
  3791. </utml:input>
  3792. </td>
  3793. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3794. <label for="ctrl_m_mo_clearHistory"><xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/></label>
  3795. </td>
  3796. </tr>
  3797. <tr>
  3798. <td nowrap="nowrap">&#160;</td>
  3799. <td nowrap="nowrap">&#160;</td>
  3800. <td nowrap="nowrap" class="formText">
  3801. <utml:input type="checkbox" name="m_mo_clearCalendar" value="true" utml:track="true" id="ctrl_m_mo_clearCalendar">
  3802. <out:if test="not($loadTables and $clearHistory)">
  3803. <out:attribute name="disabled">true</out:attribute>
  3804. </out:if>
  3805. </utml:input>
  3806. </td>
  3807. <td nowrap="nowrap" class="formText" width="100%">
  3808. <label for="ctrl_m_mo_clearCalendar"><xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/></label>
  3809. </td>
  3810. </tr>
  3811. <tr>
  3812. <td nowrap="nowrap">&#160;</td>
  3813. <td nowrap="nowrap" class="formText">
  3814. <utml:input type="checkbox" name="m_mo_clearRejects" value="true" utml:track="true" id="ctrl_m_mo_clearRejects">
  3815. <out:if test="not($loadTables)">
  3816. <out:attribute name="disabled">true</out:attribute>
  3817. </out:if>
  3818. </utml:input>
  3819. </td>
  3820. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3821. <label for="ctrl_m_mo_clearRejects"><xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/></label>
  3822. </td>
  3823. </tr>
  3824. <tr>
  3825. <td nowrap="nowrap">&#160;</td>
  3826. <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">
  3827. <span id="lbl_postImportOptionsGroup"><xts:string id="IDS_PROP_METRICS_POST_IMPORT_OPTIONS"/></span>
  3828. </td>
  3829. </tr>
  3830. <tr>
  3831. <td nowrap="nowrap">&#160;</td>
  3832. <td nowrap="nowrap" class="formText">
  3833. <utml:input type="checkbox" name="m_mo_recalculateMetrics" value="true" utml:track="true" id="ctrl_m_mo_recalculateMetrics">
  3834. <out:if test="not($loadTables)">
  3835. <out:attribute name="disabled">true</out:attribute>
  3836. </out:if>
  3837. </utml:input>
  3838. </td>
  3839. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3840. <label for="ctrl_m_mo_recalculateMetrics"><xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/></label>
  3841. </td>
  3842. </tr>
  3843. <tr>
  3844. <td nowrap="nowrap">&#160;</td>
  3845. <td nowrap="nowrap" class="formText">
  3846. <utml:input type="checkbox" name="m_mo_processWatchListQueue" value="true" utml:track="true" id="ctrl_m_mo_processWatchListQueue">
  3847. <out:if test="not($loadTables)">
  3848. <out:attribute name="disabled">true</out:attribute>
  3849. </out:if>
  3850. </utml:input>
  3851. </td>
  3852. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3853. <label for="ctrl_m_mo_processWatchListQueue"><xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/></label>
  3854. </td>
  3855. </tr>
  3856. <tr>
  3857. <td nowrap="nowrap">&#160;</td>
  3858. <td nowrap="nowrap" class="formText">
  3859. <utml:input type="checkbox" name="m_mo_updateIndexes" value="true" utml:track="true" id="ctrl_m_mo_updateIndexes">
  3860. <out:if test="not($loadTables)">
  3861. <out:attribute name="disabled">true</out:attribute>
  3862. </out:if>
  3863. </utml:input>
  3864. </td>
  3865. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3866. <label for="ctrl_m_mo_updateIndexes"><xts:string id="IDS_PROP_METRICS_UPDATE_INDEXES"/></label>
  3867. </td>
  3868. </tr>
  3869. </table>
  3870. </xsl:template>
  3871. <!--
  3872. ===============================================================================================
  3873. ut:metricsMaintenanceDataOptionsUI
  3874. ===============================================================================================
  3875. -->
  3876. <xsl:template match="ut:metricsMaintenanceDataOptionsUI">
  3877. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3878. <tr>
  3879. <td nowrap="nowrap" class="formLabel">
  3880. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_DATA_OPTIONS"/>
  3881. </td>
  3882. </tr>
  3883. </table>
  3884. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3885. <tr>
  3886. <td nowrap="nowrap" class="formText">
  3887. <utml:input type="checkbox" name="m_mo_loadFromStagingTables" value="true" utml:track="true" id="ctrl_m_mo_loadFromStagingTables"/>
  3888. </td>
  3889. <td nowrap="nowrap" class="formText">
  3890. <label for="ctrl_m_mo_loadFromStagingTables"><xts:string id="IDS_PROP_METRICS_LOAD_FROM_STAGING_AREA"/></label>
  3891. </td>
  3892. </tr>
  3893. <tr>
  3894. <td nowrap="nowrap" class="formText">
  3895. <utml:input type="checkbox" name="m_mo_recalculateMetrics" value="true" utml:track="true" id="ctrl_m_mo_recalculateMetrics"/>
  3896. </td>
  3897. <td nowrap="nowrap" class="formText">
  3898. <label for="ctrl_m_mo_recalculateMetrics"><xts:string id="IDS_PROP_METRICS_RECALCULATE_METRICS"/></label>
  3899. </td>
  3900. </tr>
  3901. </table>
  3902. </xsl:template>
  3903. <!--
  3904. ===============================================================================================
  3905. ut:metricsMaintenanceClearOptionsUI
  3906. ===============================================================================================
  3907. -->
  3908. <xsl:template match="ut:metricsMaintenanceClearOptionsUI">
  3909. <script language="javascript">
  3910. function updateClearOptions()
  3911. {
  3912. document.pform.m_mo_clearCalendar.disabled=!document.pform.m_mo_clearHistory.checked;
  3913. }
  3914. </script>
  3915. <out:variable name="clearHistory" select="key('env-param', 'm_mo_clearHistory')='true'"/>
  3916. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3917. <tr>
  3918. <td nowrap="nowrap" class="formLabel">
  3919. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_CLEAR_OPTIONS"/>
  3920. </td>
  3921. </tr>
  3922. </table>
  3923. <table role="presentation">
  3924. <tr>
  3925. <td nowrap="nowrap" class="formText">
  3926. <utml:input type="checkbox" name="m_mo_clearHistory" value="true" utml:track="true" onclick="updateClearOptions();" id="ctrl_m_mo_clearHistory"/>
  3927. </td>
  3928. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3929. <label for="ctrl_m_mo_clearHistory"><xts:string id="IDS_PROP_METRICS_CLEAR_HISTORY"/></label>
  3930. </td>
  3931. </tr>
  3932. <tr>
  3933. <td nowrap="nowrap">&#160;</td>
  3934. <td nowrap="nowrap" class="formText">
  3935. <utml:input type="checkbox" name="m_mo_clearCalendar" value="true" utml:track="true" id="ctrl_m_mo_clearCalendar">
  3936. <out:if test="not($clearHistory)">
  3937. <out:attribute name="disabled">true</out:attribute>
  3938. </out:if>
  3939. </utml:input>
  3940. </td>
  3941. <td nowrap="nowrap" class="formText" width="100%">
  3942. <label for="ctrl_m_mo_clearCalendar"><xts:string id="IDS_PROP_METRICS_CLEAR_CALENDAR"/></label>
  3943. </td>
  3944. </tr>
  3945. <tr>
  3946. <td nowrap="nowrap" class="formText">
  3947. <utml:input type="checkbox" name="m_mo_clearRejects" value="true" utml:track="true" id="ctrl_m_mo_clearRejects"/>
  3948. </td>
  3949. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3950. <label for="ctrl_m_mo_clearRejects"><xts:string id="IDS_PROP_METRICS_CLEAR_REJECTS"/></label>
  3951. </td>
  3952. </tr>
  3953. <tr>
  3954. <td nowrap="nowrap" class="formText">
  3955. <utml:input type="checkbox" name="m_mo_clearAuditLogs" value="true" utml:track="true" id="ctrl_m_mo_clearAuditLogs"/>
  3956. </td>
  3957. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  3958. <label for="ctrl_m_mo_clearAuditLogs"><xts:string id="IDS_PROP_METRICS_CLEAR_AUDIT_LOGS"/></label>
  3959. </td>
  3960. </tr>
  3961. </table>
  3962. </xsl:template>
  3963. <!--
  3964. ===============================================================================================
  3965. ut:metricsMaintenanceOtherOptionsUI
  3966. ===============================================================================================
  3967. -->
  3968. <xsl:template match="ut:metricsMaintenanceOtherOptionsUI">
  3969. <out:variable name="maintainIndexes" select="key('env-param', 'm_mo_updateIndexes')='true' or key('env-param', 'm_mo_rebuildIndexes')='true'"/>
  3970. <script language="javascript">
  3971. function updateIndexOptions()
  3972. {
  3973. var frm = document.pform;
  3974. if (frm.maintainIndexes &amp;&amp;frm.maintainIndexes.checked)
  3975. {
  3976. frm.maintainIndexes_value[0].disabled=false;
  3977. frm.maintainIndexes_value[1].disabled=false;
  3978. if (frm.maintainIndexes_value[0].checked)
  3979. {
  3980. frm.m_mo_updateIndexes.value = 'true';
  3981. frm.m_mo_rebuildIndexes.value = 'false';
  3982. }
  3983. else
  3984. {
  3985. frm.m_mo_updateIndexes.value = 'false';
  3986. frm.m_mo_rebuildIndexes.value = 'true';
  3987. }
  3988. }
  3989. else if (frm.maintainIndexes_value)
  3990. {
  3991. frm.maintainIndexes_value[0].disabled=true;
  3992. frm.maintainIndexes_value[1].disabled=true;
  3993. frm.m_mo_updateIndexes.value = 'false';
  3994. frm.m_mo_rebuildIndexes.value = 'false';
  3995. }
  3996. }
  3997. </script>
  3998. <table cellspacing="0" border="0" cellpadding="1" role="presentation">
  3999. <tr>
  4000. <td nowrap="nowrap" class="formLabel">
  4001. <xts:string id="IDS_PROP_METRICS_MAINTENANCE_OTHER_OPTIONS"/>
  4002. </td>
  4003. </tr>
  4004. </table>
  4005. <table role="presentation">
  4006. <tr>
  4007. <td nowrap="nowrap" class="formText">
  4008. <utml:input type="checkbox" name="m_mo_processWatchListQueue" value="true" utml:track="true" id="m_mo_processWatchListQueue"/>
  4009. </td>
  4010. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  4011. <label for="m_mo_processWatchListQueue"><xts:string id="IDS_PROP_METRICS_PROCESS_WATCH_LIST_QUEUE"/></label>
  4012. </td>
  4013. </tr>
  4014. <tr>
  4015. <td nowrap="nowrap" class="formText">
  4016. <utml:input type="checkbox" name="m_mo_synchronizeUserInformation" value="true" utml:track="true" id="ctrl_m_mo_synchromizeUserInformation"/>
  4017. </td>
  4018. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  4019. <label for="ctrl_m_mo_synchromizeUserInformation"><xts:string id="IDS_PROP_METRICS_SYNCHRONIZE_USER_INFO"/></label>
  4020. </td>
  4021. </tr>
  4022. <tr>
  4023. <td nowrap="nowrap" class="formText">
  4024. <utml:input type="checkbox" name="maintainIndexes" value="true" utml:track="true" utml:default-condition="$maintainIndexes" onClick="updateIndexOptions()" id="ctrl_maintainIndexes"/>
  4025. </td>
  4026. <td nowrap="nowrap" class="formText" colspan="2" width="100%">
  4027. <label for="ctrl_maintainIndexes"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES"/></label>
  4028. </td>
  4029. </tr>
  4030. <utml:radio-group name="maintainIndexes_value" utml:track="true" utml:default-value="update">
  4031. <tr>
  4032. <td nowrap="nowrap">&#160;</td>
  4033. <td nowrap="nowrap" class="formText">
  4034. <utml:input type="radio" value="update" onClick="updateIndexOptions()" id="ctrl_maintainIndexes_update">
  4035. <out:if test="not($maintainIndexes)">
  4036. <out:attribute name="disabled">true</out:attribute>
  4037. </out:if>
  4038. <out:if test="key('env-param', 'm_mo_rebuildIndexes')='false'">
  4039. <out:attribute name="checked"/>
  4040. </out:if>
  4041. </utml:input>
  4042. </td>
  4043. <td nowrap="nowrap" class="formText" width="100%">
  4044. <label for="ctrl_maintainIndexes_update"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES_UPDATE"/></label>
  4045. </td>
  4046. </tr>
  4047. <tr>
  4048. <td nowrap="nowrap">&#160;</td>
  4049. <td nowrap="nowrap" class="formText">
  4050. <utml:input type="radio" value="rebuild" onClick="updateIndexOptions()" id="ctrl_maintainIndexes_rebuild">
  4051. <out:if test="not($maintainIndexes)">
  4052. <out:attribute name="disabled">true</out:attribute>
  4053. </out:if>
  4054. <out:if test="key('env-param', 'm_mo_rebuildIndexes')='true'">
  4055. <out:attribute name="checked"/>
  4056. </out:if>
  4057. </utml:input>
  4058. </td>
  4059. <td nowrap="nowrap" class="formText" width="100%">
  4060. <label for="ctrl_maintainIndexes_rebuild"><xts:string id="IDS_PROP_METRICS_MAINTAIN_INDEXES_REBUILD"/></label>
  4061. </td>
  4062. </tr>
  4063. </utml:radio-group>
  4064. </table>
  4065. <utml:input type="hidden" name="m_mo_updateIndexes" utml:track="true"/>
  4066. <utml:input type="hidden" name="m_mo_rebuildIndexes" utml:track="true"/>
  4067. </xsl:template>
  4068. <!--
  4069. generic template for password fields
  4070. @fieldName - Used for the visible edit field as well as a hidden field built as @fieldName_Encrypted
  4071. @disabled - should the field be disabled by default
  4072. @confirmPasswordTitle - Title for the password confirmation popup dialog
  4073. @confirmPasswordLabel - Label for the confirmation edit field
  4074. -->
  4075. <!-- builds the summary of PDF options and show the correct links to set or edit/clear them -->
  4076. <xsl:template match="ut:pdfOptionSummary" name="ut:pdfOptionSummary">
  4077. <dp:list>
  4078. <out:variable name="pdfOptions">
  4079. <dt:buildPDFOptionSummary/>
  4080. </out:variable>
  4081. <utml:input type="hidden" value="" name="option_op" utml:update="false"/>
  4082. <dp:section>
  4083. <div id="pdf_options_summary">
  4084. <out:choose>
  4085. <out:when test="string($pdfOptions) != ''"><out:value-of select="$pdfOptions"/></out:when>
  4086. <out:otherwise><xts:string id="IDS_OTHERRUN_NO_PDF_OPTIONS"/></out:otherwise>
  4087. </out:choose>
  4088. </div>
  4089. </dp:section>
  4090. <dp:section>
  4091. <out:choose>
  4092. <out:when test="string($pdfOptions) != ''">
  4093. <out:if test="$form-read-only = 'false'">
  4094. <div>
  4095. <utml:a utml:op="stack-up">
  4096. <utml:href>if (document.pform.m_ro_outputFormat_PDF) {document.pform.m_ro_outputFormat_PDF.checked = true;}</utml:href>
  4097. <utml:target>
  4098. <out:value-of select="concat($app, '/specify_PDF_options.xts')"/>
  4099. </utml:target>
  4100. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_EDIT_ARIA"/></out:attribute>
  4101. <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_EDIT"/>
  4102. </utml:a>
  4103. &#160;&#160;&#160;
  4104. <utml:a utml:op="maintain">
  4105. <utml:href>document.pform.option_op.value = 'clear_pdf_options';</utml:href>
  4106. <out:attribute name="aria-label"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_CLEAR_ARIA"/></out:attribute>
  4107. <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_CLEAR"/>
  4108. </utml:a>
  4109. </div>
  4110. </out:if>
  4111. </out:when>
  4112. <out:otherwise>
  4113. <out:if test="$form-read-only = 'false'">
  4114. <out:variable name="setLabel"><xts:string id="IDS_OTHERRUN_PDF_OPTIONS_SET_LINK_LBL"/></out:variable>
  4115. <dp:link>
  4116. <div>
  4117. <utml:a utml:op="stack-up" aria-label="{'{$setLabel}'}">
  4118. <utml:href>if (document.pform.m_ro_outputFormat_PDF) {document.pform.m_ro_outputFormat_PDF.checked = true;}</utml:href>
  4119. <utml:target>
  4120. <out:value-of select="concat($app, '/specify_PDF_options.xts')"/>
  4121. </utml:target>
  4122. <xsl:text/>
  4123. <xts:string id="IDS_OTHERRUN_PDF_OPTIONS_SET"/>
  4124. <xsl:text/>
  4125. </utml:a>
  4126. </div>
  4127. </dp:link>
  4128. </out:if>
  4129. </out:otherwise>
  4130. </out:choose>
  4131. </dp:section>
  4132. </dp:list>
  4133. </xsl:template>
  4134. <!-- used in the report property dialog -->
  4135. <xsl:template match="ut:pdfOptions">
  4136. <!-- pdf options -->
  4137. <out:variable name="mClass" select="key('env-param','m_class')"/>
  4138. <out:variable name="stepClass" select="key('env-param','step_class')"/>
  4139. <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')"/>
  4140. <out:if test="not($pdfOptions_isInteractiveReport)">
  4141. <dp:list>
  4142. <dp:section><dp:text>&#160;</dp:text></dp:section>
  4143. <dp:section><dp:label><xts:string id="IDS_OTHERRUN_PDF_OPTIONS"/></dp:label></dp:section>
  4144. <dp:section>
  4145. <xsl:call-template name="ut:pdfOptionSummary"/>
  4146. </dp:section>
  4147. </dp:list>
  4148. </out:if>
  4149. </xsl:template>
  4150. <!-- the main engine -->
  4151. <xsl:template match="*">
  4152. <xsl:copy>
  4153. <xsl:copy-of select="@*"/>
  4154. <xsl:apply-templates/>
  4155. </xsl:copy>
  4156. </xsl:template>
  4157. </xsl:stylesheet>