![]() | ![]() | ![]() |
When you execute a stored process with the SAS® Stored Process Web application, an intermediate Execution Options page will be displayed before the stored process is executed if you specify _action=properties in the URL address.
It is possible to suppress the display of the Execution Options page if you use the following approach. This approach also enables you to change the default values for the HTTP Method option and the Display results in a new window option.
These instructions are specific to a Tomcat middle–tier server. If you are running a different Java Application server, the path will be different.
Text to Include in the dynamicPP_navigate.js File
// You can set SAS_HideExecutionOptions to TRUE to hide
// the execution options or to FALSE to show the options.
var SAS_HideExecutionOptions=true;
// You can set SAS_HTTPMethod to GET to change the HTTP
// method from the default value POST to GET.
var SAS_HTTPMethod="post";
// You can set SAS_ResultsNewWindow to FALSE to force
// SAS output to open in the same window.
var SAS_ResultsNewWindow=true;
// Highlight the selected menu item and display the
// corresponding content function
// showContent(menuItemName, menuAnchorName,
// contentElementName) {
// /* Copyright(c) 2003-2004 by SAS Institute Inc.,
// Cary, NC USA. All rights reserved. */
var anchors, contentElement, contentWindow, i, size,
menuElement;
// selectedLeftMenuItem, visibleContentElementName and
// menuAnchorElement are global.
if (SAS_HideExecutionOptions == true) {
anchors = document.getElementsByTagName("a");
size = anchors.length;
for (i = 0; i < size; i++) {
href = anchors[i].href;
if (href.indexOf("AdvancedServerOptions") >= 0) {
anchors[i].style.display="none";
}
}
if (visibleContentElementName == "AdvancedServerOptions")
return;
}
// You can set the HTTP method on the Execution
// Options panel if GET is requested.
if (SAS_HTTPMethod.toLowerCase() == "get") {
document._advancedOptions.httpmethod[0].checked = true;
document._advancedOptions.httpmethod[1].checked = false;
}
// You can set the Display results in new window
// option on the Execution Options panel to "No",
// if requested.
if (SAS_ResultsNewWindow == false) {
document._advancedOptions.resNewWindow[0].checked = false;
document._advancedOptions.resNewWindow[1].checked = true;
}
menuAnchorElement = document.getElementById(menuAnchorName);
// Hide the currently visible element.
contentElement = document.getElementById(visibleContentElementName);
contentElement.style.display = "none";
// Show the desired element.
contentElement = document.getElementById(contentElementName);
contentElement.style.display = "";
menuElement = document.getElementById(menuItemName);
// Deselect the previously selected menu item, if any.
if (selectedLeftMenuItem != null)
selectedLeftMenuItem.className="portalTabVert";
// Select the menu item that is clicked.
menuElement.className="portalActiveTabVert";
selectedLeftMenuItem = menuElement;
visibleContentElementName = contentElementName;
window.setTimeout("menuAnchorElement.focus();", 200);
}
| Product Family | Product | System | SAS Release | |
| Reported | Fixed* | |||
| SAS System | SAS Integration Technologies | Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP4 | |
| Microsoft Windows NT Workstation | 9.1 TS1M3 SP4 | |||
| Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.1 TS1M3 SP4 | |||
| Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP4 | |||
| z/OS | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP4 | |||
| Microsoft Windows XP Professional | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled AIX | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled HP-UX | 9.1 TS1M3 SP4 | |||
| 64-bit Enabled Solaris | 9.1 TS1M3 SP4 | |||
| HP-UX IPF | 9.1 TS1M3 SP4 | |||
| Linux | 9.1 TS1M3 SP4 | |||
| Linux on Itanium | 9.1 TS1M3 SP4 | |||
| OpenVMS Alpha | 9.1 TS1M3 SP4 | |||
| Solaris for x64 | 9.1 TS1M3 SP4 | |||
| Tru64 UNIX | 9.1 TS1M3 SP4 | |||
| Type: | Usage Note |
| Priority: |
| Date Modified: | 2009-07-06 14:59:28 |
| Date Created: | 2009-04-16 12:18:45 |


