Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-23 Thread Henri Dupre
I don't fully understand your problem... Tapestry doesn't create objects for you by default (except ASOs)... Page properties are only holders of values. I'm not sure where you get a second copy of one of your hibernate objects. Also you should not override equals and hashcode! This might just hid

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-22 Thread hv @ Fashion Content
I find that when things seem awkward in Tapestry it is often because I use the wrong approach. If you find yourself forced to create a session when there is no need for it, you probably need to rethink how you use listeners/triggers on page/component. "Vinicius Carvalho" <[EMAIL PROTECTED]> skr

RE: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-21 Thread Schulte Marcus
ing this problem, RTFM ;-) > > > Cheers, > detlef > > > > -Original Message- > From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] > Sent: Montag, 21. August 2006 14:01 > To: Tapestry users > Subject: Re: Tapestry with Hibernate vs JSF with Hibernate > (Object

RE: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-21 Thread Detlef Schulze
PROTECTED] Sent: Montag, 21. August 2006 14:01 To: Tapestry users Subject: Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question) Sorry for the delay. Well, object equals and hashcodes are fully implemented. What solved the problem was setting the property persistent, which I

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-21 Thread Vinicius Carvalho
Sorry for the delay. Well, object equals and hashcodes are fully implemented. What solved the problem was setting the property persistent, which I really did no liked :( When using a volatile property, tapestry is overwriting the objects, by fresh new ones, filled only with forms values (as I sai

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-19 Thread Ryan Holmes
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

Re: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-19 Thread Josh Long
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

RE: Tapestry with Hibernate vs JSF with Hibernate (Object binding question)

2006-08-19 Thread Detlef Schulze
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