WicketTester extends Application. Hence you create the session object
exactly the way you do it in your real application.

Juergen

On 4/7/06, karthik Guru <[EMAIL PROTECTED]> wrote:
> I need to test my sigon page - meaning i need to make sure that after
> validation of credentials, it stores my user object in the session. I
> want to check with the session at the end that the session has the
> user object on providing valid credentials.
> But I guess am missing something here -
>
> WicketTester has its own application and session? Can i get WickTester
> to use mine instead. It has a setSessionFactory that in turn needs a
> reference to my application class. But i guess
> its application class is already set ( i mean wickettester itself
> extends from Application?)
>
> or like i said am i looking at the wrong class to do the above testing?
>
> thanks,
> karthik
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to