It renders corrupt src URLS like this one:
<img ... src="/MyApp/myPage.jsf?conversationContext=1?primefacesDynamicContent=myPage.icon" ...
The following change should fix it. It will be great, if you could commit this fix.
Thank you!
Original:
Code: Select all
protected String getImageSrc(FacesContext facesContext, GraphicImage image) {
...
StringBuilder builder = new StringBuilder(getActionURL(facesContext));
builder.append("?").append(DynamicContentStreamer.DYNAMIC_CONTENT_PARAM).append("=").append(expressionParamValue);
...
}
Code: Select all
protected String getImageSrc(FacesContext facesContext, GraphicImage image) {
...
String actionURL = getActionURL(facesContext);
StringBuilder builder = new StringBuilder(actionURL);
if(actionURL.contains("?")){
builder.append("&");
}else{
builder.append("?");
}
builder.append(DynamicContentStreamer.DYNAMIC_CONTENT_PARAM).append("=").append(expressionParamValue);
...
}