Inserting the generated HTML or XHTML into the page
Generate
After the server script has done all the setup, it calls the
Generate function, which returns the generated HTML as a string.
Use out.print to insert code in the page template:
1 |
out.print( dwGen.Generate() ); |
GenerateXHTML and GenerateXMLWeb
You return the Web DataWindow in XHTML with the GenerateXHTML
command:
1 |
out.print( dwGen.GenerateXHTML() ); |
The GenerateXMLWeb method generates the content, layout, style,
and client–side functionality of the DataWindow separately
in XML, XSLT, CSS, and JS files. It returns the browser-specific
XSLT transformation script that uses the generated files to render
the DataWindow in XHTML on the client side:
1 |
out.print( dwGen.GenerateXMLWeb() ); |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest