Try initializing the endDate member data when the ActionForm bean is instantiated
/Ross -----Original Message----- From: Mattos, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 12:28 PM To: 'Struts Users Mailing List' Subject: RE: Pre Populating Fields - bit of a newbie question Anyone? Pre populating fields? John Mattos Sr. Developer and Architect iNDEMAND 345 Hudson St. 16th Floor New York, New York 10014 -----Original Message----- From: Mattos, John [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 05, 2002 11:19 AM To: 'Struts Users Mailing List' Subject: Pre Populating Fields - bit of a newbie question Hi I need to have a startDate and endDate field in my form, and I'd like to prepopulate the endDate field with today's date. There's a bean that has set/getEndDate() methods, and I get to the form from an Action.perform() call What's the best way to prepopulate that field? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

