Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
2Activity

Table Of Contents

CHAPTER 1 Introduction to PowerBuilder
What PowerBuilder is
What PowerBuilder is 3
The PowerBuilder environment
PowerBuilder objects
CHAPTER 2 About the PowerBuilder Tutorial
Learning to build a client/server application
Learning to build a client/server application 19
Learning to build a Web application
Learning to build a JSP Web services application
How you will proceed
How long it will take
What you will learn
Setting up for the tutorial
LESSON 1 Starting PowerBuilder
Create a new workspace
Create a target
Specify an icon for the application
Change the size of the main window
Run the application
LESSON 2 Customizing the PowerBuilder Environment
Manipulate the System Tree window
Open an object
Manipulate views
Add an extra Script view
Display view title bars
Float and dock views
Manipulate tabbed views
Save a view layout scheme
Reset the default view layout scheme
Set up the toolbars
•Show labels on toolbar buttons
Show labels on toolbar buttons
Float the toolbars
Reposition the toolbars
LESSON 3 Building a Login Window
Create a new window
Add controls to the window
Add a Picture control
Add StaticText controls
Specify properties of the StaticText controls
Add SingleLineEdit controls
Specify properties of the SingleLineEdit controls
Add CommandButton controls
Specify properties of the CommandButton controls
Change the tab order on the window
Write the script to open the window
Modify the frame window Open event
Using comments
Compile the script
LESSON 4 Connecting to the Database
Look at the EAS Demo DB database
Look at the database profile for the EAS Demo DB database
Look at table definitions in the EAS Demo DB database
About extended attributes
Run the Connection Object wizard
Declare a global variable
Modify the connection information
•Modify the of_GetConnectionInfo function
Modify the of_GetConnectionInfo function
Call the connection service manager
Complete the login and logout scripts
Set up shortcuts for AutoScript
Add code to the OK button Clicked event
Add code to the Cancel button Clicked event
Add code to the application Close event
LESSON 5 Modifying the Ancestor Window
Add a library to the search path
Create a new ancestor sheet window
Create a new sheet window inheritance hierarchy
Add a DataWindow control for the master DataWindow
Add a DataWindow control for the detail DataWindow
View the scripts inherited from the user object
Add user events and event scripts
Add scripts to retrieve data for the DataWindow controls
Adjust a runtime setting for sheet window size
LESSON 6 Setting Up the Menus
Modify the frame menu
•Modify the File menu
Modify the File menu
Enable Help menu items
Create a new sheet menu
•Inherit and save a new menu
Inherit and save a new menu
Add items to the new menu
Add a new toolbar for the new menu items
LESSON 7 Building DataWindow Objects
Create and preview a new DataWindow object
Save the DataWindow object
Make cosmetic changes to the first DataWindow object
Create a second DataWindow object
•Select the data source and style
Select the data source and style
Select the table and columns
Define a retrieval argument
Specify a WHERE clause
View the DataWindow in the DataWindow painter
Make cosmetic changes to the second DataWindow object
•Rearrange the columns and labels
Rearrange the columns and labels
Align the columns and labels
Display the arrow for a drop-down DataWindow edit style
LESSON 8 Attaching the DataWindow Objects
Attach the DataWindow object to the master DataWindow control
Attach the DataWindow object to the master DataWindow control
Attach the DataWindow object to the detail DataWindow control
Attach the DataWindow object to the detail DataWindow control
Attach DataWindow objects to the Product window
Run the application again
LESSON 9 Running the Debugger
Add breakpoints in application scripts
Run in debug mode
Set a watch and a conditional breakpoint
LESSON 10 Exception Handling
Add a new sheet window to the existing application
Create the sheet window
Call the methods and catch the exceptions
•Test the new sheet window
Test the new sheet window
Add a test for the divide-by-zero error
LESSON 11 Preparing the Application for Deployment
Create the Project object
Create the executable file
Create a shortcut
Test the executable file
LESSON 12 Creating a JSP Web site
Set up an EAServer connection profile
Create a JSP Web site
Create and modify a basic JSP
Create a 4GL introductory JSP page
Change type face
Add a graphic
Add absolute positioning to a graphic
Add page navigation
Create a 4GL product information Web page
Add a hyperlink
Add a button
Create a login page with validation and redirection
Create a basic login page
Add session variables
Add single line text controls
Deploy and run the Web site
LESSON 13 Using Web DataWindows
Build a Web DataWindow Container
Create a Web page with a Web DataWindow Container
Add other controls to the DataWindow Web page
Enable a new product information button
Add a button to update the database
Add a hyperlink to the Add Product page
Add a DataWindow to an existing Web page
Add the ability to retrieve product information
Test and run the Web application
Test the Addproduct.jsp Web page
Add a new product to the database
Run the Web application
LESSON 14 Creating a JSP Web services application
Create a JSP target
Use a Web service with a simple JSP application
Create non-4GL pages for a JSP application
Complete the application start page
Use the JSP Web Service Proxy wizard
Add calls to the Web service
Build, deploy, and run the application
Use a Web service with a 4GL JSP application
Create a 4GL JSP page
Add the Web service and a page variable to the 4GL page
Add a table to the 4GL JSP page
Complete the call to the Web service
Build, deploy, and run the 4GL JSP page
Index
0 of .
Results for:
No results containing your search query
P. 1
pbgs

pbgs

Ratings: (0)|Views: 38 |Likes:
Published by lageh_07

More info:

Published by: lageh_07 on Oct 13, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/27/2012

pdf

text

original

You're Reading a Free Preview
Pages 7 to 89 are not shown in this preview.
You're Reading a Free Preview
Pages 96 to 163 are not shown in this preview.
You're Reading a Free Preview
Pages 170 to 219 are not shown in this preview.
You're Reading a Free Preview
Pages 226 to 270 are not shown in this preview.
You're Reading a Free Preview
Pages 277 to 348 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->