yes, just add % in front of it:

<binding name="validators" value="validators:required[%validation-message-key]" />


and in your .properties:

validation-message-key = You are missed {0}



On Sun, 02 Apr 2006 14:29:11 +0200, Yura.Tkachenko <[EMAIL PROTECTED]> wrote:

Hi, All


I have one trouble: I added almost full localization for my application
except validation messages, here is my part of page file which describes one
page:

:::::::::..

    <component id="userId" type="TextField">

        <binding name="value" value="userId"/>

        <binding name="displayName" value="message:userid" />

<binding name="validators" value="validators:required[You are missed
{0}.]" />

    </component>

:::::::::::


So I have required validator with custom message, is it possible to move
this message to localization file?



Thanks for any help,

Yura Tkachenko

Murano Software Kharkov, Ukraine

mailto:  <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED]

 <http://www.muranosoft.com> http://www.muranosoft.com







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to