January 02, 2012

Tapestry: AttributeExpansionBinding@XXXX is read-only

   If a TapestryException appears and it says something like this:
Binding org.apache.tapestry5.internal.services.AttributeExpansionBinding@2c4f59 is read-only.
   then the solution can be in removing ${} from t:value property in problematic component. Something like change this:
<t:checkbox t:id="oneEmailPerUser" t:name="oneEmailPerUser" t:value="${config.oneEmailPerUser}"/>
   to this:
<t:checkbox t:id="oneEmailPerUser" t:name="oneEmailPerUser" t:value="config.oneEmailPerUser"/>
   That's made my day evening.

No comments:

Post a Comment