Navigation Model in JSF – Static Navigation

Navigation Model in JSF – Static Navigation

What is Navigation:
A website is a collection of web pages. Moving between web pages of a website is known as Navigation. User can switch from one webpage to another in any of these following ways,

  • Clicking a button
  • Clicking Hyperlink
  • Typing URL

Types of Navigation:

  • Static Navigation
  • Dynamic Navigation

Static Navigation:
Best example of Static Navigation is clicking on hyperlinks. A hyperlink may navigate the user to other webpages in the same website or different website. When the users click the hyperlink they are moved to the webpage linked to that hyperlink. This type of navigation, where user is moved to fixed webpage is known as Static Navigation.

Static Navigation Example: (Implicit Navigation)
page1.xhtml

page2.xhtml

Output:
static1
After clicking the link it navigates to page 2,
static2

Leave a Reply

Your email address will not be published. Required fields are marked *