<!-- /project/generalinfoconfidentiality.vm --> <script type="text/javascript"> function toggleACL(el) { var aclListName = document.getElementById("accessListName"); var aclList = document.getElementById("accessListVector"); if (el.options[el.selectedIndex].value == "Yes") { aclListName.style.display = "block"; aclList.style.display = "block"; } else { aclListName.style.display = "none"; aclList.style.display = "none"; } } </script> <table style="height:100%;width:100%"> <tr> <td colspan='2' class='tablebodyhint' align='left' style="padding:2px;border:1px solid black;width:100%;"> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.generalinfoconfidentiality.instruction") <br>$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.generalinfoconfidentiality.line2") <br>$CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.generalinfoconfidentiality.line3") </td> </tr> <tr> <td style="padding:0px;width:100%;height:100%;padding-top:5px"> <table style="border-collapse:collapse;width:100%;height:100%;;background-color:#FFFFFF;border:1px solid gray"> <tr> <td style="width:100%;height:100%;padding:10px"> <table style="border-collapse:collapse;width:100%;height:100%"> <tr> <td style="width:100%"> <table style="width:100%;height:100%;background-color:#FFFFFF"> ## Confidentiality #if ($policyCheck.canSeeCoreData("Confidentiality")) <tr> <td style="width:auto;white-space:nowrap;vertical-align:top"> <span class="systemLabel"> $CommonFunctions.getDisplayReadyLabel("Confidentiality"): </span> </td> <td style="width:100%;padding-bottom:5px;;vertical-align:top"> <select class="formControl" id='confidentialList' name='confidentialList' #if (!$canSpecifyConfidentiality) disabled #end onChange="toggleACL(this)"> #if ( ($pCon.getConfidentiality().length() == 0) || ($pCon.getConfidentiality().equals("No")) ) <option value='No' selected> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "Controls", "controls.common.no") </option> #else <option value='No'> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "Controls", "controls.common.no") </option> #end #if ($pCon.getConfidentiality().equals("Yes")) <option value='Yes' selected> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "Controls", "controls.common.yes") </option> #else <option value='Yes'> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "Controls", "controls.common.yes") </option> #end </select> </td> </tr> <tr> <td id="accessListName" style="white-space:nowrap;vertical-align:top;padding-top:10px" #if ($pCon.getConfidentiality().equals("No")) style="display:none" #end> <span class="systemLabel"> $CommonFunctions.displayTermFromResourceBundle($currentUserId, "ProjectDialogs", "getcoredatadetail.generalinfoconfidentiality.accesslist") </span> </td> <td id="accessListVector" style="width:100%; height:100%; padding:0px;padding-top:10px" #if ($pCon.getConfidentiality().equals("No")) style="display:none" #end> <script type="text/javascript"> allistbox = new XListBox("allistbox") ; #if ($canSpecifyConfidentiality) var alchooser = new Chooser('USER', '$pCon.getAccessList()', "allistbox", null, "applyChooserAccessList") ; allistbox.setActionHandler("alchooser.launch()"); #end #foreach ($item in $selectedItems) allistbox.add("$CommonFunctions.displayReady($item.getName())","$item.getId()") ; #end allistbox.configMenubar("top","left") ; allistbox.draw() ; </script> </td> </tr> #end </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table>