| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805 | 
							- <?xml version="1.0" encoding="UTF-8"?>
 
- <!--
 
-     Licensed Materials - Property of IBM
 
-     IBM Cognos Products: ps
 
-     (C) Copyright IBM Corp. 2005, 2014
 
-     US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 
- -->
 
- <!--
 
-    Copyright (C) 2008 Cognos ULC, an IBM Company. All rights reserved.
 
-    Cognos (R) is a trademark of Cognos ULC, (formerly Cognos Incorporated).
 
- -->
 
- <xsl:stylesheet version="1.0"
 
- 	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
- 	xmlns:aep="http://developer.cognos.com/schemas/xts/portal/addEntries/logicsheets/pagers/"
 
- 	xmlns:cp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/presentation/"
 
- 	xmlns:dp="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/dialog/presentation/"
 
- 	xmlns:xts="http://developer.cognos.com/schemas/xts/"
 
- 	xmlns:cf="http://developer.cognos.com/schemas/xts/logicsheets/xslt/presentation/controls/framework/"
 
- 	xmlns:cm="http://developer.cognos.com/schemas/xts-cm/1/"
 
- 	xmlns:nav="http://developer.cognos.com/schemas/cps/navigation/1/"
 
- 	xmlns:out="dummy-uri"
 
- 	exclude-result-prefixes="xts xsl aep cp dp cf cm ">
 
- 	<xsl:output method="xml" encoding="UTF-8" indent="no"/>
 
- 	<xsl:namespace-alias stylesheet-prefix="out" result-prefix="xsl"/>
 
- 	<!-- navigation pager (left side of page) -->
 
- 	<xsl:template match="aep:navigatePager">
 
- 		<out:variable name="currentNavigation">
 
- 			<out:choose>
 
- 				<out:when test="contains(key('request-param','requestState'),'|')">
 
- 					<out:value-of select="substring-before(key('request-param','requestState'),'|')"/>
 
- 				</out:when>
 
- 				<out:otherwise>
 
- 					<out:value-of select="key('request-param','requestState')"/>
 
- 				</out:otherwise>
 
- 			</out:choose>
 
- 		</out:variable>
 
- 		<out:choose>
 
- 			<out:when test="key('request-param','addEntriesUI')='portlet' and /root/*[local-name()='response']/*[local-name()='content']/*[local-name()='queryResponse']/*[local-name()='queryReply'][1]/*/*[local-name()='objectClass']='portlet'">
 
- 				<cf:main-pager-section name="navpager" form="pform" virtualPage="true" width="100%">
 
- 					<cf:param name="label">
 
- 						<out:if test="key('request-param','requestState') = 'search'">
 
- 							<xts:string id="IDS_ADDENTRIES_SEARCH_RESULTS"/>
 
- 						</out:if>
 
- 					</cf:param>
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_AVAILABLE_ENTRIES"/></cf:param>
 
- 					<cf:param name="item-path">/root/*[local-name()='response']/*[local-name()='content']/cm:queryResponse/cm:queryReply[position()='1']/*</cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<xsl:call-template name="navigatePagerColumns"/>
 
- 							<cp:columnHeader><xts:string id="IDS_HEADING_ACTIONS"/></cp:columnHeader>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<xsl:call-template name="navigatePagerContent">
 
- 								<xsl:with-param name="isPortlet" select="true()"/>
 
- 							</xsl:call-template>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:when>
 
- 			<out:when test="$currentNavigation='search' and $allowedBurgandySearch and (key('env-param','search_find')='b' or key('env-param','search_find')='') ">
 
- 				<cf:main-pager-section name="navpager" navContent="true" form="pform" virtualPage="true" width="100%">
 
- 					<cf:param name="noGoto">false</cf:param>
 
- 					<cf:param name="navContext"><out:value-of select="{'/root/navContent/nav:searchResponse/nav:context'}"/></cf:param>
 
- 					<cf:param name="label">
 
- 						<out:if test="key('request-param','requestState') = 'search'">
 
- 							<xts:string id="IDS_ADDENTRIES_SEARCH_RESULTS"/>
 
- 						</out:if>
 
- 					</cf:param>
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_AVAILABLE_ENTRIES"/></cf:param>
 
- 					<cf:param name="item-path">/root/*[local-name()='navContent']/nav:searchResponse/nav:content/*</cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<xsl:call-template name="navigatePagerColumns"/>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<xsl:call-template name="navigateIndexPagerContent"/>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:when>
 
- 			<out:otherwise>
 
- 				<cf:main-pager-section name="navpager" form="pform" virtualPage="true" width="100%">
 
- 					<cf:param name="label">
 
- 						<out:if test="key('request-param','requestState') = 'search'">
 
- 							<xts:string id="IDS_ADDENTRIES_SEARCH_RESULTS"/>
 
- 						</out:if>
 
- 					</cf:param>
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_AVAILABLE_ENTRIES"/></cf:param>
 
- 					<cf:param name="item-path">/root/*[local-name()='response']/*[local-name()='content']/cm:queryResponse/cm:queryReply[position()='1']/*</cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<xsl:call-template name="navigatePagerColumns"/>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<xsl:call-template name="navigatePagerContent"/>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:otherwise>
 
- 		</out:choose>
 
- 	</xsl:template>
 
- 	<!-- Standard content for navigation pager -->
 
- 	<xsl:template name="navigateIndexPagerContent">
 
- 		<cp:columnContent>
 
- 			<out:variable name="isRoot" select='/root/*[local-name()="containerInfo"]/*[local-name()="queryResponse"]/*[local-name()="queryReply"]/*[local-name()="root"]'/>
 
- 			<out:variable name="isRootSelectable" select='key("request-param","selectableRootObjects")="true"'/>
 
- 			<out:choose>
 
- 				<out:when test='(contains($selectable-classes, concat("'",cm:objectClass,"'")) or ($isRootSelectable and $isRoot)) and not(not($isRootSelectable) and $isRoot)'>
 
- 					<input type="checkbox" name="nav_checkbox" value="{'{nav:searchPath}'}"/>
 
- 				</out:when>
 
- 				<out:otherwise>
 
- 					<out:text> </out:text>
 
- 				</out:otherwise>
 
- 			</out:choose>
 
- 		</cp:columnContent>
 
- 		<cp:columnContent>
 
- 			<out:variable name="overrideObjectClass">
 
- 				<out:choose>
 
- 					<out:when test="nav:type='folder' and (key('env-param','select_path')='/' or (not(key('env-param','select_path')) and key('request-param','defaultSearchPath')='/'))">pfr</out:when>
 
- 					<out:when test="nav:type='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations')">pfr</out:when>
 
- 					<out:otherwise><out:value-of select="nav:type"/></out:otherwise>
 
- 				</out:choose>
 
- 			</out:variable>
 
- 			<out:variable name="defaultAction" select="nav:defaultAction/nav:imgURL"/>
 
- 			<img height="16" width="16">
 
- 				<out:attribute name="title">
 
- 					<out:value-of select="nav:screenTip"/>
 
- 				</out:attribute>
 
- 				<out:attribute name="alt">
 
- 					<out:text> </out:text>
 
- 					<out:value-of select="nav:fullName"/>
 
- 				</out:attribute>
 
- 				<out:attribute name="src"><out:value-of select="nav:imgURL"/></out:attribute>
 
- 			</img>
 
- 			<out:if test="$defaultAction != ''">
 
- 				<img height="16" width="12">
 
- 					<out:attribute name="src">
 
- 						<out:value-of select="$defaultAction"/>
 
- 					</out:attribute>
 
- 				</img>
 
- 			</out:if>
 
- 		</cp:columnContent>
 
- 		<cp:columnContent>
 
- 				<img width="20" height="16" align="absmiddle" src="{'{$skin_images}'}path.gif">
 
- 					<out:attribute name="alt">
 
- 					<out:text> </out:text>
 
- 					<out:value-of select="nav:fullName"/>
 
- 					</out:attribute>
 
- 				</img>
 
- 				<out:text> </out:text>
 
- 				<out:choose>
 
- 				<out:when test="(contains($folder-classes, concat(' ', nav:type, ' ')) or (contains(' group role ', concat(' ', nav:type, ' ')) and nav:hasChildren='true'))  and contains(concat(' ', nav:permissions, ' '), ' traverse ')">
 
- 					<out:variable name="encodedPath" select="xtsext:javascriptencode(string(nav:searchPath))"/>
 
- 					<a href="#">
 
- 						<out:attribute name="onclick">clearPagerVariables();document.pform.select_path.value = '<out:value-of select="$encodedPath"/>'; controller_submitForm('default');</out:attribute>
 
- 						<out:value-of select="nav:name"/>
 
- 					</a>
 
- 				</out:when>
 
- 				<out:otherwise>
 
- 					<out:choose>
 
- 						<!-- special case when displaying namespaces in the select packages, locations and deployment objects dialog -->
 
- 						<out:when test="nav:type='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations' or key('request-param','addEntriesUI')='deploymentObjects')">
 
- 							<xts:string id="IDS_ADDENTRIES_PACKAGES_LOCATIONS_NAMESPACE_PREFIX">
 
- 								<xts:param name="namespaceName"><out:value-of select="nav:name"/></xts:param>
 
- 							</xts:string>
 
- 						</out:when>
 
- 						<out:otherwise>
 
- 							<out:value-of select="nav:name"/>
 
- 						</out:otherwise>
 
- 					</out:choose>
 
- 					<out:if test="nav:name != ''">
 
- 						<out:text> (</out:text>
 
- 						<out:value-of select="nav:name"/>
 
- 						<out:text>)</out:text>
 
- 					</out:if>
 
- 				</out:otherwise>
 
- 			</out:choose>
 
- 		</cp:columnContent>
 
- 	</xsl:template>
 
- 	<!-- Standard columns for navigation pager -->
 
- 	<xsl:template name="navigatePagerColumns">
 
- 		<cp:columnHeader width="16" toggleName="nav_checkbox" noLabel="true"/>
 
- 		<cp:columnHeader width="16"></cp:columnHeader>
 
- 		<cp:columnHeader width="100%">
 
- 			<out:if test="key('request-param','requestState') = 'search'">
 
- 				<!-- All of this is to align the header (...> Name) with the contents of the table-->
 
- 				<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 				<out:text/><xts:string id="IDS_PATH_INDICATOR"/><out:text> </out:text>
 
- 				<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 			</out:if>
 
- 			<out:text/><xts:string id="IDS_NAME"/><out:text/>
 
- 		</cp:columnHeader>
 
- 	</xsl:template>
 
- 	<!-- Standard content for navigation pager -->
 
- 	<xsl:template name="navigatePagerContent">
 
- 		<xsl:param name="isPortlet"/>
 
- 		<!-- checkbox column -->
 
- 		<out:if test="not(key('request-param','addEntriesUI')='deploymentObjects' and cm:objectClass='namespace' and cm:defaultName='Cognos')">		
 
- 			<cp:columnContent>
 
- 			<out:variable name="isRoot" select='/root/*[local-name()="containerInfo"]/*[local-name()="queryResponse"]/*[local-name()="queryReply"]/*[local-name()="root"]'/>
 
- 			<out:variable name="isRootSelectable" select='key("request-param","selectableRootObjects")="true"'/>
 
- 				<out:choose>
 
- 					<out:when test='(contains($selectable-classes, concat("'",cm:objectClass,"'")) or ($isRootSelectable and $isRoot)) and not(not($isRootSelectable) and $isRoot)'>
 
- 						<input type="checkbox" name="nav_checkbox" value="{'{cm:searchPath}'}">
 
-                             <out:attribute name="aria-label"><out:value-of select="xtsext:htmlencode(*[local-name()='defaultName'])"/></out:attribute>
 
- 							<out:attribute name="id"><out:value-of select="concat('nav_checkbox',position())"/></out:attribute> 
 
- 						</input>
 
- 					</out:when>
 
- 					<out:otherwise>
 
- 						<out:text> </out:text>
 
- 					</out:otherwise>
 
- 				</out:choose>
 
- 			</cp:columnContent>
 
- 			<!-- icon column -->
 
- 			<cp:columnContent>
 
- 				<out:variable name="overrideObjectClass">
 
- 					<out:choose>
 
- 						<out:when test="cm:objectClass='folder' and (key('env-param','select_path')='/' or (not(key('env-param','select_path')) and key('request-param','defaultSearchPath')='/'))">pfr</out:when>
 
- 						<out:when test="cm:objectClass='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations')">pfr</out:when>
 
- 						<out:otherwise><out:value-of select="cm:objectClass"/></out:otherwise>
 
- 					</out:choose>
 
- 				</out:variable>
 
- 				<out:variable name="overrideHidden">
 
- 					<out:choose>
 
- 						<out:when test="(key('request-param','addEntriesUI')='deploymentObjects' and cm:objectClass='account')">
 
- 							<out:value-of select="cm:hasChildren='false'"/>
 
- 						</out:when>
 
- 						<out:otherwise>
 
- 							<out:value-of select="cm:hidden"/>
 
- 						</out:otherwise>	
 
- 					</out:choose>
 
- 				</out:variable>
 
- 				<out:call-template name="gen-icon">
 
- 					<out:with-param name="showAction" select="false()"/>
 
- 					<out:with-param name="class" select="$overrideObjectClass"/>
 
- 					<out:with-param name="userInterfaces" select="cm:userInterfaces/cm:uiComponentEnum"/>
 
- 					<out:with-param name="isDangling" select="cm:base/@nil='true'"/>
 
- 					<out:with-param name="hiddenObject" select="$overrideHidden"/>
 
- 				</out:call-template>
 
- 			</cp:columnContent>
 
- 			<!-- name column -->
 
- 			<cp:columnContent>
 
- 				<out:if test="key('request-param','requestState') = 'search'">
 
- 					<img width="20" height="16" align="absmiddle" src="{'{$skin_images}'}path.gif">
 
- 						<out:attribute name="alt">
 
- 							<cf:do-the-path-link>
 
- 								<cf:param name="familytree">*[local-name()='ancestors']</cf:param>
 
- 								<cf:param name="familymember">*[local-name()='defaultName']</cf:param>
 
- 								<cf:param name="onlyAncestors">true</cf:param>
 
- 							</cf:do-the-path-link>
 
- 						</out:attribute>
 
- 					</img>
 
- 				</out:if>
 
- 				<out:text> </out:text>
 
- 				<out:choose>
 
- 					<out:when test="(contains($folder-classes, concat(' ', cm:objectClass, ' ')) or (contains(' group role ', concat(' ', cm:objectClass, ' ')) and cm:hasChildren='true'))  and contains(concat(' ', cm:permissions, ' '), ' traverse ')">
 
- 						<out:variable name="encodedPath" select="xtsext:javascriptencode(string(cm:searchPath))"/>
 
- 						<a href="#">
 
- 							<out:attribute name="onclick">clearPagerVariables();document.pform.select_path.value = '<out:value-of select="$encodedPath"/>'; controller_submitForm('default');</out:attribute>
 
- 							<out:if test="$isBidiEnabled = 'true'">
 
- 								<out:attribute name="dir">
 
- 									<out:value-of select="xtsext:getBTD(cm:defaultName, $baseTextDirection, $productLocale)"/>
 
- 								</out:attribute>
 
- 							</out:if>
 
- 							<out:value-of select="cm:defaultName"/>
 
- 						</a>
 
- 					</out:when>
 
- 					<out:otherwise>
 
- 						<out:choose>
 
- 							<!-- special case when displaying namespaces in the select packages and locations dialog -->
 
- 							<out:when test="cm:objectClass='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations')">
 
- 								<xts:string id="IDS_ADDENTRIES_PACKAGES_LOCATIONS_NAMESPACE_PREFIX">
 
- 									<xts:param name="namespaceName"><out:value-of select="cm:defaultName"/></xts:param>
 
- 								</xts:string>
 
- 							</out:when>
 
- 							<out:otherwise>							
 
- 								<out:value-of select="xtsext:enforceBTD(cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 						<out:if test="cm:userName != ''">
 
- 							<out:text> (</out:text>			
 
- 							<out:value-of select="xtsext:enforceBTD(cm:userName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 							<out:text>)</out:text>
 
- 						</out:if>
 
- 					</out:otherwise>
 
- 				</out:choose>
 
- 			</cp:columnContent>
 
- 			<!--  Action column -->
 
- 			<xsl:if test="$isPortlet">
 
- 				<cp:columnContent>
 
- 					<out:call-template name="action-properties">
 
- 						<out:with-param name="obj-name" select="cm:defaultName"/>
 
- 						<out:with-param name="obj-path" select="cm:searchPath"/>
 
- 						<out:with-param name="obj-id" select="cm:storeID"/>
 
- 						<out:with-param name="obj-class" select="cm:objectClass"/>
 
- 						<out:with-param name="supportPreviewPortlet" select="cm:objectClass='portlet'"/>
 
- 						<out:with-param name="supportAllActionsAction" select="false()"/>
 
- 					</out:call-template>
 
- 				</cp:columnContent>
 
- 			</xsl:if>	
 
- 		</out:if>
 
- 	</xsl:template>
 
- 	<xsl:template match="aep:selectedEntriesPager">
 
- 		<out:variable name="selectedEntriesPager_remove_onClick">
 
- 			<out:value-of select="concat(key('request-param','requestState'), '|remove')"/>
 
- 		</out:variable>
 
- 		<script language="javascript" src="{'{$webcontent}'}/{'{$app}'}/js/utilities.js"/>
 
- 		<out:choose>
 
- 			<!-- recipients added entries pager -->
 
- 			<out:when test="key('request-param','addEntriesUI') = 'recipients' and key('request-param','withCC') = 'false'">
 
- 				<input type="hidden" name="typeChanged" value=""/>
 
- 				<cf:main-pager-section name="listpager" form="pform" width="100%" genDelete="yes">
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_SELECTED_ENTRIES"/></cf:param>
 
- 					<cf:param name="item-path">/root/*[local-name()='response']/*[local-name()='selectedEntries']/*</cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="actions">
 
- 						<cp:action>
 
- 							<a href="#">
 
- 								<out:attribute name="onclick">
 
- 									<out:text>if(!isSelected('list_checkbox_')){alert("<xts:string id="IDS_REMOVE_WARNING" encode="javascript"/>");return;}</out:text>
 
- 									<out:text>controller_changeState('</out:text>
 
- 										<out:value-of select="$selectedEntriesPager_remove_onClick"/>
 
- 									<out:text>'); controller_submitForm('default');</out:text>
 
- 								</out:attribute>
 
- 								<xts:string id="IDS_REMOVE"/>
 
- 							</a>
 
- 						</cp:action>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<cp:columnHeader width="16" toggleName="list_checkbox" noLabel="true"/>
 
- 							<cp:columnHeader width="16"><label style="display:none" for="control_list_checkbox"><xts:string id="IDS_SELECT_DESELECT_ALL"/></label></cp:columnHeader>
 
- 							<cp:columnHeader width="100%">
 
- 								<!-- All of this is to align the header (...> Name) with the contents of the table-->
 
- 								<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 								<xsl:text/><xts:string id="IDS_PATH_INDICATOR"/><xsl:text> </xsl:text>
 
- 								<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 								<xsl:text/><xts:string id="IDS_NAME"/><xsl:text/>
 
- 							</cp:columnHeader>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<cp:columnContent>
 
- 								<!-- need to use preceding-sibling since the pager ends up doing a xsl:for-each. If we used
 
- 								position(), we would end up getting the position in the xsl:for-each which won't give us
 
- 								the overall position if the user isn't on the first page. -->
 
- 								<out:variable name="precedingSiblingCount" select="count(preceding-sibling::*)"/>
 
- 								<input type="checkbox">
 
- 									<out:attribute name="name">
 
- 										<out:value-of select="concat('list_checkbox_',$precedingSiblingCount)"/>
 
- 									</out:attribute>
 
- 									<out:attribute name="id">
 
- 										<out:value-of select="concat('list_checkbox',position())"/>
 
- 									</out:attribute> 
 
- 									<out:attribute name="value">
 
- 										<out:value-of select="$precedingSiblingCount"/>
 
- 									</out:attribute>
 
-                                     <out:attribute name="aria-label"><out:value-of select="xtsext:htmlencode(*[local-name()='defaultName'])"/></out:attribute>
 
-         						</input>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<out:variable name="overrideObjectClass">
 
- 									<out:if test="cm:objectClass='folder' and key('env-param','select_path')='/'">pfr</out:if>
 
- 								</out:variable>
 
- 								<out:call-template name="gen-icon">
 
- 									<out:with-param name="showAction" select="false()"/>
 
- 									<out:with-param name="class" select="$overrideObjectClass"/>
 
- 									<out:with-param name="hiddenObject" select="cm:hidden"/>
 
- 								</out:call-template>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<img width="20" height="16" align="absmiddle" src="{'{$skin_images}'}path.gif">
 
- 									<out:attribute name="alt">
 
- 										<cf:do-the-path-link>
 
- 											<cf:param name="familytree">*[local-name()='ancestors']</cf:param>
 
- 											<cf:param name="familymember">*[local-name()='defaultName']</cf:param>
 
- 											<cf:param name="onlyAncestors">true</cf:param>
 
- 										</cf:do-the-path-link>
 
- 									</out:attribute>
 
- 								</img>
 
- 								<xsl:text> </xsl:text>
 
- 								<out:value-of select="xtsext:enforceBTD(cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 								<out:if test="cm:userName != ''">
 
- 									<out:text> (</out:text>
 
- 									<out:value-of select="xtsext:enforceBTD(cm:userName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 									<out:text>)</out:text>
 
- 								</out:if>
 
- 							</cp:columnContent>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:when>
 
- 			<out:when test="key('request-param','addEntriesUI') = 'recipients' or key('request-param','addEntriesUI') = 'humanTask' ">
 
- 				<input type="hidden" name="typeChanged" value=""/>
 
- 				<cf:main-pager-section name="listpager" form="pform" width="100%" genDelete="yes">
 
- 					<cf:param name="item-path">/root/*[local-name()='response']/*[local-name()='selectedEntries']/*</cf:param>
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_SELECTED_ENTRIES"/></cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="actions">
 
- 						<cp:action>
 
- 							<a href="#">
 
- 								<out:attribute name="onclick">
 
- 									<out:text>if(!isSelected('list_checkbox_')){alert("<xts:string id="IDS_REMOVE_WARNING" encode="javascript"/>");return;}</out:text>
 
- 									<out:text>controller_changeState('</out:text>
 
- 										<out:value-of select="$selectedEntriesPager_remove_onClick"/>
 
- 									<out:text>'); controller_submitForm('default');</out:text>
 
- 								</out:attribute>
 
- 								<xts:string id="IDS_REMOVE"/>
 
- 							</a>
 
- 						</cp:action>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<cp:columnHeader width="16" toggleName="list_checkbox" noLabel="true"/>
 
- 							<cp:columnHeader width="16"><label style="display:none" for="control_list_checkbox"><xts:string id="IDS_SELECT_DESELECT_ALL"/></label></cp:columnHeader>
 
- 							<cp:columnHeader width="100%">
 
- 								<!-- All of this is to align the header (...> Name) with the contents of the table-->
 
- 								<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 								<xsl:text/><xts:string id="IDS_PATH_INDICATOR"/><xsl:text> </xsl:text>
 
- 								<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 								<xsl:text/><xts:string id="IDS_NAME"/><xsl:text/>
 
- 							</cp:columnHeader>
 
- 							
 
- 							<out:choose>
 
- 								<out:when test="key('request-param','addEntriesUI') = 'humanTask'">
 
- 									<cp:columnHeader>
 
- 										<xts:string id="IDS_ADD_RECIPIENTS_POTENTIAL_OWNER"/>
 
- 									</cp:columnHeader>
 
- 									<cp:columnHeader noSep="T">
 
- 										<xts:string id="IDS_ADD_RECIPIENTS_STAKEHOLDER"/>
 
- 									</cp:columnHeader>
 
- 									<cp:columnHeader/>
 
- 								</out:when>
 
- 								<out:otherwise>
 
- 									<cp:columnHeader>
 
- 										<xts:string id="IDS_ADD_RECIPIENTS_TO"/>
 
- 									</cp:columnHeader>
 
- 									<cp:columnHeader>
 
- 										<xts:string id="IDS_ADD_RECIPIENTS_CC"/>
 
- 									</cp:columnHeader>
 
- 									<cp:columnHeader>
 
- 											<out:if test="key('request-param','withBCC') = 'true'">
 
- 													<xts:string id="IDS_ADD_RECIPIENTS_BCC"/>
 
- 											</out:if>
 
- 									</cp:columnHeader>		
 
- 								</out:otherwise>
 
- 							</out:choose>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<cp:columnContent>
 
- 								<!-- need to use preceding-sibling since the pager ends up doing a xsl:for-each. If we used
 
- 								position(), we would end up getting the position in the xsl:for-each which won't give us
 
- 								the overall position if the user isn't on the first page. -->
 
- 								<out:variable name="precedingSiblingCount" select="count(preceding-sibling::*)"/>
 
- 								<input type="checkbox">
 
- 									<out:attribute name="name">
 
- 										<out:value-of select="concat('list_checkbox_',$precedingSiblingCount)"/>
 
- 									</out:attribute>
 
- 									<out:attribute name="id">
 
- 										<out:value-of select="concat('list_checkbox',position())"/>
 
- 									</out:attribute> 
 
- 									<out:attribute name="value">
 
- 										<out:value-of select="$precedingSiblingCount"/>
 
- 									</out:attribute>
 
-                                     <out:attribute name="aria-label"><out:value-of select="xtsext:htmlencode(*[local-name()='defaultName'])"/></out:attribute>
 
- 								</input>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<out:variable name="overrideObjectClass">
 
- 									<out:if test="cm:objectClass='folder' and key('env-param','select_path')='/'">pfr</out:if>
 
- 								</out:variable>
 
- 								<out:call-template name="gen-icon">
 
- 									<out:with-param name="showAction" select="false()"/>
 
- 									<out:with-param name="class" select="$overrideObjectClass"/>
 
- 									<out:with-param name="hiddenObject" select="cm:hidden"/>
 
- 								</out:call-template>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<img width="20" height="16" align="absmiddle" src="{'{$skin_images}'}path.gif">
 
- 									<out:attribute name="alt">
 
- 										<cf:do-the-path-link>
 
- 											<cf:param name="familytree">*[local-name()='ancestors']</cf:param>
 
- 											<cf:param name="familymember">*[local-name()='defaultName']</cf:param>
 
- 											<cf:param name="onlyAncestors">true</cf:param>
 
- 										</cf:do-the-path-link>
 
- 									</out:attribute>
 
- 								</img>
 
- 								<xsl:text> </xsl:text>
 
- 								<out:value-of select="xtsext:enforceBTD(cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 								<out:if test="cm:userName != ''">
 
- 									<out:text> (</out:text>
 
- 									<out:value-of select="xtsext:enforceBTD(cm:userName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 									<out:text>)</out:text>
 
- 								</out:if>
 
- 							</cp:columnContent>
 
- 							<!-- to -->
 
- 							<cp:columnContent>
 
- 								<input type="checkbox">
 
- 									<out:attribute name="onclick">
 
- 										<xsl:text>javascript:document.pform.typeChanged.value = 'true';</xsl:text>
 
- 									</out:attribute>
 
- 									<out:attribute name="name">
 
- 										<out:value-of select="concat('to_type_checkbox',position())"/>
 
- 									</out:attribute>
 
- 									<out:attribute name="id">
 
- 										<out:value-of select="concat('to_type_checkbox',position())"/>
 
- 									</out:attribute>
 
- 									<out:if test="*[local-name()='type'] = 'to'">
 
- 										<out:attribute name="checked"><xsl:value-of select="checked"/></out:attribute>
 
- 									</out:if>
 
- 									<out:attribute name="value">
 
- 										<out:value-of select="cm:searchPathForURL"/>
 
- 									</out:attribute>
 
- 								</input>
 
- 								<label style="display:none">
 
- 									<out:attribute name="for"><out:value-of select="concat('to_type_checkbox',position())"/></out:attribute> 
 
- 									<out:choose>
 
- 										<out:when test="key('request-param','addEntriesUI') = 'humanTask'">
 
- 											<xts:string id="IDS_ADD_RECIPIENTS_POTENTIAL_OWNER"/>
 
- 										</out:when>
 
- 										<out:otherwise>
 
- 											<xts:string id="IDS_ADD_RECIPIENTS_TO"/>	
 
- 										</out:otherwise>
 
- 									</out:choose>
 
- 								</label>
 
- 							</cp:columnContent>
 
- 							<!-- cc -->
 
- 							<cp:columnContent>
 
- 								<input type="checkbox">
 
- 									<out:attribute name="onclick">
 
- 										<xsl:text>javascript:document.pform.typeChanged.value = 'true';</xsl:text>
 
- 									</out:attribute>
 
- 									<out:attribute name="name">
 
- 										<out:value-of select="concat('cc_type_checkbox',position())"/>
 
- 									</out:attribute>
 
- 									<out:attribute name="id">
 
- 										<out:value-of select="concat('cc_type_checkbox',position())"/>
 
- 									</out:attribute>
 
- 									<out:if test="*[local-name()='type'] = 'cc'">
 
- 										<out:attribute name="checked"><xsl:value-of select="checked"/></out:attribute>
 
- 									</out:if>
 
- 									<out:attribute name="value">
 
- 										<out:value-of select="cm:searchPathForURL"/>
 
- 									</out:attribute>
 
- 								</input>
 
- 								<label style="display:none">
 
- 									<out:attribute name="for"><out:value-of select="concat('cc_type_checkbox',position())"/></out:attribute> 
 
- 									<out:choose>
 
- 										<out:when test="key('request-param','addEntriesUI') = 'humanTask'">
 
- 											<xts:string id="IDS_ADD_RECIPIENTS_STAKEHOLDER"/>
 
- 										</out:when>
 
- 										<out:otherwise>
 
- 											<xts:string id="IDS_ADD_RECIPIENTS_CC"/>	
 
- 										</out:otherwise>
 
- 									</out:choose>
 
- 								</label>
 
- 							</cp:columnContent>
 
- 							<!-- bcc-->
 
- 							<cp:columnContent>
 
- 								<out:if test="key('request-param','addEntriesUI') = 'recipients' and key('request-param','withBCC') = 'true'"> 
 
- 									<input type="checkbox">
 
- 										<out:attribute name="onclick">
 
- 											<out:text>javascript:document.pform.typeChanged.value = 'true';</out:text>
 
- 										</out:attribute>
 
- 										<out:attribute name="name">
 
- 											<out:value-of select="concat('bcc_type_checkbox',position())"/>
 
- 										</out:attribute>
 
- 										<out:attribute name="id">
 
- 											<out:value-of select="concat('bcc_type_checkbox',position())"/>
 
- 										</out:attribute>
 
- 										<out:if test="*[local-name()='type'] = 'bcc'">
 
- 											<out:attribute name="checked"><xsl:value-of select="checked"/></out:attribute>
 
- 										</out:if>
 
- 										<out:attribute name="value">
 
- 											<out:value-of select="cm:searchPathForURL"/>
 
- 										</out:attribute>
 
- 									</input>
 
- 									<label style="display:none">
 
- 										<out:attribute name="for"><out:value-of select="concat('bcc_type_checkbox',position())"/></out:attribute> 
 
- 										<xts:string id="IDS_ADD_RECIPIENTS_BCC"/>
 
- 									</label>
 
- 								</out:if>
 
- 							</cp:columnContent>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:when>
 
- 			<out:otherwise>
 
- 				<cf:main-pager-section name="listpager" form="pform" width="100%" genDelete="yes">
 
- 					<cf:param name="item-path">/root/*[local-name()='response']/*[local-name()='selectedEntries']/*</cf:param>
 
- 					<cf:param name="target">key('request-param','defaultTarget')</cf:param>
 
-                     <cf:param name="pagerSummary"><xts:string id="IDS_ADDENTRIES_SELECTED_ENTRIES"/></cf:param>
 
- 					<cf:param name="lines-per-page">
 
- 						<out:choose>
 
- 							<out:when test="key('session-param','linesPerPage')!=''">
 
- 								<out:value-of select="key('session-param','linesPerPage')"/>
 
- 							</out:when>
 
- 							<out:otherwise>
 
- 								<out:value-of select="/root/system/param[@name='defaultPortalPreferences']/pref[@name='lines']"/>
 
- 							</out:otherwise>
 
- 						</out:choose>
 
- 					</cf:param>
 
- 					<cf:param name="actions">
 
- 						<cp:action>
 
- 							<a href="#">
 
- 								<out:attribute name="onclick">
 
- 									<out:text>if(!isSelected('list_checkbox_')){alert("<xts:string id="IDS_REMOVE_WARNING" encode="javascript"/>");return;}</out:text>
 
- 									<out:text>controller_changeState('</out:text>
 
- 										<out:value-of select="$selectedEntriesPager_remove_onClick"/>
 
- 									<out:text>'); controller_submitForm('default');</out:text>
 
- 								</out:attribute>
 
- 								<xts:string id="IDS_REMOVE"/>
 
- 							</a>
 
- 						</cp:action>
 
- 					</cf:param>
 
- 					<cf:param name="rows">
 
- 						<cp:tableHeader>
 
- 							<cp:columnHeader width="16" toggleName="list_checkbox" noLabel="true"/>
 
- 							<cp:columnHeader width="16"/>
 
- 							<cp:columnHeader width="100%">
 
- 								<!-- All of this is to align the header (...> Name) with the contents of the table-->
 
- 								<out:if test="key('request-param','addEntriesUI')!='packagesAndLocations' and key('request-param','addEntriesUI')!='indexUpdateLocations'">
 
- 									<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 									<xsl:text/><xts:string id="IDS_PATH_INDICATOR"/><xsl:text> </xsl:text>
 
- 									<img height="5" width="1" border="0" alt=""><out:attribute name="src"><out:value-of select="$webcontent"/>/images/space.gif</out:attribute></img>
 
- 								</out:if>
 
- 								<xsl:text/><xts:string id="IDS_NAME"/><xsl:text/>
 
- 							</cp:columnHeader>
 
- 						</cp:tableHeader>
 
- 						<cp:tableContent>
 
- 							<cp:columnContent>
 
- 								<!-- need to use preceding-sibling since the pager ends up doing a xsl:for-each. If we used
 
- 								position(), we would end up getting the position in the xsl:for-each which won't give us
 
- 								the overall position if the user isn't on the first page. -->
 
- 								<out:variable name="precedingSiblingCount" select="count(preceding-sibling::*)"/>
 
- 								<input type="checkbox">
 
- 									<out:attribute name="name">
 
- 										<out:value-of select="concat('list_checkbox_',$precedingSiblingCount)"/>
 
- 									</out:attribute>
 
- 									<out:attribute name="value">
 
- 										<out:value-of select="$precedingSiblingCount"/>
 
- 									</out:attribute>
 
-                                     <out:attribute name="aria-label"><out:value-of select="xtsext:htmlencode(*[local-name()='defaultName'])"/></out:attribute>
 
- 								</input>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<out:variable name="overrideObjectClass">
 
- 									<out:choose>
 
- 										<out:when test="cm:objectClass='folder' and starts-with(cm:searchPath, 'CAMID("')">pfr</out:when>
 
- 										<out:when test="cm:objectClass='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations' or key('request-param','addEntriesUI')='deploymentObjects')">pfr</out:when>
 
- 										<out:otherwise><out:value-of select="cm:objectClass"/></out:otherwise>
 
- 									</out:choose>
 
- 								</out:variable>
 
- 								<out:call-template name="gen-icon">
 
- 									<out:with-param name="showAction" select="false()"/>
 
- 									<out:with-param name="class" select="$overrideObjectClass"/>
 
- 									<out:with-param name="userInterfaces" select="cm:userInterfaces/cm:uiComponentEnum"/>
 
- 									<out:with-param name="isDangling" select="cm:base/@nil='true'"/>
 
- 									<out:with-param name="hiddenObject" select="cm:hidden"/>
 
- 								</out:call-template>
 
- 							</cp:columnContent>
 
- 							<cp:columnContent>
 
- 								<out:if test="key('request-param','addEntriesUI')!='packagesAndLocations' and key('request-param','addEntriesUI')!='indexUpdateLocations'">
 
- 									<out:variable name="privateFolderId">
 
- 										<xsl:if test="@mode='properties'">
 
- 											<out:value-of select="$privateFolder/cm:storeID"/>
 
- 										</xsl:if>
 
- 									</out:variable>
 
- 									<out:if test="not(key('session-param','mrootid') = cm:storeID or key('session-param','prootid') = cm:storeID or ($privateFolderId != '' and $privateFolderId = cm:storeID))">
 
- 										<out:variable name="object-start-at-path">
 
- 											<out:choose>
 
- 												<!-- Do not provide a path for contact otherwise invalid path displayed for logged on user -->
 
- 												<out:when test="starts-with(cm:searchPath, '~') or starts-with(cm:searchPath,key('session-param', 'e_hp'))">
 
- 													<out:value-of select="concat(key('session-param', 'e_hp'), '/folder')"/>
 
- 												</out:when>
 
- 												<out:when test="starts-with(cm:searchPath,'/content')">
 
- 													<out:value-of select="/content"/>
 
- 												</out:when>
 
- 											</out:choose>
 
- 										</out:variable>
 
- 										<span style="padding-left: 1px; padding-right: 1px;">
 
- 											<img border="0" align="absmiddle" height="16" width="20" src="{'{$skin_images}'}path.gif">
 
- 												<out:attribute name="alt">
 
- 													<cf:do-the-path-link>
 
- 														<cf:param name="familytree">cm:ancestors</cf:param>
 
- 														<cf:param name="home">
 
- 															<out:value-of select="{'$object-start-at-path'}"/>
 
- 														</cf:param>
 
- 														<cf:param name="familymember">cm:defaultName</cf:param>
 
- 														<cf:param name="onlyAncestors">true</cf:param>
 
- 													</cf:do-the-path-link>
 
- 												</out:attribute>
 
- 											</img>
 
- 											 
 
- 										</span>
 
- 									</out:if>
 
- 								</out:if>
 
- 								<out:choose>
 
- 									<!-- special case when displaying namespaces in the select packages and locations dialog -->
 
- 									<out:when test="cm:objectClass='namespace' and (key('request-param','addEntriesUI')='packagesAndLocations' or key('request-param','addEntriesUI')='indexUpdateLocations')">
 
- 										<xts:string id="IDS_ADDENTRIES_PACKAGES_LOCATIONS_NAMESPACE_PREFIX">
 
- 											<xts:param name="namespaceName"><out:value-of select="cm:defaultName"/></xts:param>
 
- 										</xts:string>
 
- 									</out:when>
 
- 									<out:otherwise>
 
- 										<out:value-of select="xtsext:enforceBTD(cm:defaultName, $baseTextDirection, $productLocale, boolean($isBidiEnabled='true'))"/>
 
- 									</out:otherwise>
 
- 								</out:choose>
 
- 								<out:if test="cm:userName != ''">
 
- 									<out:text> (</out:text>
 
- 									<out:value-of select="cm:userName"/>
 
- 									<out:text>)</out:text>
 
- 								</out:if>
 
- 							</cp:columnContent>
 
- 						</cp:tableContent>
 
- 					</cf:param>
 
- 				</cf:main-pager-section>
 
- 			</out:otherwise>
 
- 		</out:choose>
 
- 	</xsl:template>
 
- 	<!-- The main engine -->
 
- 	<xsl:template match="*">
 
- 		<xsl:copy>
 
- 			<xsl:copy-of select="@*"/>
 
- 			<xsl:apply-templates/>
 
- 		</xsl:copy>
 
- 	</xsl:template>
 
- </xsl:stylesheet>
 
 
  |