Not possible cause "What should I do when I don't have the MySessionImpl class 
visible".
The class need to be visible to do that.


-----Urspr√ľngliche Nachricht-----
Von: Joseph Pachod [mailto:j...@thomas-daily.de] 
Gesendet: Donnerstag, 21. Januar 2010 17:26
An: users@wicket.apache.org
Betreff: Re: AW: get set attribute wicket session

Giambalvo, Christian wrote:
> Hi,
>
> with getSession() you will always get the session attached to the current 
> request.
> So yes it is session specific.
>
> Greets chris
I would add that, in order to save this nasty cast all over the place, 
you could create your own getMySessionImpl this way :
class MySessionImpl
public static MySessionImpl getMySessionImpl(){
  return (MySessionImpl) get();
}



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


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

Reply via email to