From the course: Java EE 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Navigation

Navigation - Java EE Tutorial

From the course: Java EE 8 Essential Training

Start my 1-month free trial

Navigation

- [Instructor] In this lesson, we'll take a look at how navigation occurs within a JSF application. First we're going to set our headers to be links so that we can navigate between the form and the catalog, so within the HTML tag library, you'll find a link tag and that's basically going to create an anchor tag in the HTML so that we can navigate between the pages, and we can set the value to our property pulled from the resource bundle that we created and then we need to provide an outcome and the outcome is simply the name of the page we would like to navigate to, so in this case we want to navigate to the form and we can go ahead and close out that tag and then we're going to copy it because we're going to create another link for our catalog so just organize that HTML a little bit and then we'll reference the list property and then we'll just change the outcome over to list I'm then going to copy this page header, because we…

Contents