You can see SpringWebApplication class to see how to access Spring application context. Or you can create a field with @SpringBean annotation to inject your bean into the session object. But then you must call InjectorHolder.getInjector().inject(this); before access this bean (probably the best place for this is a session constructor).

Daniel

On 2007-12-14, at 18:36, Ravi_116 wrote:


Daniel,
That worked !! thanks...
How can i access the Spring Application Context in the wicket
MyApplicationWebSession (extends AuthenticatedWebSession) to retrieve the
bean and set the user name and password.
Ravi



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to