Hello,

I figured it out. 

Apparently if it's an existing object you need to use
_session.saveOrUpdate(Object), or at least that fixed it for me.

An error should be thrown if it's not able to save IMO.

--James

-----Original Message-----
From: James Sherwood [mailto:jsherw...@rgisolutions.com] 
Sent: January-27-09 8:51 AM
To: 'Tapestry users'
Subject: Not able to save objects at a certain point

Hello,

 

I am using the in place editor component created in the tapestry for non
believers tutorial.

http://www.infoq.com/articles/tapestry5-intro

 

In the setEdit() method in my java I am trying to do _session.save(Object)
but it will not save.  I have tried @CommitAfter as well as creating and
committing a transaction using the
session(session.beginTransaction/session.getTransaction.commit).  Is there a
reason it will not save at this point because the values are being filled in
correctly and I check after the save to see if the values are still correct
in the object and they are, the save just does not happen.

 

 

--James

 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to