scales
  1. scales
  2. SCALES-22

Pretty Urls rendered INSIDE the pages

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: components
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      22

      Description

      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
      <h:outputLink>
      <f:param name="id" value="#

      {entry.id}

      " />
      <h:outputText value="#

      {entry.title}

      "/>
      </h:outputLink>

      Example2: an url to another page in the same web module
      <h:outputLink
      value="#

      {facesContext.externalContext.requestContextPath}

      /public/blogList.jsf">
      <h:graphicImage value="/images/menu/news.gif"/>
      </h:outputLink>

      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?

        Activity

        fabmars created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 22 19456

          People

          • Assignee:
            Jason Lee
            Reporter:
            fabmars
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: