O'Reilly logo

IBM Rational Application Developer V6 Portlet Application Development and Portal Tools by Ryan Wilson, Gianfranco Rutigliano, George Kroner, Belen Gonzalez, Karla Galvan, Cristiano Cesario, Juan R. Rodriguez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

17.5. Binding the front end to the calculator

With the UI design completed, you can now hook it up to the CalculatorBean to perform the operations and display the result. Execute the following steps:

1.
Import the CalculatorBean.
a. Create a Java package named itso.jsf.calculator.
Figure 17-22. Creating a package

b. Select the package and in the context menu, select Import....
c. Select File System, locate and select the file CalculatorBean.java.
d. Click Finish.
2.
Open the calculate.jsp page in Page Designer and go to the Page Data view. In the context menu, select New → JavaBean (Figure 17-23).
Figure 17-23. Creating a new JavaBean in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required