Hi,

I have several pages working well in T5.0.9 but got following error in
T5.0.10:

An unexpected application exception has occurred.
Render queue error in Expansion[PropBinding[expansion
TestPage1(call.usr.name)]]: could not initialize proxy - the owning Session
was closed

here is a simplified version of the code, the part of problem is :
${call.usr.name}, when this is omitted, everything works, hibernate seems
correct, but why it works in T5.0.9, any way to make it work in 5.0.10 too?

page:

public class TestPage1 {

    @Persist("flash")
    private List<Call> calls;

    public List<Call> getCalls() {
        return calls;
    }
    private Call call;
    public Call getCall() {
        return call;
    }
    public void setCall(Call call) {
        this.call = call;
    }
    @Inject
    private Session session;
    private void doSearch() {
        calls = session.createQuery("from Call").list();
    }
    String onSuccess() {
        doSearch();
        return null;
    }
}

template:

<t:form >
   <input type="submit"  value="submit" /><br />
</t:form>

<table t:type="grid" source="calls" row="call" >
        <t:parameter name="idCell">
       ${call.id} ${call.usr.name}
    </t:parameter>
</table>
-- 
View this message in context: 
http://www.nabble.com/T5%3A-T5.0.10-and-Hibernate-tp15496042p15496042.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to