dropdowndatetimepicker not working 2007-01-12 - By Alexandre Mendon?a Lima
Back Hi,
Previously, when I was using version 2.0.1, my JSP was:
<s:datepicker name="equipamento.dataCadastro" format="#dd/#MM/#yyyy" value="% {dataEqp}"/>
The property dataCadastro in bean equipamento (property of my action) is from type java.util.Date . It's worked!
Now, I'm using the actual version that I?ve copied from http://people.apache .org/builds/struts/2.0.2/ . The tag was modified and I change for:
<s:dropdowndatetimepicker name="equipamento.dataCadastro" type="date" language= "pt-br"/>
After submit it generates error: Invalid field value for field "equipamento .dataCadastro". In my console shows 2 messages:
SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'dojo.equipamento.dataCadastro' with value '[Ljava .lang.String;@(protected)' SEVERE: ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'equipamento.dataCadastro' with value '[Ljava.lang .String;@(protected)'
What's happened?
Alexandre Lima from Salvador, Brazil
|
|