In, <parameter name="delegate" type="org.apache.tapestry.valid.IValidationDelegate" required="yes"/>
try adding direction="in" . No guaranty it will work. Shing --- david joffrin <[EMAIL PROTECTED]> wrote: > Thanks for that, however, now, I am having this > error: > Unable to resolve expression > 'bindings.delegate.object.fieldTrackings' for > [EMAIL PROTECTED]/$ShowError]. > > Thanks. > DvJ > > >From: Shing Hing Man <[EMAIL PROTECTED]> > >Reply-To: "Tapestry users" > <[email protected]> > >To: Tapestry users > <[email protected]> > >Subject: Re: A show error component > >Date: Sat, 23 Apr 2005 10:56:16 +0100 (BST) > > > > > <tr jwcid="@Foreach" > > > source="bindings.delegate.object.fieldTrackings" > > > value="ognl:fieldTracking"> > > > >Inside source above, shouldn't it be > >source="ognl:bindings.delegate.object.fieldTrackings" > > > >Shing > > > > > >--- david joffrin <[EMAIL PROTECTED]> > wrote: > > > Hi, > > > > > > I am coming with this topic as I left it on the > side > > > while fixing some other > > > stuffs: > > > <span jwcid="ifError"> > > > <div id="error"> > > > <table> > > > <tr> > > > <td> > > > <img jwcid="@Image" > > > image="ognl:assets.warningImage"/> > > > </td> > > > <tr jwcid="@Foreach" > > > source="bindings.delegate.object.fieldTrackings" > > > value="ognl:fieldTracking"> > > > <span jwcid="@Conditional" > > > condition="ognl:fieldTracking != null"> > > > <td> DvJ - <span jwcid="@Delegator" > > > > delegate="ognl:fieldTracking.errorRenderer">Error > > > message goes here.</span> > > > </td> > > > </span> > > > </tr> > > > </table> > > > </div> > > > </span> > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > <!DOCTYPE component-specification > > > PUBLIC "-//Apache Software > Foundation//Tapestry > > > Specification 3.0//EN" > > > > >"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd"> > > > <component-specification > > > class="org.apache.tapestry.BaseComponent" > > > allow-body="no" > allow-informal-parameters="no"> > > > <parameter name="delegate" > > > > type="org.apache.tapestry.valid.IValidationDelegate" > > > required="yes"/> > > > <private-asset name="warningImage" > > > resource-path="/images/attention.gif"/> > > > <property-specification name="fieldTracking" > > > > type="org.apache.tapestry.valid.IFieldTracking"/> > > > <component id="ifError" type="Conditional"> > > > <binding name="condition" > > > > expression="bindings.delegate.object.hasErrors"/> > > > </component> > > > </component-specification> > > > > > > Even if I am in error, nothing is appear... only > the > > > icon! > > > > > > Any ideas? > > > > > > Thanks. > > > DvJ > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > To unsubscribe, e-mail: > > > [EMAIL PROTECTED] > > > For additional commands, e-mail: > > > [EMAIL PROTECTED] > > > > > > > > > >Home page : > > http://uk.geocities.com/matmsh/index.html > > > >Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Home page : http://uk.geocities.com/matmsh/index.html Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
