webtier@glassfish.java.net

Re: [webtier] JSF2: Exposing dynamic content as a Resource?

From: <webtier_at_javadesktop.org>
Date: Sat, 01 May 2010 00:09:03 PDT

Hmm... a bit round-about, but looks like it'll accomplish what I need. Any idea if scales will play nice with primefaces?

My 'ideal' would be more direct:

<h:graphicImage value="#{resource['myLibrary:myResource']}" ... />

Where myLibrary is mapped to some dynamic resource provider (class instance) that can lookup & provide the byte stream content representing 'myResource'.

Wouldn't be limited to graphicImages (I'm making an assumption based on what I saw in the demo!).

Regardless, thank for the pointer.
<ras>
[Message sent by forum member 'rsitze']

http://forums.java.net/jive/thread.jspa?messageID=399860