Em Tue, 22 Dec 2009 09:27:26 -0200, Lance Java <lance.j...@googlemail.com> 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.

--
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: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to