Thiago H. de Paula Figueiredo a écrit :
> Validation errors do not come from app.properties. They need to be put
in some other properties file in the classpath and then you must inform
this to Tapestry through a contribution to the ValidationMessagesSource
public void
contributeValidationMes
Em Thu, 10 Dec 2009 10:21:13 -0200, Nicolas Bouillon
escreveu:
Hi,
Hi!
My problem I can't set the default message in case of validation error.
I've always a [[missing key: date-must-be-in-future]], even if i put the
key in my WEB-INF/app.properties.
Validation errors do not come from
Hi,
I'm trying to add a validator for the date field. I've created the
validator "infuture" to verify the picked date is in the future
t:validate="required,infuture"/>
In my app module, i've added
/**
* Contributes the set of validators:
*/
public static void contributeFie
Thanks very much Martino,
an fool fault!, but it did not know clearly so that was the method
getAcceptsNull(), seemed to me very similar to isRequired() and I supposed
that they had the same function.
In the end, i think in extend the class
org.apache.tapestry.form.validator.Required
and it wor
you made getAcceptsNull as "false" so you'll never receive a null to validate...
On 7/30/07, César Augusto Mateus <[EMAIL PROTECTED]> wrote:
> Hi all,
> I did a Validator with the purpose of not to allow that a user entered a
> date before of today.
> That validation work fine, but not yet i can t
Hi all,
I did a Validator with the purpose of not to allow that a user entered a
date before of today.
That validation work fine, but not yet i can to do that this validator is
obligatory, because when i enter a null value, the validator was not call.
My Validator code here, thanks
package co.org.