Does your src/main/resources/errors.properties have the following line in it:

errors.required=${getText(fieldName)} is a required field.

Does your struts.xml include errors.properties?

<constant name="struts.custom.i18n.resources"
value="ApplicationResources,errors"/>

Matt

On 6/25/07, tibi <[EMAIL PROTECTED]> wrote:
yes and yes

tibi

Matt Raible wrote:
> You get this from server-side validation? You're using Struts correct?
>
> On 6/25/07, tibi <[EMAIL PROTECTED]> wrote:
>>
>> i now have m5 running.
>> and there is one more thing:
>> when i edit my profile and i don't fill a required field i get the
>> message:
>> {0} is a required field.
>>
>> how can i make sure that i get {0} replaced?
>>
>> thanks,
>>
>> tibi
>>
>> ---------------------------------------------------------------------
>> 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]




--
http://raibledesigns.com

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

Reply via email to