Please see SignInApplication.java Juergen
On 11/5/05, Manuel Corrales <[EMAIL PROTECTED]> wrote: > Yes, i get ClassCastException and no, i am not using getSessionFactory(). > How should i use the factory, can you point me to some example code? Thanks > very very much for your quick answer!! > > > On 11/5/05, Juergen Donnerstag <[EMAIL PROTECTED] > wrote: > > > > What kind of exception? ClassCastException? If yes, than you most > > likely don't use application.getSessionFactory8) to create a session > > of type MySession. > > > > Juergen > > > > On 11/5/05, Manuel Corrales <[EMAIL PROTECTED]> wrote: > > > Hi, i want to extends WebSession and do a simple session managment like > in > > > the SignIn examples. The thing is that when i try do get a session like > > > this: > > > > > > MySession session = (MySession)getSession(); > > > > > > the casting thorws me an error. > > > > > > What am i doing wrong? Is this the way of manage sessions correctly?? > > > > > > Thanks > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: > > Tame your development challenges with Apache's Geronimo App Server. > Download > > it for free - -and be entered to win a 42" plasma tv or your very own > > Sony(tm)PSP. Click here to play: > http://sourceforge.net/geronimo.php > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
