Using anchor in urls

Splash Forums PrettyFaces Users Using anchor in urls


This topic contains 1 reply, has 2 voices, and was last updated by  Lincoln Baxter III 6 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #26857


    I need to use anchors # for urls but it seems that they get ingnored / not supported by pretty faces.

    I tried in 2 different ways, but none of them worked.

    1) Adding it

    <url-mapping id="home"> 
        <pattern value="/my-bookings" /> 
        <view-id value="/nick/index.xhtml#my-bookings" />

    2) In the java bean, setting the outcome to


    • This topic was modified 6 years, 11 months ago by  xavi.

    The ‘#’ character denotes a purely client-side section of the URL, and will never be processed server-side, thus PrettyFaces never has an opportunity to operate on it.

    Check out this post – it might help give you some alternate ideas:

    Sorry I cannot be of more help.

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.