prettyfaces « Page « JSF Q&A





1. Get current page name with JSF/PrettyFaces    stackoverflow.com

i am using PrettyFaces as url rewrite library as follows:

@URLMappings(mappings = {
        @URLMapping(id = "page1", pattern = "/page1", viewId = "/faces/pages/page1.xhtml"),
    ...