you should pass a new instance of application. wicket tester inits the
application and so it would call the init method which will execute
the mounts - and on already initialized instance it would cause that
error.

-igor

On Thu, Sep 2, 2010 at 9:13 AM, Fernando Wermus
<[email protected]> wrote:
> Hi all,
>    I am using wicketTester to render html for emails. I pass my current app
> to WicketTester and I get the following error:
>
> WicketRuntimeException: loginPage is already mounted for
> BookmarkablePageEncoder[page=class com.xxx.LoginPage]
>
> Which makes no sense. The Application is running and I just passing it to
> the WicketTester constructor.
>
> any help would be really appreciated.
>
> thanks in advance
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to