-
1. Re: Seam and Servlets?
kukeltje.ronald.jbpm.org Jun 4, 2009 8:04 PM (in response to gzoller.greg.zoller.aviall.com)look at my post in http://seamframework.org/Community/NPEInSeamResourceServletForDeliveringXML An additional class is needed, only in this additional class injection works, not in the basic filter iteself, that is just 'wrapper'
-
2. Re: Seam and Servlets?
gzoller.greg.zoller.aviall.com Jun 6, 2009 6:00 AM (in response to gzoller.greg.zoller.aviall.com)Lo and behold! Just what I needed. I'm absolutely positive I never would have put it together on my own the way you did to get it working. Thanks Ronald!
Greg -
3. Re: Seam and Servlets?
kukeltje.ronald.jbpm.org Jun 6, 2009 2:00 PM (in response to gzoller.greg.zoller.aviall.com)The basic idea came from the seam source. They do kind of the same. Maybe this should be made in an faq entry. I'll see what I can do
-
4. Re: Seam and Servlets?
christian.bauer Jun 6, 2009 2:59 PM (in response to gzoller.greg.zoller.aviall.com)Disclaimer: I haven't looked at Ronald's solution or the problem.
It's just that this page describes what Seam uses internally for servlet integration and what is used all over the examples - most notably on the wiki example you are looking at in production here - with no problems at all. If there are issues with this, please document them by extending the KB article.
-
5. Re: Seam and Servlets?
kukeltje.ronald.jbpm.org Jun 7, 2009 6:18 PM (in response to gzoller.greg.zoller.aviall.com)Christian,
What's on that KB article is what I do as well, so nothing realy new in my example. The thing that is missing in article (which I did remember existing) is kind of explicitly stating injection does not work directly in the filter. Since many people already 'doWork' in their existing, non-seam filters, they expect that to work but it does not. I'll extend the KB article this week.
-
6. Re: Seam and Servlets?
kukeltje.ronald.jbpm.org Jun 7, 2009 6:21 PM (in response to gzoller.greg.zoller.aviall.com)Hmmm... fully reading the KB article, I do see it is mentioned , maybe it should just be made bold... strange that I missed that before.