[jboss-user] [JBoss Seam] - FacesContext and asynchronous methods
oschnaps
do-not-reply at jboss.com
Wed Mar 28 17:02:11 EDT 2007
Hi,
I am trying to use an asynchronous method to send an email. Email is configured to use a Seam mail session.
When trying to render the email message inside an asynchronous method the FacesContext is not bound and as such a MockFacesContext is created. The mock context throws an UnsupportedOperationException.
Per the docs the asynchronous method will only have access to the biz context. Any suggestions/recommendation on how to pass it the FacesContext?
thanks,
ori
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032545#4032545
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032545
More information about the jboss-user
mailing list