Home

 

Adding navigation between the pages

We already implemented the navigation from logon to customer details. Now we implement the rest of the navigation:

In the accountDetails.jsp:

In the Page Data view, expand Faces Managed Beans Æ logout (....) Æ logout. Drag the logout action on top of the Logoff button. This creates the binding #{logout.logout}.
Select the Back button, and in the Quick Edit view, click in the empty code, then complete the code as:

return "customerDetails";

In the customerDetails.jsp:

In the Page Data view, expand Faces Managed Beans Æ logout (....) Æ logout. Drag the logout action on top of the Logoff button. This creates the binding.
ibm.com/redbooks