-
1. Re: How to display image stored as BLOG with seam?
gavin.king Oct 5, 2006 5:16 PM (in response to hurzeler)use facesContext.getExternalContext().getResponse()
-
2. Re: How to display image stored as BLOG with seam?
hurzeler Oct 5, 2006 5:28 PM (in response to hurzeler)How would my <h:graphicImage id="image" url="#{bean.????????}" /> look?
-
3. Re: How to display image stored as BLOG with seam?
pmuir Oct 5, 2006 5:55 PM (in response to hurzeler)I just wrote this up.
http://jroller.com/page/pmuir?entry=dynamicimagecomponent_for_jsf -
4. Re: How to display image stored as BLOG with seam?
hurzeler Oct 5, 2006 8:04 PM (in response to hurzeler)Thanks Peter great stuff....
-
5. Re: How to display image stored as BLOG with seam?
hurzeler Oct 6, 2006 4:10 AM (in response to hurzeler)Hey Peter,
I looked at your solution at http://jroller.com/page/pmuir?entry=dynamicimagecomponent_for_jsf .
I just have one question: How does the header ?? of the my.tag.lib.xml look? Or it doesn't matter?
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE taglib PUBLIC "??" "??">
<tag-name>dynamicImage</tag-name>
<component-type>uk.co.splendid.jsf.DynamicImage</component-type>
Thanks Bernie -
6. Re: How to display image stored as BLOG with seam?
pmuir Oct 6, 2006 4:47 AM (in response to hurzeler)For the purposes of that post I was assuming you had your own facelets taglib set up. [1] describes how to set up facelets taglibs (the wiring section) as does the facelets reference manual [2].
Please NB if you aren't using facelets then my wiring won't work for you - you would need to write some JSP wiring (a .tld entry, a Tag class I think).
[1] http://wiki.jboss.org/wiki/Wiki.jsp?page=FaceletsSourceTags
[2] https://facelets.dev.java.net/nonav/docs/dev/docbook.html