The DateTimeField validation message for hours for a 12-hour format indicates
that the date must be between 0 and 12.  Shouldn't this be between 1 and 12? 
The validator has the following:

protected Map variablesMap(IValidatable validatable)
{
        final Map map = super.variablesMap(validatable);
        map.put("minimum", new Long(0));
        map.put("maximum", new Long(getMaximumHours()));
        return map;
}

Shouldn't the minimum setting be 1 instead of 0 or am I missing something?

Jim
-- 
View this message in context: 
http://www.nabble.com/DateTimeField-validation-tp19077792p19077792.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to