-
1. Re: use Seam to respond with bytes (not XML) ?
norman.richards Mar 22, 2007 4:43 PM (in response to codelion)Unfortunately, facelets doesn't allow returning binary data. Everything in Seam that returns binary data uses either a servlet or a phase listener to return the results. This is definitely something I'd like to see fixed in facelets so that we can do this.
-
2. Re: use Seam to respond with bytes (not XML) ?
pmuir Mar 22, 2007 7:14 PM (in response to codelion)Take a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamResourceLoader for how to do this from an action method.
-
3. Re: use Seam to respond with bytes (not XML) ?
norman.richards Mar 22, 2007 8:35 PM (in response to codelion)Are you sure that page is current? What is in CVS now doesn't work anything like that. Am I missing something?
-
4. Re: use Seam to respond with bytes (not XML) ?
baz Mar 23, 2007 3:05 AM (in response to codelion)I have done it like in this post: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103039
But the wiki page is quite pretty. So i will give it a try.
Peter, any chance that we get the Resource class into seam? -
5. Re: use Seam to respond with bytes (not XML) ?
pmuir Mar 23, 2007 4:13 AM (in response to codelion)Norman, I think the approach is still valid - it's sort of an orthogonal approach to using a AbstractResource. I'll review it properly when I get a chance