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]

Reply via email to