You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Loh Lian-Seng <lo...@yahoo.com> on 2004/06/18 07:55:40 UTC
Runtime Error if 2 DirectLinks are clicked quickly before page re-renders
I received an error like -
<error>
Page recorder for page EmployeePage is locked after a commit(), but
received a change to property contactInfoBlock of component
EmployeePage/$EmployeeView
</error>
if I click too quickly on 2 DirectLinks on a page. I think this happens
because in my PageBeginRender listener, I set a persistent property, and
the second page's listener processed when the first page has started
rendering ???
If I let the browser have a chance to refresh, the pages are fine.
Is this the correct behavior or have I done something wrong ?
If it is behaving correctly, is there anyway to avoid this behavior ?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org