New Web DW Server-side Methods
\The Sandbox \PB History & Future \New In PB8 \Server-side Methods
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 methods listed in this section are now supported by server-side Web DataWindow objects. The Web DataWindow was formerly known as the HTML DataWindow.

It is also possible to call some of these methods in client-side scripts on the Web DataWindow client control. The description for each method in the DataWindow Reference indicates the type of DataWindow to which it applies.

Usage

When you place a Web DataWindow DTC onto a 4GL Web page, you create an object of type PSWebDataWindowClass on the application server. This object has its own server-side events and methods. Server-side methods are listed below. For information on server-side events, see New Web DataWindow events.

The Web DataWindow server component resides on a component server. When you install EAServer, a default DataWindow server component is provided for you. The methods that apply to the default server component are defined in an interface definition file (HTMLGenerator80.idl). If you are using a Web DataWindow DTC and the Web Target object model, you would not call these methods directly, but would use the methods defined for objects of type PSWebDataWindowClass.

You can also create a custom DataWindow server component with its own server-side methods.

The syntax you use, including the data types of method arguments, depends on the object type or DataWindow control on which you call the method. Methods of the Web DataWindow server component with more than one syntax have different names to overcome restrictions on the use of overloading. These name variations are listed under the main method name (for example, ClearValuesByColNum is listed under the ClearValues method).

 

See the DataWindow Reference for descriptions of the following methods (that are now available for server-side

ClearValues
Create
DeletedCount
DeleteRow
Describe
Filter
FilteredCount
Find
FindGroupChange
GetColumn
GetColumnName
GetFormat
GetItemDate
GetItemDateTime
GetItemNumber
GetItemStatus
GetItemString
GetItemTime
GetRow
GetValidate
GetValue
GroupCalc
ImportString
InsertRow
ModifiedCount
Modify
ReselectRow
Reset
ResetUpdate
Retrieve
RowCount
RowsDiscard
SaveAs
SetColumn
SetColumnLink
SetDetailHeight
SetDWObject
SetFilter
SetFormat
SetItem
SetItemDate
SetItemDateTime
SetItemNumber
SetItemStatus
SetItemString
SetItemTime
SetPosition
SetRow
SetServerServiceClasses
SetSort
SetSQLSelect
SetValidate
SetValue
SetWeight
Sort
Update

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

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