You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Eng Lark Eric Tan <ne...@yahoo.com.hk> on 2005/06/25 04:00:45 UTC
value = object.property
Dear all,
How can I update this? Should I implement the
setModule()??
Error Message:
org.apache.tapestry.BindingException
Unable to update expression 'module.name' for
page.ScEdit$Enhance_122@1a8c064[ScEdit] to myString.
ognl.OgnlException
target is null for setProperty(null, "name", myString)
---------------------------------------------------------------
.html
<tr valign="top">
<td height="25">
<span class="style67">Module:</span>
</td>
<td height="25">
<span class="style69" jwcid="moduleName">Bulletin
Management</span>
</td>
</tr>
.page
<property-specification name="module"
type="mypkg.Module"/>
<component id="moduleName" type="ValidField">
<static-binding name="displayName"
value="Module Name"/>
<binding name="validator"
expression="beans.required"/>
<binding name="value"
expression="module.name"/>
</component>
.java
abstract public Module getModule();
abstract public void setModule(Module module);
伈鴃立即知
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org