Java Reference
In-Depth Information
Figure 12-47.
6.
In the Standard Faces Components tray, click Link and then click on the employee number
outputText field.
7.
In the properties view, add a navigation rule that specifies /c12/UpdateEmp.xhtml as the
Page for any action and delete the Label text (i.e., Link).
When the link to UpdateEmp is executed, we will pass the selected employee number as a request parameter to
UpdateEmp and have empRRUpdate use that value in the filter condition.
8.
Make sure the link is selected and on the left of the Properties view, click the Parameter tab
beneath the link tab.
9.
Click the Add Parameter button and in the Name area specify employeeNumber.
10.
Click the Value field to display the drop-down button and click the drop-down button to
display the Select Page Data Object window.
11.
Expand the selectEmpRRL items, choose the EMPNUM field (see Figure 12-48 ), and click
the OK button.
 
Search WWH ::




Custom Search