Hello, On Tue, Dec 22, 2009 at 5:05 PM, Thiago H. de Paula Figueiredo < [email protected]> wrote:
> Em Tue, 22 Dec 2009 09:27:26 -0200, Lance Java <[email protected]> > escreveu: > > > One more thing to note is that DWR supports ajax filters which are >> basically interceptors on DWR services. You may want to duplicate some of >> the >> TapestryFilter's functionality in an AjaxFilter. >> > > There's no need to do that. TapestryFilter puts the Registry in the servlet > context under the org.apache.tapestry5.application-registry attribute. Then > you can get the HibernateSessionManager and get a Session through its > getSession() method. I haven't tested it, but that's what I would try. > But, sorry how am i to get HibernateSessionManager?? from the attribute, can u tell me that plz.. I'm breaking my head here.. for almost a week. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, software architect and developer, Ars Machina Tecnologia da > Informação Ltda. > http://www.arsmachina.com.br > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > - Ashwanth Kumar
