Re: T5: Using external Hibernate-mapped entities: the "contribute" method goes where?

2007-10-01 Thread Andy Buckley
Chris Lewis wrote: > Your "AppModule" is created with the same name used in web.xml (as Robin > pointed out). By default its AppModule.java, as created by the > quickstart archetype. You should find that to use Hibernate you need > only to add it, annotations, and tapestry-hibernate to your pom.xml

Re: T5: Using external Hibernate-mapped entities: the "contribute" method goes where?

2007-10-01 Thread Chris Lewis
Your "AppModule" is created with the same name used in web.xml (as Robin pointed out). By default its AppModule.java, as created by the quickstart archetype. You should find that to use Hibernate you need only to add it, annotations, and tapestry-hibernate to your pom.xml. After that you need o

Re: T5: Using external Hibernate-mapped entities: the "contribute" method goes where?

2007-10-01 Thread Robin Helgelin
On 10/1/07, Andy Buckley <[EMAIL PROTECTED]> wrote: > shows a way to deal with this, but I'm left with no idea where to put my > contributeHibernateSessionSource(...) method! It doesn't seem to work if added > to the page class (good: that would be inconvenient anyway!) so where should I > put it?

T5: Using external Hibernate-mapped entities: the "contribute" method goes where?

2007-10-01 Thread Andy Buckley
Hi, I'm trying to get Tapestry working with Hibernate - unfortunately there isn't much guidance on this, but I found this tutorial handy: http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate My application differs from this template, though, because the mapped entities are in an ex