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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user