Hi, in one of our applications, we have a Wicket page which is mounted onto a context path and streams a video resource to the calling client, based on some page parameters.
Up to now, this page uses http calls to the RO viewer to perform the domain-related validations, lookups etc. I would like to access the repositories and services directly, which are available through getServicesInjector().lookupService(Class), but such calls end in NPEs, because the persistence session is null. PageAbstract has a getPersistenceSession() method which throws an NPE, as getIsisSessionFactory().getCurrentSession() seems to return null. Is there something special I need to perform prior to using getPersistenceSession() ? Thanks Kambiz
