C H A P T E R 11 |
Tutorial--Section 2.5 Link Login Page to Customer Page |
This chapter describes how to link the LoginPage to the CustomerPage in the Sun ONE Application Framework application, filtering the data the Customer page displays based on the customer's login.
Modify the logic in the handleLoginRequest() method as shown in the code example below so that in the event of a successful login, the Customer page displays with the customer data that corresponds to the value entered in the User Name field.
Following is the code you need to enter to modify the logic in the handleLoginRequest() method.
Copyright © 2003, Sun Microsystems, Inc. All rights reserved.