This content has been marked as final.
Show 4 replies
-
1. Re: Asynchronous seam mail can not get the base URL dynamica
pmuir Jun 28, 2007 7:24 PM (in response to milli)Look at the urlBase attribute on m:message
file:///media/disk2/pmuir/workspace/jboss-seam-2.0.0.BETA1/doc/reference/en/html/mail.html#mail.tags
I just made a fix that should actually make this work in async methods :) -
2. Re: Asynchronous seam mail can not get the base URL dynamica
milli Jun 28, 2007 7:39 PM (in response to milli)"pete.muir@jboss.org" wrote:
Look at the urlBase attribute on m:message
file:///media/disk2/pmuir/workspace/jboss-seam-2.0.0.BETA1/doc/reference/en/html/mail.html#mail.tags
I just made a fix that should actually make this work in async methods :)
Thanks for your quick response. I'm using 1.2.1GA so probably I will have to wait for the next release then.
I'm trying a workaround of passing the baseURL as a parameter to the asynchronous method and if that works I'm good for now.
Thanks again. -
3. Re: Asynchronous seam mail can not get the base URL dynamica
gavin.king Jun 28, 2007 7:49 PM (in response to milli)Yep, an async method does not have access to any web context.
-
4. Re: Asynchronous seam mail can not get the base URL dynamica
milli Jun 29, 2007 2:01 AM (in response to milli)"gavin.king@jboss.com" wrote:
Yep, an async method does not have access to any web context.
That explains it. Thanks. would it be supported in 2.0? I think the urlBase that Pete mentioned is kind of workaround and not really getting any web context in asyn methods. Please correct me if I am wrong.