Here my most ugly but working solution for this, in case somebody is
interested:

#if(!$lGroup.Startnr.isValid())
#set($message=$lGroup.Startnr.Message)
#if($message=="Entry was not a valid integer")
#set($message="Bitte geben Sie einen Zahlenwert ein.")
#end
<br><span class="valerror">$message</span>
#end

This works around the message that is hard-coded into the Validator.

Marc


> -----Ursprungliche Nachricht-----
> Von: Quinton McCombs [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 18. Februar 2003 16:20
> An: Turbine Users List
> Betreff: RE: Intake: how to specify error-message for Object-types?
>
>
> That value is hard coded into the Validator.
>
> > -----Original Message-----
> > From: Marc Lustig [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, February 18, 2003 9:17 AM
> > To: Turbine Users List
> > Subject: Intake: how to specify error-message for Object-types?
> >
> >
> > Hi,
> >
> > if I enter a letter in a text-field that corresponds to a
> > field which has type="int"
> >
> > <field .. type="int">
> >
> > then this message is displayed automatically: "Entry was not
> > a valid integer"
> >
> > How can I change the value of this string?
> >
> > Marc
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>


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

Reply via email to