JSGen.property (obsolete)
Description
Settings that specify the physical path to which generated
JavaScript is published and the URL indicating the location of the
generated JavaScript.
Obsolete property
JSGen.property is obsolete and should not be used, because the
Web DataWindow technology is obsolete.
The Web Generation tab and JavaScript Generation tab are
preserved for the backward compatibility only.
Applies to
DataWindow objects
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.JSGen.property |
Describe and Modify argument:
|
1 |
"DataWindow.JSGen.property { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
property |
One of the following:
|
|
value |
(exp) PublishPath — A string that specifies the (exp) |
Usage
The PublishPath folder must correspond to the URL specified in the
ResourceBase property. At runtime, after PowerBuilder generates
JavaScript to the PublishPath folder, it includes it in the final XHTML
page by referencing it with the value of the ResourceBase property in a
<script> element.
In the painter
In the JavaScript Generation tab in the Properties view for the
DataWindow object, select XHTML from the Format to Configure list and
specify the ResourceBase and Publish Path locations.
Examples
These statements set the JSGen.ResourceBase and JSGen.PublishPath
properties:
|
1 2 3 4 |
dw1.Object.DataWindow.JSGen.ResourceBase= & 'http://www.myserver.com/xmlsource' dw1.Object.DataWindow.JSGen.PublishPath= & 'C:workoutputfilesxmlsource' |