Generating the path in script
PowerBuilder 10 allows you to deploy a DataWindow that you select in the Web DataWindow DTC as part of your JSP or Web target. The Generate Path in Script field on the DataWindow page of the Web DataWindow DTC Properties dialog box contains three radio buttons: Absolute, Relative, and None.
After you add or import a PBL or PSR to your current target path and select that PBL or PSR as your DataWindow source, you can select the Relative radio button. If the Relative radio button is selected when you deploy your target, the PBL or PSR will be deployed with the target. Typically, you would select the Relative radio button only if your page server also functions as a DataWindow component server.
Deploying more than once If EAServer has loaded a DataWindow from your target and you attempt to deploy the target a second time while the Relative radio button is selected, your PBL might be locked and the deployment might fail. To avoid this, you can disable instance pooling for the component in EAServer Manager. After you have finished testing and editing the target containing the DataWindow object, you can enable instance pooling. Instance pooling provides better performance in a production environment when a component instance can be reinitialized and reused for multiple clients.
If you select the Absolute radio button, you must make sure that the path to the DataWindow source is the same on your development machine as on the machine that hosts the server. If you intend to deploy the DataWindow source manually to the system path of the server machine, you can select the None radio button.
Generating HTML, XML, or XHTML
By default you generate a Web DataWindow as HTML, but in PowerBuilder 10 you can also generate a Web DataWindow as XML or XHTML. The GenerateXMLWeb and GenerateXHTML methods have been added to PSDataWindowClass and PSWebDataWindowClass of the Web target object model.
For more information
For more information, see Working with Web and JSP Targets.
|