Here's what I'm trying to do:
- I have a
@ViewScoped
JSF bean in which I call a JAX-RS service using Jersey. - The resource I'm requesting returns a response with content-type
image/svg+xml
. - Display it in a Facelet page.
My research so far has lead me to believe:
h:graphicImage
(Core JSF) does not support SVGp:graphicImage
(PrimeFaces) does not support SVGo:graphicImage
(OmniFaces) does not support SVG either.
Is there no way to deliver an SVG image to a facelets page from a backing bean? The service that serves the SVG images will be extended later to support delivering (among other formats) PNG but I was hoping to utilize the SVG directly.