Put them in its own jar and add it as dependency to both projects. (dirty but 
it does the job)


-----Ursprüngliche Nachricht-----
Von: Martin Asenov [mailto:[email protected]] 
Gesendet: Donnerstag, 21. Januar 2010 17:38
An: [email protected]
Betreff: RE: AW: get set attribute wicket session

Unfortunatelly I can't use this since the webapp module builds the core and UI 
modules in one and builds resources and stuff like this in the war.

Maybe I should think of something else...

Regards,

-----Original Message-----
From: Joseph Pachod [mailto:[email protected]] 
Sent: Thursday, January 21, 2010 6:26 PM
To: [email protected]
Subject: 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: [email protected]
For additional commands, e-mail: [email protected]


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


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

Reply via email to