Web Development
Contents:
About This Document
Documentation Website
How to Print the Document
Documentation Conventions
Contact Us!
1. Overview of Panther Web Applications
How the Internet Works
Retrieving Documents with URLs
HTTP
Formatting Documents With HTML
Viewing HTML in Web Browsers
Using the Internet and Intranets
Components of a Panther Web Application
Two-Tier Processing
Three-Tier Processing
Web Application Server Processes
2. Web Application Setup
Web Application Components
Requester Program
Application Directory
Cache Directory
Configuration Directory
Log Files
Logging Application Errors
Setting Up the Web Application Server
Configuring the Requester Program
Using CGI
Using ISAPI
Using NSAPI
Using Java Servlets
Configuring Middleware Access
Configuring Library Access
Using Remote Libraries
Configuring Database Access
Configuring a Windows Server
Creating a New Web Application
Using the Web Setup Manager
To run the Web setup manager:
Starting Your Panther Web Application
Using monitor
Starting as a Service
Accessing Your Panther Web Application
Setting Web Browser Options
Firewalls
3. Setting Properties for Web Applications
Screen Properties
Web Options Properties
Widget Types
Widget Properties
Web Options Properties
Property Usage in Web Applications
Push Buttons
Using push buttons to perform processing in the browser
Selection Groups
Grid Widgets
Dynamically Resizing Grids
Selecting and Modifying Grid Data
Scrolling Grids
Widget Positioning
Overlapping Widgets
Horizontal and Vertical Anchors
Snap to Grid
Spacing of Widgets
Positioning Regions
Maximum Usage of Space
Fonts
Font Properties
Font Name
Font Size
Application Properties
4. Opening Screens
Processing Screen Requests
Specifying a URL
Encoding Parameters in the URL
Example
Encoding ASCII Characters
Transmitting Screens Securely
Setting Screen Properties
Determining Screen Sequence
Configuring Your Web Application
5. Web Events
Web Event Hooks
Specifying Web Event Hooks
Web Application Events
Web Application Server Events
Screen Events
Controlling Entry Processing
Screen Entry Context Flag
Screen Entry Processing and Option Menus
Web Entry Context Flags
6. Preserving Application State
Caching Data
Posting Screens Back to the Server
Getting Screens from the Server
Cached Data
Saving State Data in Cookies
Unpreserved State Information
LDB
Window Stack
Property Changes
7. JPL Globals in Web Applications
Application Globals
Context Globals
Transient Global Variables
8. Customizing HTML Generation
Setting Custom HTML Properties
Screen Custom HTML Properties
Widget Custom HTML Properties
Using HTML Templates
HTML Template Tags
HTML Template Document
Conditional Processing
Passing Database Values
Submitting a Form
Using Hyperlinks
Creating Hyperlinks
Setting the Default Link Property
Setting the Item Link Property
Calling sm_web_invoke_url
Placing an Action List Box Inside a Grid
Using Hyperlinks in Reports
Setting Target Windows
Setting the Window for a Specific Hyperlink
Setting the Default Window for All Screen Hyperlinks
Setting the Window for a Screen
Specifying the Browser's Title Bar
Using Graphics
Setting Graphics Size
Graph Widgets
Image Maps
Creating Image Maps in JPL
Loading Graphics at Runtime
Using the FRAME Extension
Using Style Sheets
Creating Headings
To create a heading:
Drawing Horizontal Rules
To create a horizontal rule:
Using Cookies
Retrieving Cookie Values
Embedding Java Applets
To embed a Java applet into your Panther screen:
Refreshing Screens in a Web Browser
To specify a META tag:
Using ActiveX Controls
Using ActiveX Controls in Web Browsers
Signing Your ActiveX Controls
Submitting Data to the Web Application Server
Submitting Data using JavaScript
Submitting Data using VBScript
Generating HTML for ActiveX Controls
Embedding Sound
To embed a sound file in your application:
9. Using JavaScript and VBScript
Browser Events
JavaScript Event Properties
Screens
Widgets
Setting Event Properties
Writing JavaScript and VBScript Functions
How to Define a JavaScript or VBScript Function
Accessing Widget Values
Accessing Widgets in JavaScript and VBScript
Automatic JavaScript Generation
10. Accessing Databases
Connecting to the Database
Initializing the Panther Client
Using Database Cursors
Database Transactions
Fetching Multiple Rows
11. HTTP Variables
Definitions
12. Web Initialization Options
Setup Variables
Required Settings
Required for JetNet/Oracle Tuxedo Applications
Optional Settings
Database Information
Behavior Variables
Required Settings
Optional Settings
Sample Initialization File
13. Deploying Web Applications
How to Configure a Panther Web Application
A. Web Application Utility
monitor
B. Web Setup Manager
Using the Web Setup Manager
To create a new Panther Web application:
C. Setting Up an NSAPI Web Server
Configuring Your NSAPI-Compliant Server
Accessing the Panther Web Application
A Sample Obj.conf File
D. Using Java Servlets
Installing Java Servlet Support
To install Java servlet support:
Accessing the Panther Web Application
To access the Panther web application using Java servlets:
Panther's Java Servlet Classes
Methods
E. Sample Web Applications
General Applications
Feature-Specific Examples
Index