Thanks a lot for the suggestion and reply... it worked... Thanks once again..
Regards, Anjali -----Original Message----- From: Muralidhar Y. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 27, 2005 9:17 AM To: 'Tapestry users' Subject: RE: How ro apply Localization If you want to acieve both you have to use "FieldLabel" component and map its 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.com http://www.mercator.aero (Keep Smiling. Be happy All The Time.) -----Original Message----- From: Anjali Abraham [mailto:[EMAIL PROTECTED] Sent: 26 September 2005 19:08 To: 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
