Usage Note 42627: Modifying the height of the prompt panel for a SAS® Stored Process
When you run a SAS Stored Process using the SAS Stored Process Web Application, the prompt panel has a fixed height. The panel might also contain a scroll bar if the SAS Stored Process contains a large number of prompts (parameters).
To modify the height of the prompt panel, follow these steps:
- If you are using SAS® 9.4, locate the following directory on your application web server:
your-configuration-directory/Lev1/Web/WebAppServer/SASServer1_1/
sas_webapps/sas.theme.default.war/themes/default/styles
If you are using SAS® 9.3 or SAS® 9.2, locate the following directory on your JBoss application web server:
JBoss-home-directory/server/SASServer1/deploy_sas/sas.themes.ear
- Within this directory, the following CSS files contain the style setting for the container size:
• sasComponents_IE_6.css
• sasComponents_IE_7.css
• sasComponents_FF_1.5.css
• sasComponents_FF_1.5_RTL.css
• sasComponents_IE_7_RTL.css
• sasComponents_IE_6_RTL.css
Each of these files is used by a different web browser. For example, the sasComponents_IE_7.css file is used by Microsoft Internet Explorer 7 and later.
You can determine which CSS file your web browser is using by selecting View ► Source in your browser when you view a SAS Stored Process prompt panel. The CSS file is specified near the top of the HTML source file.
- Make backup copies of the CSS files that are listed in the previous step.
- In the original CSS files, locate the following .promptGroupsContainer style element:
.promptGroupsContainer {
height:489px;
overflow:auto;
position:relative;
}
- Edit the height in this style element in the CSS file for the web browser that you are using to test the prompt-panel appearance. For example, if you are using Internet Explorer 7 or later, then edit the sasComponents_IE_7.css file.
You can change the height value to a percentage or an arbitrary value in pixels.
For example, you can maximize the height of the prompt panel by changing the style element as follows:
.promptGroupsContainer {
height:100%!important;
overflow:auto;
position:relative;
}
Note: It is crucial to add !important to the end of the height specification. Otherwise, your change has no effect.
Modifying the height setting affects all SAS Stored Processes that contain prompts when you execute them with the SAS Stored Process Web Application.
After you modify the CSS file, you should not need to restart your web application server. You can do a hard refresh for your web browser to test the change. Press Ctrl+F5 or Shift+F5 when you view a prompt window to hard-refresh the page.
After you successfully modify the specific CSS file for your web browser, you need to modify the other CSS files (using the same height value) for other web browsers that your users run.
Operating System and Release Information
SAS System | SAS Integration Technologies | z/OS | 9.2 TS2M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M0 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M0 | |
Microsoft® Windows® for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M0 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M0 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M0 | |
Microsoft Windows XP Professional | 9.2 TS2M0 | |
Windows Vista | 9.2 TS2M0 | |
Windows Vista for x64 | 9.2 TS2M0 | |
64-bit Enabled AIX | 9.2 TS2M0 | |
64-bit Enabled HP-UX | 9.2 TS2M0 | |
64-bit Enabled Solaris | 9.2 TS2M0 | |
HP-UX IPF | 9.2 TS2M0 | |
Linux | 9.2 TS2M0 | |
Linux for x64 | 9.2 TS2M0 | |
Solaris for x64 | 9.2 TS2M0 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
You can modify the height of the SAS® Stored Process prompt panel by using the approach that is described in this note.
Date Modified: | 2019-04-05 10:21:28 |
Date Created: | 2011-03-08 11:56:22 |