Package org.omnifaces.facesviews


package org.omnifaces.facesviews

This package contains the classes for the OmniFaces FacesViews feature, which is a mechanism to use SEO-friendly extensionless URLs in a Faces application without the need to enlist individual Facelet source files in some configuration file.

See FacesViews for the full guide, covering usage, MultiViews, dynamic routes, welcome files, dispatch methods and all available context parameters.

Author:
Arjan Tijms
See Also:
  • Class
    Description
    Resolves an outcome which spells out a dynamic route with its segment values already filled in, such as <h:link outcome="/organizations/123/members" />, so that the concrete URL can be used as the outcome instead of the bracketed template plus a <o:pathParam name> for every segment.
    The action that is done when a Faces Views request with an extension is done.
    FacesViews is a mechanism to use SEO-friendly extensionless URLs in a Faces application without the need to enlist individual Facelet source files in some configuration file.
    This filter makes sure extensionless requests arrive at the FacesServlet using an extension on which that Servlet is mapped, and that non-extensionless requests are handled according to a set preference.
    Facelets resource handler that resolves mapped resources (views) to the folders from which those views were scanned (like the the special auto-scanned faces-views folder).
    View handler that renders an action URL extensionless if a resource is a mapped one, and faces views has been set to always render extensionless or if the current request is extensionless, otherwise as-is.
    The action that is done when a request for a public path from which faces views where scanned is done.
    This wraps a request to an extensionless Faces view and provides an extension for all methods that reveal the servlet path.