Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
Hi, I am a real newbie when it comes to Tapestry and even worse than that when it comes to Hibernate. I am using Tapestry 5.1.0 and Hibernate 3.3.1 - talking to a MySQL database. I've got the code from the Tapestry5HowToUseTapestryHibernate working fine, but in the application that I am

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread LLTYK
http://tapestry.apache.org/tapestry5/tapestry-hibernate/userguide.html Course I don't even use tapestry-hibernate at all, just the tapestry spring integration to inject spring/hibernate services. -- View this message in context:

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Thiago H. de Paula Figueiredo
On Fri, 01 Oct 2010 09:40:18 -0300, Alex W. Croton acro...@linkfinancial.eu wrote: Hi, Hi! After 3 days of various Googling, I'm far more confused than when I started - it seems that the examples that I have been able to find are either for a different version of Tapestry - or appear

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
Having now had two replies directing to the same page - which I've looked at _so many_ times over the last few days that I ought to have my own page counter - I'm coming to the conclusion that I must be brain dead and looking through the obvious! Thanks for the replies - I'll set a new Eclipse

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Michal Gruca
I gave presentation about Tapestry yesterday. In it I included hibernate integration example, I will share that after weekend. From my observation: make sure that You have both hibernate libraries in Your classpath. Double check did You annotated AppModule with @Submodule(HibernateModule.class).

RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
So, working through the code; I've built my own Person entity (and created it in the db) and have got the first stage of the example code working - I'm now getting to the 'Commiting Changes' part of the example. This has the following: @InjectPage Private PersonIndex personIndex; So ... what

Re: RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Josh Canfield
PersonIndex is a page, probably listing all the people... On Oct 1, 2010 8:51 AM, Alex W. Croton acro...@linkfinancial.eu wrote: So, working through the code; I've built my own Person entity (and created it in the db) and have got the first stage of the example code working - I'm now getting to

RE: RE: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Alex W. Croton
Doh! Obviously looking for complexity ... and ignoring what the return value of onSuccess() is used for. Alex -Original Message- From: Josh Canfield [mailto:joshcanfi...@gmail.com] Sent: 01 October 2010 17:18 To: Tapestry users Subject: Re: RE: Early steps getting Tapestry and

Re: Early steps getting Tapestry and Hibernate working via DAO

2010-10-01 Thread Howard Lewis Ship
That seems odd, you shouldn't need to use @SubModule; the necessary modules are automatically loaded if on the classpath. On Fri, Oct 1, 2010 at 6:31 AM, Michal Gruca michalgr...@gmail.com wrote: I gave presentation about Tapestry yesterday. In it I included hibernate integration example, I

Re: absolute asset url

2010-10-01 Thread Jonathan Barker
What is your use case? I need to have absolute URL's for an application and I contribute an override for the AssetPathConstructor. 2010/9/30 Christian Koller christian.kol...@net-m.ch Hi all In a tapestry page i have: @Inject @Property @Path(context:/img/logo.gif) private Asset logo;