beautypg.com

HP Integrity NonStop H-Series User Manual

Page 276

background image

NOTE:

The resumeBean is registered as a managed bean in the

faces-config.xml

,

which is described in the following part of the

faces-config.xml

:

resumeBean

coreservlets.ResumeBean

session

The navigation rules in the

faces-config.xml

are described under the

tag:

------

-------

-------

To understand the navigation rule consider

customize.jsp

, which has the

component included as:

action="#{resumeBean.showPreview}"/>

This commandButton uses the JSF action

“#{resumeBean.showPreview}”

to navigate

to

same-color.jsp

or

show-preview.jsp

depending on the result. The corresponding

rules are mentioned in the

faces-config.xml

file.

The SkinSelector project looks as follows:

Figure 13-18

shows the Project Explorer View.

276

Getting Started with MyFaces

This manual is related to the following products: