[jboss-user] [JBoss Seam] - Re: Mail sending through Seam

cwash do-not-reply at jboss.com
Mon May 14 13:01:50 EDT 2007


anonymous wrote : 
  |  But if i call it as a seam component i.e if the class does not implement ActionHandler and i call the method, #{mail.sendmail}  from a .xhtml file directly Renderer object gets assigned. 
  | 

I might be wrong, but I think you need to have a component in order to inject a component.  That should explain the behavior you're seeing.

If you want to do it the first way you've outlined, you might try getting a handle to it using http://docs.jboss.com/seam/1.2.0.PATCH1/api/org/jboss/seam/core/Renderer.html#instance() and see if that works.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045558#4045558

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045558



More information about the jboss-user mailing list