Navigation inside the page

Not all links need the navigation configuration; links can point to the same page, so they do not need redirects. As an example, we can take the category management page:

The Add new category button opens a window inside the page where we can put the name of the new category and insert it through a Submit button:

Now, see how the insertion of a category is developed in the page. The form containing the Add new category button is like this:

<h:form>  <input type="hidden" name="addCategory" value="true" />  <div class ...

Get Mastering Java EE Development with WildFly now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.