COMPUTER LANGUAGES HTML,C,C++.JAVA,.NET AND MULTIMEDIA basics and programs click home button
JAVA SERVER FACES PAGE NAVIGATION
JSF – Page Navigation
Navigation rules are those rules provided by JSF Framework
which describe which view is to be shown when a button or
link is clicked.
• Navigation rules can be defined in JSF configuration
file named faces-config.xml.
• Navigation rules can be defined in managed beans.
• Navigation rules can contain conditions based on
which resulted view can be shown.
• JSF 2.0 provides implicit navigation as well in which
there is no need to define navigation rules as such.
Implicit Navigation
JSF 2.0 provides auto view page resolver mechanism
named implicit navigation. In this case you only need
to put view name in action attribute and JSF will
search the correct view page automatically in the
deployed application.
No comments:
Post a Comment