Hi friends,
I need a hint, look at the code below:
Primefaces code in JSF:
<p:graphicImage id="imagem" value="#{publicacaoControlador.imagem}" style="border:none" cache="false"/>
Rendered:
<img id="imagem" src="/amex/adm/formPublicacao.jsf?primefacesDynamicContent=publicacaoControlador.imagem&primefaces_image=6921f993-34d7-4313-bd10-c1bb68d73cf1" alt="" style="border:none" />
Example fragment of my bean:
...
String id = FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get("primefaces_image");
nameImg = id + ".png";
...
To get this: 6921f993-34d7-4313-BD10-c1bb68d73cf1.png
but just returns null. Grateful to those who help me!
Erivando
Return parameter in the primefaces graphicImage cache=false
-
- Information
-
Who is online
Users browsing this forum: No registered users and 24 guests