Powerbuilder Documentation 10.5

Powerbuilder Documentation 10.5

Writing server scripts – PB Docs 105

Writing server scripts When editing Web pages in Page view of the HTML editor, you use the integrated Script editor to add scripts for events appropriate to the context in which you are working. You add scripts for the server events and write other server scripts the same way you do for client event scripts….

Binding data to DataWindow retrieval arguments – PB Docs 105

Binding data to DataWindow retrieval arguments The Web DataWindow DTC can bind data from the current page or a linking page as values for retrieval arguments, allowing you to control what data is retrieved. You can use retrieval arguments to allow a single page to retrieve different sets of data depending on a user’s selection,…

HTML editor views – PB Docs 105

HTML editor views The HTML editor has three views: Page, Source, and Preview. Each view provides a different way of working with your HTML project. Page view Page view provides WYSIWYG editing for an HTML page without requiring knowledge of HTML tagging. Use Page view as your main editing environment or to supplement the editing…

Custom tag library for the Web DataWindow – PB Docs 105

Custom tag library for the Web DataWindow You can use the Web DataWindow custom tag library to specify the parameters and values required by a Web DataWindow on a JSP page. The tag library is defined in the file DataWindow100.tld. To use the tag library, place the DataWindow100.tld file in a WEB-INF/tlds directory in your…

Integrating with EAServer – PB Docs 105

Integrating with EAServer EAServer is a middle-tier component transaction server that hosts executable business objects called components. You can access components on EAServer from your Web applications. EAServer can host various types of components including PowerBuilder objects and Java classes or beans. Although these components have different origins, they have several things in common. They:…

Creating remote databases – PB Docs 105

Creating remote databases Any SQL Anywhere database can be converted for use as a remote database in a MobiLink installation. You can also create a new SQL Anywhere remote database that uses all or part of the schema of the consolidated SQL Anywhere database. You create the database on your desktop using the Sybase Central…

Managing information in the Windows registry – PB Docs 105

Managing information in the Windows registry Functions for accessing the Registry PowerBuilder provides several functions you can use to manage application settings in the Windows registry. Table 38-2: PowerBuilder registry setting functions Function Description RegistryDelete Deletes a key or a value in a key in the Windows registry. RegistryGet Gets a value from the Windows…

Chapter 16 Implementing Rich Text – PB Docs 105

Chapter 16 Implementing Rich Text About this chapter This chapter explains how to use rich text in an application, either in a RichText DataWindow object or in a RichTextEdit control. Contents Topic Using rich text in an application Using a RichText DataWindow object Using a RichTextEdit control Rich text and the end user Before you…

PDF and XSL-FO export – PB Docs 105

PDF and XSL-FO export PowerBuilder can save the DataWindow’s data and presentation as a Portable Document Format (PDF) file using two techniques. By default, PowerBuilder saves as PDF using a distiller. PowerBuilder can also save to PDF or XSL Formatting Objects (XSL-FO) format using the Apache XML Formatting Objects processor. Using the Ghostscript distiller In…

Printing a job – PB Docs 105

Printing a job PrintOpen must be the first function call in every print job. The PrintOpen function defines a new blank page in memory, specifies that all printing be done in the printer’s default font, and returns an integer. The integer is the print job number that is used to identify the job in all…