Navigation in pages.xml or *.page.xml - mareknovotny/seam-migration GitHub Wiki

Seam Navigation migration to JSF

Two changes in JSF 2 inspired by Seam are in navigation — implicit navigation and conditional navigation — similar to conditions in Seam’s pages.xml. These two features have been covered in many articles:

Using a combination of these two features, migration from pages.xml should be fairly straightforward.

While not directly related to navigation, page actions and params also have corresponding solutions in JSF 2. Any number of view parameters can be assigned to a view. They also can participate in conversion and validation, which is more powerful than what Seam 2 offered in pages.xml. A view action in JSF 2 can be done by creating a listener for the preRenderView event within an f:metadata section.

⚠️ **GitHub.com Fallback** ⚠️