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 Hibernate working via DAO
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 the 'Commiting Changes' part of the example.
This has the following:
@InjectPage
Private PersonIndex personIndex;
So ... what is this class (i.e. PersonIndex) and what does it need to do?
It's obviously pretty critical, as it is the return from the onSuccess()
method.
Is this part of a larger example that I've not stumbled on?
Sorry if this is totally obvious, but I'm just not getting it - and
hey
... I haven't even got on to the DAO bit of the code yet!
Regards,
Alex
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 project up and have a
play with
just this code from fresh.
See
http://tapestry.apache.org/tapestry5.1/tapestry-
hibernate/userguide.html.
;)
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org