net.sf.tapestry.ApplicationRuntimeException
    Page recorder for page Home is locked after a commit(), but received a change to property separator of component Home/datagrid.
Stack Trace:
  • net.sf.tapestry.record.PageRecorder.observeChange(PageRecorder.java:144)
  • net.sf.tapestry.AbstractComponent.fireObservedChange(AbstractComponent.java:283)
The above is throwned exception when the fireObservedChange() is invoked to persistent the component's state. How to avoid this exception?
 
----- Original Message -----
Sent: Thursday, September 12, 2002 7:32 PM
Subject: Re: [Tapestry-developer] component state

A component can invoke fireObservedChange() just like a page can.
 
However, components don't have the equivalent of detach().
 
Instead, they must implement interface PageDetachListener and implement method finishLoad() to register as a listener with the page.
----- Original Message -----
From: xuzhou
Sent: Thursday, September 12, 2002 3:48 AM
Subject: [Tapestry-developer] component state

Hi there,
 
How to develope a component which can persistent its state by itself?
 
I have refer the Persistent Component State in Chapter 5 of Developer's Guide, but the component seems to lost its state.
 
How to do?
 
Thanks.
 
 

Reply via email to