Splash › Forums › PrettyFaces Users › Using anchor in urls
Tagged: anchor url
This topic contains 1 reply, has 2 voices, and was last updated by Lincoln Baxter III 2 years, 1 month ago.
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
<pattern value="/my-bookings" />
<view-id value="/nick/index.xhtml#my-bookings" />
2) In the java bean, setting the outcome to
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.
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!