[SCALES-22] Pretty Urls rendered INSIDE the pages Created: 12/Dec/08  Updated: 04/Feb/09

Status: Open
Project: scales
Component/s: components
Affects Version/s: 1.2
Fix Version/s: 1.2

Type: Improvement Priority: Major
Reporter: fabmars Assignee: Jason Lee
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Attachments: Zip Archive prettyurl.zip    
Issuezilla Id: 22


This is a sequel to issue #21.

PrettyUrlPhaseListener works fine, but after rendering of your pages, all
h:outputLink pointing at pages in the same web module still have non-pretty urls.

Example1: an url to the same page
<f:param name="id" value="#


" />
<h:outputText value="#



Example2: an url to another page in the same web module


<h:graphicImage value="/images/menu/news.gif"/>

After rendering of a page using (or not) the prettyUrlPhaseListener, when
hovering the mouse pointer over the links, one can see they end with .jsf.
Worse, after clicking on them, a .jsf URL gets displayed in the browser's
address bar. And if these urls have a query part, it's even worse.
My site, like pretty much any other, has a menu on the top, with links to
sections. After a couple of navigations, I can a .jsf link for the page I
originally caled via a pretty URL...not convenient, and confusing bookmarkingwise.

I made a component, very close to h:outputLink, to enable rendering of pretty
Urls. It looks JSF implementation independant. Would you be interested?

Comment by Jason Lee [ 01/Feb/09 ]

Hi. Sorry for the late response. I would love to see that component. If you
do plan to donate it to the project, though, you'll have to sign the SCA, as
that governs Mojarra Scales, since it's a Mojarra sub-project.

Comment by fabmars [ 04/Feb/09 ]

Created an attachment (id=1)
PrettyUrlPhaseListener enhancement

Comment by fabmars [ 04/Feb/09 ]

Sure, I could donate it. It was not much work anyways. Check attachment above.

I also have a component to play mp3s. It's based on dewplayer (
http://www.alsacreations.fr/dewplayer ) if you're interested.

Generated at Mon Feb 27 13:40:50 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.