#set ($trackingItem = "000000000018") #set ($healthItem = "000000000016") #set ($currencyProfile = "000000000017") #set ($currencyProgress = "000000000019") #set ($typeIcon = "000000000030") #set ($currentlytrackingthis_text = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "scrollingtable.currentlytrackingthis")) #set ($hasalerts_text = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "scrollingtable.hasalerts")) #set ($notset_text = $CommonFunctions.displayTermFromResourceBundle($currentUserId, "Controls", "controls.common.notset")) #set ($altMsg1Health = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"1",$healthConfig))) #set ($altMsg2Health = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"2",$healthConfig))) #set ($altMsg3Health = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"3",$healthConfig))) #set ($altMsg4Health = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"9",$healthConfig))) #set ($altMsg1Profile = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"1",$dataAgeConfig))) #set ($altMsg2Profile = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"2",$dataAgeConfig))) #set ($altMsg3Profile = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"3",$dataAgeConfig))) #set ($altMsg4Profile = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"9",$dataAgeConfig))) #set ($altMsg1Progress = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"1",$dataAgeConfig))) #set ($altMsg2Progress = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"2",$dataAgeConfig))) #set ($altMsg3Progress = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"3",$dataAgeConfig))) #set ($altMsg4Progress = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"9",$dataAgeConfig))) #set ($hashMapInstance = $CommonFunctions.getHashMapInstance()) #set ($findProjectCtrlLabel = $CommonFunctions.getTermFromResourceBundle($currentUserId, "Controls", "systembar.findproject.id.label")) #set ($findProjectCtrlInnerLabel = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "scrollingtable.findproject.term.innerlabel")) #set ($findProjectCtrlButtonHint = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "systembar.findproject.id.button.hint")) #set ($invalidProjectIdFormat = $CommonFunctions.getEncodedTermFromResourceBundle($currentUserId, "Controls", "systembar.findproject.id.invalidformat")) #set ($searchCtrlLabel = $CommonFunctions.getTermFromResourceBundle($currentUserId, "Controls", "scrollingtable.findproject.term.label")) #set ($clear_text = $CommonFunctions.getTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.clear.label")) #set ($clearhint_text = $CommonFunctions.getTermFromResourceBundle($currentUserId, "Controls", "controls.buttons.clear.hint")) #if ($searchTerm) #set ($searchTerm = $searchTerm) #else #set ($searchTerm = "") #end #set ($stringAlign = "") #if ($stringAlignment == "0") #set ($stringAlign = "align='left'") #elseif ($stringAlignment == "1") #set ($stringAlign = "align='center'") #elseif ($stringAlignment == "2") #set ($stringAlign = "align='right'") #end #set ($dateAlign = "") #if ($dateAlignment == "0") #set ($dateAlign = "align='left' nowrap") #elseif ($dateAlignment == "1") #set ($dateAlign = "align='center' nowrap") #elseif ($dateAlignment == "2") #set ($dateAlign = "align='right' nowrap") #end #set ($numberAlign = "") #if ($numberAlignment == "0") #set ($numberAlign = "align='left' nowrap") #elseif ($numberAlignment == "1") #set ($numberAlign = "align='center' nowrap") #elseif ($numberAlignment == "2") #set ($numberAlign = "align='right' nowrap") #end #set ($currencyAlign = "") #if ($currencyAlignment == "0") #set ($currencyAlign = "align='left' nowrap") #elseif ($currencyAlignment == "1") #set ($currencyAlign = "align='center' nowrap") #elseif ($currencyAlignment == "2") #set ($currencyAlign = "align='right' nowrap") #end #if ($error) $error #end #if ($requiresPaging1) #end #if ($requiresPaging1) #end
#if ($viewId.equals("MyTrackerView") || $viewId.equals("SummaryTableView") || $viewId.equals("ExecutionProfileTableView") || $viewId.equals("ImpactProfileTableView") || $viewId.equals("ExecutionProfileGanttView") || $viewId.equals("BusinessAlignmentTableView")) #end
#foreach ($controlName in $controls) #parse($controlName) #end
#parse("projectsearchforctrl.vm")
$searchCtrlLabel: Page   of  
#if (!$isPrinting) #parse("scrollingtableheader.vm") #end
#if ($isPrinting) #parse("scrollingtableheader.vm") #end #foreach ($row in $table) #set ($projectCurrencyCode = $row.getCurrency()) #set ($projIndex = $velocityCount - 1) #set ($mainIndex = 1) #if ($row.getSubscribed().equals("Yes")) #set ($tracking = "_y") #set ($trackingImg = "../themes/$theme/images/checkmark.gif") #set ($alt = "$currentlytrackingthis_text") #else #set ($tracking = "_n") #set ($trackingImg = "../themes/$theme/images/inactive.png") #set ($alt = "") #end #if ($row.getCopy().equals("Yes")) #set ($canCopy = "_c") #else #set ($canCopy = "") #end #if ($row.getDelete().equals("Yes")) #set ($canDelete = "_d") #else #set ($canDelete = "") #end #if ($row.getHighLight().equals("Project")) #set ($canSetViewed = "_v") #else #set ($canSetViewed = "") #end #set ($summaryVector = $row.getSummaryVector()) #set ($questionIndex = 0) #foreach ($legaSummary in $summaryVector) #set ( $summaryValue = $legaSummary.getSummary()) #set ( $latestResponse = $legaSummary.getLatestResponse()) #set ( $summaryColumn = $sortedColumns.get($questionIndex) ) #set ( $formatting = $summaryColumn.getFormatting() ) #set ( $computed = $summaryColumn.getProjectInfoComputed() ) #set ( $datatype = $summaryColumn.getDataType() ) #set ( $valuetype = $summaryColumn.getType() ) #set ( $qid = $summaryColumn.getLegaQuestionId() ) #if ( $valuetype.equals("Cost") ) #set ( $typeclass = "costBodyElement" ) #elseif ( $valuetype.equals("Benefit") ) #set ( $typeclass = "benefitBodyElement" ) #else #set ( $typeclass = "tableBodyContentElement" ) #end #if ($qid.startsWith("COREDATA_")) #set ($cellData = $summaryValue) #set ($alignData = $stringAlign) #set ($menuID = "") #set ($callBackFunction = "#") #if ($qid.equals("COREDATA_GanttView")) #set ($GanttView = $legaSummary.getGanttView()) #set ( $startDate = $CommonFunctions.formatDate($currentUserId,$GanttView.getStartDate()) ) #set ( $targetDate = $CommonFunctions.formatDate($currentUserId,$GanttView.getTargetDate()) ) #set ( $statusName = $CommonFunctions.getStatusName($GanttView.getStatusId()) ) #set ($startDateStyle = "tableBodyContentElement") #set ($targetDateStyle = "tableBodyContentElement") #set ($startDateLabel = $CommonFunctions.getDisplayLabel("StartDate")) #set ($completionDateLabel = $CommonFunctions.getDisplayLabel("CompletionDate")) #set ($isProject = true) #parse("ganttrowcontent.vm") #else #set ($isClickable = true) #if ($qid.equals("COREDATA_Project")) #set ($callBackFunction = "showParticipationDialog") #set ($menuID = "investment_$row.getId()$canCopy$tracking$canDelete$canSetViewed") #if ($row.getHighLight().indexOf("Project") != -1) #set ($typeclass = "tableBodyContentElementChange") #else #set ($typeclass = "tableBodyContentElement") #end #elseif ($qid.equals("COREDATA_RequestDate")) #set ($isClickable = false) #elseif ($qid.equals("COREDATA_Id")) #set ($cellData = $CommonFunctions.formatId( $cellData )) #set ($isClickable = false) #elseif ($qid.equals("COREDATA_TimeStamp")) #set ($isClickable = false) #elseif ($qid.equals("COREDATA_Status")) #set ($callBackFunction = "showStatusDetailDialog") #elseif ($qid.equals("COREDATA_TotalTasks")) #set ($callBackFunction = "showComponentsDialog") #elseif ($qid.equals("COREDATA_OpenTasks")) #set ($callBackFunction = "showComponentsDialog") #elseif ($qid.equals("COREDATA_ClosedTasks")) #set ($callBackFunction = "showComponentsDialog") #elseif ($qid.equals("COREDATA_ProjectDiscussion")) #set ($callBackFunction = "showDiscussionDialog") #elseif ($qid.equals("COREDATA_Group")) #set ($callBackFunction = "showGroupDialog") #elseif ($qid.equals("COREDATA_Type")) #set ($callBackFunction = "showTypeDetailDialog") #elseif ($qid.equals("COREDATA_TypeIcon")) #set ($callBackFunction = "showTypeDetailDialog") #elseif ($qid.equals("COREDATA_Department")) #set ($callBackFunction = "showDepartmentDialog") #elseif ($qid.equals("COREDATA_StartDate")) #set ($callBackFunction = "showDateDetailDialog") #elseif ($qid.equals("COREDATA_CompletionDate")) #set ($callBackFunction = "showDateDetailDialog") #elseif ($qid.equals("COREDATA_ProjectHealth")) #set ($callBackFunction = "showHealthDialog") #elseif ($qid.equals("COREDATA_ProfileCurrency")) #set ($callBackFunction = "showFormSummary") #elseif ($qid.equals("COREDATA_ProgressCurrency")) #set ($callBackFunction = "showProgressDetailDialog") #elseif ($qid.equals("COREDATA_RequestorId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_ManagerId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_SubmittedToId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_SponsorId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_OwnerId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_MembersId")) #set ($callBackFunction = "showUserAssociationDialog") #elseif ($qid.equals("COREDATA_InterDependency")) #set ($callBackFunction = "showInterDependenciesDialog") #elseif ($qid.equals("COREDATA_Confidentiality")) #set ($callBackFunction = "showConfidentialityDialog") #elseif ($qid.equals("COREDATA_NotificationRecipients")) #set ($callBackFunction = "showNotificationRecipientsDialog") #elseif ($qid.endsWith("ManHours") || $qid.endsWith("LaborCost")) #set ($callBackFunction = "showManhoursDialog") #elseif ($qid.endsWith("Cost")) #set ($callBackFunction = "showBudgetDialog") #elseif ($qid.equals("COREDATA_Participate")) #set ($callBackFunction = "showParticipationDialog") #elseif ($qid.equals("COREDATA_MyPoints")) #set ($callBackFunction = "showPriorityDialog") #end #if ($datatype.equals("000000000014")) #if ($formatting.equals("000000000010")) #set ($cellData = $CommonFunctions.formatId($cellData)) #end #set ($alignData = $numberAlign) #elseif ($datatype.equals("000000000001")) #if ($formatting.equals("000000000001")) #set ($cellData = $CommonFunctions.formatMoney($currentUserId,$cellData)) #set ($alignData = $currencyAlign) #else #set ($cellData = $CommonFunctions.formatNumber($cellData)) #set ($alignData = $numberAlign) #end #elseif ($datatype.equals("000000000015")) #set ($cellData = $CommonFunctions.formatDate($currentUserId,$cellData)) #set ($alignData = $dateAlign) #elseif ($datatype.equals($trackingItem)) #set ($alignData = "align='center'") #set ($isClickable = false) #if ($cellData.equals("True")) #set ($altMsg = "$currentlytrackingthis_text") #set ($cellData = "$altMsg") #else #set ($cellData = "") #end #elseif ($qid.equals("COREDATA_Participate")) #set ($alignData = "align='center'") #if ($cellData.equals("HasAlert")) #set ($altMsg = "$hasalerts_text") #set ($cellData = "$altMsg") #else #set ($altMsg = "") #set ($cellData = " ") #end #elseif ($datatype.equals($healthItem)) #set ($alignData = "align='center'") #if ($cellData.equals("1")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"1",$healthConfig), $hashMapInstance)) #set ($cellData = "$altMsg1Health") #elseif ($cellData.equals("2")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"2",$healthConfig), $hashMapInstance)) #set ($cellData = "$altMsg2Health") #elseif ($cellData.equals("3")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"3",$healthConfig), $hashMapInstance)) #set ($cellData = "$altMsg3Health") #else #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getHealthLabel($currentUserId,"9",$healthConfig), $hashMapInstance)) #set ($cellData = "$altMsg4Health") #end #elseif ($datatype.equals($currencyProfile)) #set ($alignData = "align='center'") #if ($cellData.equals("1")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"1",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg1Profile") #elseif ($cellData.equals("2")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"2",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg2Profile") #elseif ($cellData.equals("3")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"3",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg3Profile") #else #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProfileLabel($currentUserId,"9",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg4Profile") #end #elseif ($datatype.equals($currencyProgress)) #set ($alignData = "align='center'") #if ($cellData.equals("1")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"1",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg1Progress") #elseif ($cellData.equals("2")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"2",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg2Progress") #elseif ($cellData.equals("3")) #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"3",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg3Progress") #else #set ($altMsg = $CommonFunctions.displayReady($CommonFunctions.getProgressLabel($currentUserId,"9",$dataAgeConfig), $hashMapInstance)) #set ($cellData = "$altMsg4Progress") #end #elseif ($datatype.equals($typeIcon)) #set ($typeName = $CommonFunctions.displayReady($row.getType())) #set ($cellData = "$typeName") #set ($alignData = "align='center'") #elseif ($qid.equals("COREDATA_ProjectDiscussion")) #set ($cellData = $CommonFunctions.displayReady($cellData, 120)) #else #set ($cellData = $CommonFunctions.displayReady($cellData, $hashMapInstance)) #end #set ($elementName = $CommonFunctions.displayReady($summaryColumn.getLabel())) #if ($portfolioView) #set ($isClickable = false) #end #end #elseif ($qid.startsWith("COMPUTATION_")) #set ($cellData = $summaryValue) #set ($alignData = $stringAlign) #if ($formatting.equals("000000000001")) #set ($cellData = $CommonFunctions.formatMoney($currentUserId,$cellData)) #set ($alignData = $currencyAlign) #else #set ($cellData = $CommonFunctions.formatNumber($cellData)) #set ($alignData = $numberAlign) #end #elseif ($qid.startsWith("CUSTOMCAT_")) #set ($cellData = $summaryValue) #set ($alignData = $stringAlign) #else #set ($cellData = $summaryValue) #set ($alignData = $stringAlign) #set ($responseIcon = "") #if ($summaryValue.contains( ".gif" )) #set ($summaryValue = $CommonFunctions.stripBracketsForImageFilenames($summaryValue)) #set ($responseIcon = $summaryValue) #end #if ($summaryValue.length() == 0) #elseif ($latestResponse.size() == 1) #elseif ($latestResponse.size() > 1) #else #if ($formatting.equals("000000000001")) #set ($responseSummaryCalculation = $CommonFunctions.getQuestionResponseSummaryCalculation($qid)) #set ($summaryLabelValue = $CommonFunctions.formatMoney($currentUserId,$summaryValue)) #set ($alignData = $currencyAlign) #elseif ($datatype.equals("000000000004")) #set ($summaryLabelValue = $CommonFunctions.getFullNameDepartmentForUser($cellData,"|")) #elseif($datatype.equals("000000000015")) #set ($summaryLabelValue = $CommonFunctions.formatDate($currentUserId,$summaryValue)) #set ($alignData = $dateAlign) #elseif($datatype.equals("000000000008") ||$datatype.equals("000000000006") ) #set ($summaryLabelValue = $CommonFunctions.chopAndUnescapeString($summaryValue,255)) #set ($alignData = $stringAlign) #else #if ($datatype.equals("000000000007") || $datatype.equals("000000000101")) #set ($summaryLabelValue = $CommonFunctions.chopAndUnescapeString($summaryValue,120)) #else #set ($summaryLabelValue = $CommonFunctions.displayReady($summaryValue)) #set ($alignData = $numberAlign) #end #end #if ($datatype.equals("000000000001") && $formatting != "000000000001") #set ($summaryLabelValue = $CommonFunctions.formatNumber($summaryLabelValue)) #end #if ($responseIcon.length() > 0) #else #end #end #end #set( $questionIndex = $questionIndex + 1 ) #end #set ($mainIndex = $mainIndex + 1) #end #foreach ($summaryColumn in $sortedColumns) #set ($columnId = $summaryColumn.getLegaQuestionId()) #set ($columnTitle = $summaryColumn.getLabel()) #set ($datatype = $summaryColumn.getDataType() ) #if ($datatype.equals($trackingItem)) #set ($columnTitle = "") #elseif ($columnId.equals("COREDATA_InterDependency")) #set ($columnTitle = "") #else #set ($columnTitle = $CommonFunctions.displayReady($columnTitle)) #end #set ($adjustment = "") #if ($sortAttr == "$summaryColumn.getLegaQuestionId()") #set ($adjustment = "") #end #end
#if ($isClickable)#end #if(($cellData.length() > 0) || ($qid.equals("COREDATA_Tracking")))$cellData #else $notset_text #end #if ($isClickable)#end#if (!$portfolioView)#end #if($cellData.length() > 0)$cellData #else $notset_text #end #if ($portfolioView)#end#if($cellData.length() > 0)$CommonFunctions.displayReady($cellData, $hashMapInstance) #else $notset_text #endN/A #foreach ($responseElement in $latestResponse) #if ($formatting.equals("000000000001")) #set ($summaryLabelValue = $CommonFunctions.formatMoney($currentUserId,$responseElement)) #set ($alignData = $currencyAlign) #elseif($datatype.equals("000000000008")) #set ($summaryLabelValue = $responseElement) #set ($alignData = $stringAlign) #else #if ($datatype.equals("Text")) #set ($summaryLabelValue = $CommonFunctions.displayReady($responseElement,120)) #else #set ($summaryLabelValue = $responseElement) #set ($alignData = $numberAlign) #end #end #if ($datatype.equals("000000000001") && $formatting != "000000000001") #set ($summaryLabelValue = $CommonFunctions.formatNumber($summaryLabelValue)) #end #if ($responseIcon.length() > 0) #else #end #end
$CommonFunctions.displayReady($summaryLabelValue)
#foreach ($responseElement in $latestResponse) #end
$CommonFunctions.displayReady($responseElement)
$CommonFunctions.displayReady($summaryLabelValue)
$adjustment$columnTitle