Hello list,
Being pretty new to Tapestry, I ran into a problem using the Tacos tree
component. Undoubtedly the solution is very simple, but I just can't figure it
out.
The exception I get is:
org.apache.tapestry.BindingException:
Unable to update expression 'treeState' for [EMAIL PROTECTED] to [].
caused by a ognl.MethodFailedException:
Method "setTreeState" failed for object [EMAIL PROTECTED]
caused by a org.apache.tapestry.ApplicationRuntimeException:
Page recorder for page ProcessTree is locked after a commit(), but received a
change to property treeState of component ProcessTree.
I have in my .page file:
<property-specification name="treeState" type="java.util.Set"
persistent="yes"/>
<component id="processTree" type="tacos:Tree">
<binding name="contentProvider" expression="contentProvider"/>
<binding name="keyProvider" expression="keyProvider" />
<binding name="value" expression="pnode"/>
<binding name="state" expression="treeState"/>
</component>
What I'm actually trying to do is use the 'expandAll' feature. For that I need
the 'treeState' and I need it to be persistent.
Thanks a lot.
Ido-Eduard de Baat