The error is self explanatory; module was null, so there's no way to update module.name. You need to ensure that there's a non-null value for the module property; perhaps make it persistent.
On 6/24/05, Eng Lark Eric Tan <[EMAIL PROTECTED]> wrote: > Dear all, > > How can I update this? Should I implement the > setModule()?? > > Best regards, > Eric Tan > > Error Message: > org.apache.tapestry.BindingException > Unable to update expression 'module.name' for > [EMAIL PROTECTED] 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com