On Wednesday, November 6, 2002, 6:51:22 PM, Wendy Smoak wrote:
WS> Rick, thanks for posting this! I almost missed it, but caught Max's reply. WS> You say that the default BeanUtils.copyProperties works fie with WS> java.sql.Date, but I find that I still have a problem unless the user types WS> in the date backwards-with-dashes (2002-11-06) the way the WS> java.sql.Date.valueOf() method wants it. And that's a bit much to expect of WS> the users. Sorry, just saw this post from you. Did you get it all worked out? The DateConverter thing I mentioned works great when you register like in the example and yes you have to BeanUtils.copyProperties. You will be able to set the format for however you want the user to enter it (11/06/02,etc) and it will display it back in the same format. Just let me know if you got it worked out, if not I can help. -- Rick mailto:maillist@;reumann.net -- To unsubscribe, e-mail: <mailto:struts-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>