Hi,There's an error in your OGNL expression, but without your full source code - both .java, .page, and .html - it's hard to say exactly what's wrong.
Check that either your Java class or page template defines a "rRDTO" property providing an object with a "reset" property - it's probably a typo or some similar sort of problem.
-Filip Anjali Abraham wrote:
Now its giving me this error: org.apache.tapestry.BindingException Unable to read OGNL expression '<parsed OGNL expression>' of [EMAIL PROTECTED]: $Signup_19.rRDTO binding: ExpressionBinding[signup rRDTO.reset] location: context:/WEB-INF/signup.html, line 94 89 90 <TR> 91 <td> </td> 92 <TD align="left"> 93 <input name="submit" type=submit value="Signup" style="background: white; color: grey;"> 94 <input name="reset" type=reset jwcid="@Any" value="ognl:rRDTO.reset" displayName="message:reset" style="background: white; color: grey;"> 95 </input> 96 </TD> 97 </TR> 98 Regards, Anjali -----Original Message-----From: Muralidhar Y. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 9:17 AMTo: 'Tapestry users' Subject: RE: How ro apply LocalizationIf you want to acieve both you have to use "FieldLabel" component and mapits display name parameter to localisation. Look at the following one. Always you have to use "FieldLabel" in combination with "ValidField" . <td class="labelmndt"><span jwcid="@FieldLabel" field="ognl:components.origin" displayName="message:origin" >Origin</span> : </td> <td><input class="inputs" jwcid="[EMAIL PROTECTED]"value="ognl:rRDTO.origin" displayName="message:origin" /> </td>Muralidhar Y Software Engineer, Adastrum technologies-Nikai groups, EmiratesGroup-I.T Division, Dubai, UAE. Mobile : 00971-50-2256149. http://www.adastrumtech.comhttp://www.mercator.aero (Keep Smiling. Be happy All The Time.)-----Original Message-----From: Anjali Abraham [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 19:08To: Tapestry users Subject: RE: How ro apply Localization Hi, Well It worked, but there is a small issue. 1st of all let me tell you what I have done... <tr> <th class="text" width="40%"><label jwcid="@FieldLabel" field="component:firstName">message:signup.firstname</label></th> <td width="60%"><input type="text" jwcid="firstName" size="30"/></td> </tr> the above code is my previous code before change Actually I was using @FieldLabel for displaying label. This also helps me to show that field as mandatory fields showing it to me in red color. Then I have changed it to: <tr> <th class="text" width="40%"> <span jwcid="@Insert" value="message:signup.firstname"/> </th> <td width="60%"><input type="text" jwcid="firstName" size="30"/></td> </tr> With this change in code, the localization worked but when I click on the submit button by leaving my first name field empty, its not showing it as red color.... How can I implement both the features..?????? Please respond, Thanks in advance, Regards, Anjali -----Original Message----- From: Andreas Andreou [mailto:[EMAIL PROTECTED] Sent: Monday, September 26, 2005 8:08 PM To: Tapestry users Subject: Re: How ro apply Localization Use <span jwcid="@Insert" value="message:signup.firstname"/> Anjali Abraham wrote:In my .html file, I have the code like this: <tr> <th class="text" width="40%"><label jwcid="@FieldLabel" field="component:firstName">message:signup.firstname</label></th><td width="60%"><input type="text" jwcid="firstName" size="30"/></td> </tr>I am trying to apply localization as shown above. But nothing matters in this case...How do I need to apply localization in this case..... Please help... Thanks in advance, Regards, Anjali--------------------------------------------------------------------- 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]
smime.p7s
Description: S/MIME Cryptographic Signature
