You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jim Menard <ji...@io.com> on 2004/02/22 22:49:14 UTC

ValidField, field names, and localization

I'm reading up on the ValidField component. The displayName parameter 
is a hard-coded String, not an expression.

How do I localize that string in my .jwc file?

Jim
-- 
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"It's overkill, of course. But you can never have too much overkill."
     -- Anonymous Coward on slashdot.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ValidField, field names, and localization

Posted by Programozás <pr...@hotmail.com>.
Try <message-binding>: TapestryUsersGuide\spec.message-binding.html

Norbi

----- Original Message ----- 
From: "Jim Menard" <ji...@io.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Sunday, February 22, 2004 10:49 PM
Subject: ValidField, field names, and localization


> I'm reading up on the ValidField component. The displayName parameter 
> is a hard-coded String, not an expression.
> 
> How do I localize that string in my .jwc file?
> 
> Jim
> -- 
> Jim Menard, jimm@io.com, http://www.io.com/~jimm/
> "It's overkill, of course. But you can never have too much overkill."
>      -- Anonymous Coward on slashdot.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ValidField, field names, and localization

Posted by Jim Menard <ji...@io.com>.
On Feb 22, 2004, at 4:57 PM, Erik Hatcher wrote:

> On Feb 22, 2004, at 4:49 PM, Jim Menard wrote:
>> I'm reading up on the ValidField component. The displayName parameter 
>> is a hard-coded String, not an expression.
>>
>> How do I localize that string in my .jwc file?
>
> <message-binding>
>
> or within a implicit expression in the .html:
>
> 	attribute="message:key"

Thanks to you and Norbi for your help. I didn't think expressions were 
allowed.

Jim
-- 
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
"Dvorak users of the world flgkd!" -- Kirsten Chevalier in 
rec.humor.oracle.d


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ValidField, field names, and localization

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
On Feb 22, 2004, at 4:49 PM, Jim Menard wrote:
> I'm reading up on the ValidField component. The displayName parameter 
> is a hard-coded String, not an expression.
>
> How do I localize that string in my .jwc file?

<message-binding>

or within a implicit expression in the .html:

	attribute="message:key"


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org