JSF implicit vs. explicit navigation

This is somewhat subjective, but ala, it boils down to the following:

  1. Navigation rules in XML are a maintenance hell.

  2. Using navigation rules suggests that the web application in question suffers from the “one URL behind” problem which causes bad user experience (pages are not bookmarkable).

  3. Using navigation rules suggests that the web application in question is using POST for page-to-page navigation which causes not only bad user experience (pages are not bookmarkable), but also bad SEO (bots don’t index POST, hence POST-navigated pages are unreachable for public search engines).

See also:

  • How to navigate in JSF? How to make URL reflect current page (and not previous one)
  • Bookmarkability via View Parameters feature
  • When should I use h:outputLink instead of h:commandLink?
  • Communication in JSF 2.0 – Implicit navigation

Leave a Comment

tech