Data.XMLWeb – PB Docs 126

Data.XMLWeb DataWindow object property

Description

A string containing browser-specific JavaScript that performs
the XSLT transformation on the browser after the XML Web DataWindow
generator generates all necessary components.

Controls

DataWindows

Syntax

PowerBuilder dot notation:

Describe argument:

Usage

If any of the Export.XHTML properties have
been set, the string that is generated reflects the values of these
properties.

The resulting XHTML string contains a <form> element
that supports data input, which works with separate client scripts
for data validation and events.

This JavaScript is either dynamically generated and/or
statically deployed. To generate static JavaScript, select HTML/XHTML
from the Format to Configure drop-down list on the JavaScript Generation
page in the DataWindow painter Properties view, specify names for
the files you want to generate, and click the Generate File button.
For more information about JavaScript caching, see the DataWindow
Programmers Guide
.

The generated XHTML string also includes:

  • XHTML
    input elements

  • XHTML and JavaScript for navigation based on DataWindow
    button controls with scrolling actions

  • State information about the modification status
    of data items

JavaScript for navigation passes the state of the DataWindow
back to the page server in two variables: objectname_action and objectname_context.
It also passes back any page parameters defined in the HTMLGen.SelfLinkArgs property.
All applicable HTMLGen.property values also affect the way the XHTML
is generated.

The resulting XML Web DataWindow is a client-side control
for a Web page, such as a JSP page, with events and methods that
can cooperate with a server component for a Web-based data entry
application.

Examples

The following statements set the template used by
the DataWindow dw1 to t_report and
return the generated XSLT transformation to the string ls_transform.
To generate the string, the final statement invokes the XML Web DataWindow
generator to generate the XML, XSLT, CSS, and JavaScript components,
applying the t_report template to the
generated XSLT and CSS style sheet.


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