As a temporary fix, I was looking at doing something like this. private PurcahaseRequest pr;
@Persist private PurchaseRequest prPersist; Class<?> onActivate(PurchaseRequest pr) { this.pr = pr; } void onActivate() { if (this.pr == null) { this.pr = new PurchaseRequest(); } if(prPersist != null) { this.pr = prPersist; prPersist = null; } } Object onPassivate() { Object value = null; if (this.pr != null) { value = this.pr.getId(); } return value; } void onValidateFromPR() { if (form.getHasErrors()) { prPersist = pr; } } hover, I get the following exception when a pr is reloaded from the database. When it's a new pr and does not have any query parameters, everything works perfectly. Render queue error in SetupRender[Purchase_Request:lineitemfunding]: failed to lazily initialize a collection of role: org.mydomain.eprs.entities.LineItem.lineItemFundings, no session or session was closed When I tried using eager fetch for lineItemFundings, the exception just popped up with another table which gave me yet another exception stating the other table couldn't be eager fetched. Does anybody know how to update a session object with data from a persisted object without getting the hibernate exception? Thanks. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Server-Side-Validation-with-ajax-form-loop-tp5120576p5571353.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org