graphicImage is a JSF tag that renders an HTML element. Some component suites like Primefaces have another graphicImage implementation to dynamically render images as an HTML
element.
Questions tagged [graphicimage]
104 questions
0
votes
1 answer
Passing argument to actionListener method with p:commandLink inside c:forEach loop
I have a dialog that contains a list of graphic images inside command links. When a command link is clicked, I want to pass the image name as action listener method argument.
Dialog's code:

khaled Rihane
- 607
- 2
- 7
- 19
0
votes
1 answer
Getting p:graphicImage from byte column DB
I need to show a graphic image from a byte column in database. Below I have the code for a graphic imagem from a physical path.. how can I do it from a byte column?
…

crs0794
- 91
- 2
- 6
0
votes
1 answer
primefaces- graphic image not direct an url
I use primefaces 3.1, in menubar i want to add icon .When user click the icon,it will be direct to the home.jsf page.Below,when user click the icon,page goes to index but its url seems different.Thanks for any helps.

Deniz
- 127
- 1
- 5
- 14
0
votes
1 answer
Setter of application scoped bean fails to set value
I'm making page using Primefaces with form with ability to ajax-upload image and preview it before submitting whole form.
To achieve this I made dialog outside main form:

Tloo
- 21
- 5
0
votes
1 answer
Changing language with h:graphicImage click event
I want to change the language on click one of the images. There are two image and one of them is turkish the other one is english. If I click to the english language is english. Another one is turkish with onclick.Here is my managed bean and…

emreturka
- 846
- 3
- 18
- 44
0
votes
1 answer
jsf primefaces how to display graphicimage in datatgrid from folder and use it everywhere?
I'm trying to display images from a folder outside from my webapp folder with p:graphicImage inside a p:dataGrid but it does'nt work. However I wish to use URL's images for displaying them in another website.
Here what I tried :
…

Takmashido
- 95
- 1
- 1
- 5
0
votes
1 answer
unexpected symbol inside primefaces graphicImage
I have a graphicImage in a DataTable Colum.
My problem is that behind my icon I see a symbol like "^"
My xhtml:

Alberto Fernandez
- 77
- 1
- 2
- 9
0
votes
1 answer
How to implement the image redirect with parameters?
This is the way how a commandButton realizes the redirect with parameters.
When this commandButton get clicked, it will pass…

Cacheing
- 3,431
- 20
- 46
- 65
0
votes
1 answer
h:graphicImage not reRender
i have a jsf file where i have selectOneMenu and a h:graphicImage.Now the problem is when i send onchange request through selectOneMenu and want to reRender the h:graphicImage and want to show and hide boolean in action bean.But not work properly.…

seeker
- 79
- 2
- 16
0
votes
1 answer
Stream closed Exception
I'm getting Stream is closed Exception when I'm going to save the uploaded image.
I'm tring to preview graphicImage of uploaded image the before save. This operation is working. But I can't save the image. Here is my code:
private InputStream…

Arunprasad
- 567
- 4
- 14
- 29
0
votes
1 answer
How to preview the after image upload is performed?
I am using PrimeFaces and I want to show the preview of uploaded image immetately after the upload operation is performed.

Arunprasad
- 567
- 4
- 14
- 29
0
votes
1 answer
cannot display dynamic image with primefaces
I want to display a dynamic photo with
I'm storing the content of the image as a blob in the database , the content type in the photo entity is a byte array (byte[]) .
I tried two diffrent ways but both was useless.
1)
public StreamedContent…

MarwaInsat
- 293
- 1
- 4
- 17
0
votes
1 answer
Using fileDownload with an image
I am using this code:
Works great. The only thing is…

Daniel Rojas
- 407
- 2
- 5
- 16
0
votes
0 answers
JSF graphicImage
I have to do a list of images. I use ui:repeat to do this, but it doesn't work and I can't see the images:
…

enfix
- 6,680
- 12
- 55
- 80