[jboss-user] [JBoss Seam] - ajax4jsf mediaOutput in Seam?
EricJava
do-not-reply at jboss.com
Thu Oct 25 16:13:50 EDT 2007
I'm trying to use mediaOutput in Seam: (1.2.1):
<a:mediaOutput element="image" cacheable="false" session="true"
| createContent="#{chartGenerator.paint}"
| uriAttribute="src"
| value="#{chartParameters}" mimeType="image/png" />
The chartGenerator.paint method never gets called; the whole thing is ignored. In fact if I change the name "paint" to something else that isn't even a method on that class, it doesn't throw any exceptions or do anything.
I searched around the documentation and couldn't find references on this.
I realize that using object serialization to pass in a value is very un-Seam (unseamly?).
What's the right way to do this? I could set up a Servlet to generate the image but that's even more unseamly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098996#4098996
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098996
More information about the jboss-user
mailing list