Hi,
        Need help again!!!!
        Well I have one more problem regarding localization for button
names.
I have a scenario wherein I have 2 buttons in my one page and based on click
on individual button, I need to carry out different functionality... for
this I have given jwcid to each button. 
Now my question is, as we cannt give 2 jwcid in a single <input> tag, so how
are we going to give localization to that button without using jwcid="@Any".

Well let me given you my .html and .page code:
Below is my .html code:

<input name="submit" value="Resend code"  type=submit jwcid="resendCode"
style="background: white; color: grey;" />

<input name="submit" value="Verify" type=submit jwcid="verify"
style="background: white; color: grey;" />

And Below is my .page file:

<component id="resendCode" type="Submit">
        <binding name="selected" value="buttonClicked"/>
        <binding name="tag" value="literal:resendCode"/>
</component>

<component id="verify" type="Submit">
        <binding name="selected" value="buttonClicked"/>
        <binding name="tag" value="literal:verify"/>
</component>

Please respond with solution:
Thanks in advance,

Regards,
Anjali

-----Original Message-----
From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 27, 2005 3:19 PM
To: Tapestry users
Subject: Re: How ro apply Localization

Hi,

Well, if you ONLY want localization and nothing else on your reset 
button, then perhaps

   <input name="reset" type="reset" jwcid="@Any" value="message:reset" 
style="background: white; color: grey;">

would do the trick? Question is, what do you need your rRDTO property 
for? It looks like it's just there for no reason at all...

-Filip

Anjali Abraham wrote:
> Well you are right, I haven't defined "rRDTO" in my .java or my .page
> file... well I have one doubt, do I require this for my reset button's
label
> apply localization and if it is required then how do I define the OGNL
> expression for " rRDTO" in my either .java/.page file.
> 
> Regards,
> Anjali

Reply via email to