Hi all, sorry for spamming the list but I wasn't sure how else to try
and reach Adam Greene (who has posted here before). I have tried two
of the most recent email addresses that he posted from to here with
no luck. I need to ask him a question about a component that he
provided to a friend
Just to clarify, Tapestry does not overwrite bound objects with new
instances. iow, if a bound value is a Hibernate proxy, that's what
you'll get -- for better or worse ;)
-Ryan
On Aug 19, 2006, at 7:20 AM, Vinicius Carvalho wrote:
Hello there! As I said on previous emails, I'm migrating a
Also, not understanding the problem myself, you might want to check
that the entites have a useful implementation of equals/hashcode. This
sort of thing has bit me more times than I care to remember.. If u
test the objects with an equals/hashcode impl based solely on the
nullable primary key of th
IIRC, an NPE from tableRowsIterator is often due to referencing an
attribute of a related object in OGNL (e.g.
ognl:customer.address.street) when the related object (e.g. address)
is null.
HTH. If not, as Karthik said, please post the relevant source code,
page or component specifications
I don't fully understand, but it sounds a bit like you have a property
on your page which should be marked as persistent but isn't.
Could you post some code (java, page, html)?
Cheers,
Detlef
-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Samstag, 19. August
Hello there! As I said on previous emails, I'm migrating a JSF app to
tapestry, I'm about to finish. One thing that is really tricking me is
the way that the Hibernate entities are bound on both frameworks (I
might being doing something wrong here).
My edit page has an object (Event) that has a m
Yeah, I know about the new getCurrentSession() stuff. It's just a matter of
me finding the time to sit down and write the stuff that I want. As I said,
it shouldn't be that hard really. Spring ORM does really save the code
required to enforce real TX demarcation, though (such as REQUIRES_NEW).
Have a look at
http://tapestry.apache.org/tapestry4/UsersGuide/friendly-urls.html
It looks like you have created a new page service, so you would want to make
an encoder/decoder for it.
Henrik
"James Sherwood" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTED]
> We have designed
SessionFactory has a getCurrentSession function now, and you can define a
policy if you dont like the existing. All you need is a servlet filter to
commit & close the current session. It's very few lines of code saved by
using Spring ORM.
Henrik
"James Carman" <[EMAIL PROTECTED]> skrev i en me