graphicImage and external Urls

Splash Forums PrettyFaces Users graphicImage and external Urls

This topic contains 1 reply, has 2 voices, and was last updated by  Lincoln Baxter III 11 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #17743



    i’m having issues using PrettyFaces with the h:graphicImage Tag. If i set the components value to an external url the link is rewritten by the encodeUrl of the PrettyFacesWrappedResponse class


    public String encodeURL(final String url)


    FacesContext context = FacesContext.getCurrentInstance();

    PrettyContext prettyContext = PrettyContext.getCurrentInstance();

    String result = rewritePrettyMappings(url, context, prettyContext);

    result = rewrite(result, prettyContext);

    return super.encodeURL(result);


    the result is the contextPath + externalUrl e.g. “/exampleApphttp://….”

    Did i miss a config parameter that forces pretty faces to ignore external resources?


    Apologies for the late reply, this must have slipped my attention. No you did not. There was a bug related to this in one of the recent PrettyFaces releases.

    Which version of PrettyFaces and JSF are you using?



Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.