Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GenerateXHTML – PB Docs 2017 – PowerBuilder Library

GenerateXHTML – PB Docs 2017

GenerateXHTML

method (DataWindows)

Description

Generates the inline content of the Web DataWindow in XHTML.

Obsolete method

GenerateXHTML is obsolete and should not be used, because the Web
DataWindow technology is obsolete.

Applies to

DataWindow type

Method applies to

Web

Server component

Syntax

Web DataWindow server
component

Argument

Description

dwcontrol

The name of the server-side DataWindow control you
want to generate in XHTML.

page

An array for passing page variables. The page
variables must be defined as String datatypes.

Return value

Integer. 1 indicates success, and -1 indicates failure.

Usage

At runtime, GenerateXHTML performs the tasks required to generate
the dynamic XHTML, including retrieving the action context and generating
the XHTML inline. Connection errors, including database error messages,
are also generated inline.

For information about the advantages and limitations of each
rendering format, see DataWindow Programmers Guide.

The GenerateXHTML method delivers the DataWindow in XHTML to the
client browser and it generates a CSS style sheet and JS files that are
cached on the client side and referenced in the XHTML source.

Examples

The following JSP example specifies subdirectories of the current
application directory to publish the CSS and JS components of the Web
DataWindow and generates the DataWindow in XHTML:

See also

Generate

GenerateXMLWeb


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x