Hi friends,

My ActionForm has a Date property. 

First I need to renderize it formatted. Since the html:text has no format property, i 
did this:

<input type="text" name="data" id="data" value="<bean:write name="GridForm" 
property="data" format="dd/MM/yyyy" />">

Another way?

Second I need to submit the value inserted in the html:text by user, to this same Date 
property.

But when i submit the page, de BeanUtils.populate throws a error, because it can not 
do the automatic conversion from String to Date.

How it could be done automatically?

tks, Paulo Marcio

Reply via email to