Re: HELP! org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-6

2010-05-17 Thread Igor Vaynberg
there have been numerous posts to this list on this exact topic,
simply search for them. the gist was to use wicket tester to render
the emails as it will set up the complete environment.

-igor

On Mon, May 17, 2010 at 10:13 AM, Fernando Wermus
 wrote:
> Hi all,
>    I have 2 services in my app. I have wicket pages and a flex-blazeds
> service. My wicket app pops up a modal window to show a flex-blazeds service
> which connects to back end to do some business logic; *besides it sends some
> emails*. The emails are again rendered by wicket using a fake request cycle,
> etc. But, the flex-blazeds service runs in a thread and wicket runs in
> another thread. Thus, when I try to render the email, I don't have an
> Application - the wicket Application is in a different thread.
>
>
>
>  org.apache.wicket.WicketRuntimeException: There is no application attached
> to current thread btpool0-6
>
> HELP! Is there some way to use wicket as a render in a different thread? or
> some trick about this?
>
> thanks in advance
>
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



HELP! org.apache.wicket.WicketRuntimeException: There is no application attached to current thread btpool0-6

2010-05-17 Thread Fernando Wermus
Hi all,
I have 2 services in my app. I have wicket pages and a flex-blazeds
service. My wicket app pops up a modal window to show a flex-blazeds service
which connects to back end to do some business logic; *besides it sends some
emails*. The emails are again rendered by wicket using a fake request cycle,
etc. But, the flex-blazeds service runs in a thread and wicket runs in
another thread. Thus, when I try to render the email, I don't have an
Application - the wicket Application is in a different thread.



 org.apache.wicket.WicketRuntimeException: There is no application attached
to current thread btpool0-6

HELP! Is there some way to use wicket as a render in a different thread? or
some trick about this?

thanks in advance


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus