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:mase...@velti.com] 
Gesendet: Donnerstag, 21. Januar 2010 17:38
An: users@wicket.apache.org
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:j...@thomas-daily.de] 
Sent: Thursday, January 21, 2010 6:26 PM
To: users@wicket.apache.org
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: 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


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

Reply via email to