Re: String value instead of Date

2009-03-16 Thread Leonardo Uribe
Hi If you use a validator like t:validateRegExpr, you assume the value to be saved on the bean is a String, instead a Date. To make this work you have to implement a custom converter that implements org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.DateConverter. In this case, converter.getA

String value instead of Date

2009-02-24 Thread Markus Mehrwald
Hi all, I have the following code: pattern="^([0-3]?\d)\.([0-1]?\d)\.((\d){2}|(\d){4})$" detailMessage="TT.MM. eingeben."/> The problem is, that the regexpr validator does not work because it gets the String vom the Date's toString and this is not what is shown i