Reply To: Issue with a undesired ending slash at the url generated

Splash Forums PrettyFaces Users Issue with a undesired ending slash at the url generated Reply To: Issue with a undesired ending slash at the url generated

#26498

I think I understand your problem. The issue is that PrettyFaces doesn’t currently support generating outbound anchors based on URL mappings… it’s possible we could create an enhancement for this so that you could do something like:

public String advance(){
return “pretty:page#tab3:″;
}

I think that probably makes sense. Do you?

This means that the mapping would be simply:

<url-mapping id=”page”>
  <pattern value=”/page” />
  <view-id value=”/templates/frontend/form_wizard.xhtml” />
</url-mapping>

And you could use different anchors directly from the action method result (making it easier to select anchors progamatically).