Take a look at a plugin I wrote: http://www.rabago.net/struts/formdef. It helps with the formatting and parsing of your form data.
--- Paulo Rezende <[EMAIL PROTECTED]> wrote: > 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 __________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]