
Originally Posted by
Marvell
Hi all again
I'm deploying a web application and on a form I am getting the following messages on the debug log:
Code:
2010-08-03 00:28:53,093 DEBUG [org.springframework.beans.BeanUtils] (http-127.0.0.1-8080-3) No property editor [intEditor] found for type int according to 'Editor' suffix convention
2010-08-03 00:28:53,093 DEBUG [org.springframework.beans.BeanUtils] (http-127.0.0.1-8080-3) No property editor [java.lang.BooleanEditor] found for type java.lang.Boolean according to 'Editor' suffix convention
2010-08-03 00:28:53,108 DEBUG [org.springframework.beans.BeanUtils] (http-127.0.0.1-8080-3) No property editor [java.util.DateEditor] found for type java.util.Date according to 'Editor' suffix convention
2010-08-03 00:28:53,108 DEBUG [org.springframework.web.servlet.DispatcherServlet] (http-127.0.0.1-8080-3) Successfully completed request
The JSP related code is:
Code:
......
<tr>
<td>Código INE</td>
<td colspan="3">
<form:input path="inCodIne" value=""/>
</td>
</tr>
......
<tr>
<td> </td>
<td>
<form:checkbox path="blCertificado"/>Certificated
</td>
<td>
<form:input path="situacionRegistro.dtAlta"/>
</td>
</tr>
The bean related fields are:
Code:
......
private Boolean blCertificado;
private int inCodIne;
private Date dtAlta;
.....
So I know the problems are the attributes type. I've read lot of post here about writing editors, but at the moment I don't have any idea how to solve that...
Any suggestions will be appreciated. Best regards
Hi,
I am also facing the same problem. If you have worked around this problem please help me with this. Below is the log
Code:
11:35:28,276 INFO RegistrationController:44 - ::::: Loaded the Register Page successfully :::::
11:35:28,281 DEBUG DefaultListableBeanFactory:1453 - Invoking afterPropertiesSet() on bean with name 'register/register'
11:35:28,281 DEBUG DispatcherServlet:1061 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'register/register'; URL [/jsp/register/register.jsp]] in DispatcherServlet with name 'ilms'
11:35:28,298 DEBUG JstlView:236 - Forwarding to resource [/jsp/register/register.jsp] in InternalResourceView 'register/register'
11:35:28,355 DEBUG DispatcherServlet:674 - Successfully completed request
11:36:04,855 DEBUG DispatcherServlet:693 - DispatcherServlet with name 'ilms' processing POST request for [/ILMS-Spring-Hibernate/registersuccess.htm]
11:36:04,856 DEBUG SimpleUrlHandlerMapping:221 - Mapping [/registersuccess.htm] to handler 'ilms.spring.hibernate.formcontrollers.RegistrationFormController@18767ad'
11:36:04,872 DEBUG BeanUtils:421 - No property editor [ilms.spring.hibernate.dto.BranchEditor] found for type ilms.spring.hibernate.dto.Branch according to 'Editor' suffix convention
11:36:04,875 DEBUG BeanUtils:421 - No property editor [ilms.spring.hibernate.dto.RankEditor] found for type ilms.spring.hibernate.dto.Rank according to 'Editor' suffix convention
11:36:04,876 DEBUG BeanUtils:421 - No property editor [ilms.spring.hibernate.dto.UnitEditor] found for type ilms.spring.hibernate.dto.Unit according to 'Editor' suffix convention
11:36:04,878 DEBUG BeanUtils:421 - No property editor [ilms.spring.hibernate.dto.UserSectionEditor] found for type ilms.spring.hibernate.dto.UserSection according to 'Editor' suffix convention
11:36:04,881 DEBUG DispatcherServlet:1061 - Rendering view [org.springframework.web.servlet.view.JstlView: name 'register/register'; URL [/jsp/register/register.jsp]] in DispatcherServlet with name 'ilms'
11:36:04,882 DEBUG JstlView:328 - Added model object 'Register' of type [ilms.spring.hibernate.dto.Register] to request in view with name 'register/register'
11:36:04,882 DEBUG JstlView:328 - Added model object 'org.springframework.validation.BindingResult.Register' of type [org.springframework.validation.BeanPropertyBindingResult] to request in view with name 'register/register'
11:36:04,882 DEBUG JstlView:236 - Forwarding to resource [/jsp/register/register.jsp] in InternalResourceView 'register/register'
11:36:04,884 DEBUG DispatcherServlet:674 - Successfully completed request
Thank you.