JavaScript Include Files
\The Sandbox \PB History & Future \New In PB8 \JavaScript Includes
Workspaces
Code Examples
UI changes
Working with 
PB8
Starting PB
System Tree
Library painter
Clip & Output
Source editor
AutoScript
Source Control
Exception
Handling
Web Targets
4GL Web
Pages
Web DW
Scripting
Web DW
Container
Web DW
Events
Server-side
Methods
JavaScript
Includes
HTML
Rendering
EAServer
Profiles
EAS/Existing
Interfaces
EJB Clients
EAS
Transactions
SSL
Connections
Concurrency
Property
Multiple
PB VMs
DB Interfaces
ANSI
Outer Join
Proxy
Connections
Loading
DB Libs
PB.INI/DB Info
Command Line
Deployment
Version
for EXEs
Color Support
New Object
Properties
DW
Expressions
DW
Properties
PowerScript
Functions
SaveObject
OLE Event
DBCS Support
GUIDs & MIMEs

Description

The Web DataWindow control now provides support for client-side JavaScript include files.

Usage

You can have the HTMLGenerator component create JavaScript .js files as the source of SCRIPT tags when it generates the Web DataWindow's JavaScript functions. Using .js files reduces the size of the HTML page rendered in the client browser and improves performance after the page is first loaded.

If you want to use .js files, you can set the value of the DataWindow HTMLGen.ResourceBase property to the location of the .js files. (Then you can specify the names of the files where you cache common Web DataWindow methods. You can generate these files from a JavaScript Generation wizard that you start from the Property view of the DataWindow painter or the Tool tab of the New dialog box.

PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com