Splash › Forums › PrettyFaces Users › Dynamic URL Pattern
Tagged: dynamic URL
This topic contains 2 replies, has 2 voices, and was last updated by andy_pretty 1 month, 2 weeks ago.
Can We build our own URL pattern from backend and assigned to a bean and get that in pretty face mappings.
String urlpattern = “store/”+bean.getvalue1+”/”+bean.getvalue2+”/cat.xhtml”;
Can we use this way.consider null check will be taken care.
PrettyFaces is now built on top of Rewrite. With Rewrite you can create your mapping rules programmatically. See the documentation for details:
Thank you for your link.I will look into this solution
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!