Re: Pre-populating Form Bean

2002-12-23 Thread Austin Lowry
working however then don't fix it... - Original Message - From: Mark Conlin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, December 20, 2002 8:42 PM Subject: RE: Pre-populating Form Bean This can not be the correct way to do this. I removed any reference

Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
I would like to pre-populate a form bean for an edit screen. I have spent the last hour or two reading the archives and still I have failed to find the help I need. Any feedback would be appreciated. I have an Action class CustomerAccountDetailsPreEditAction that pre-populates my form.

Re: Pre-populating Form Bean

2002-12-20 Thread Eddie Bush
If this is a form which you've declared in your config file, and it's associated with this action and you're forwarding to a JSP, you really needn't bother sticking it into any scope. Struts will do this for you. Just populate the form and return an ActionForward and let Struts do it's thing.

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 2:13 PM To: Struts Users Mailing List Subject: Re: Pre-populating Form Bean If this is a form which you've declared in your config file, and it's associated with this action and you're forwarding to a JSP, you really

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
... Mark -Original Message- From: Mark Conlin [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 1:38 PM To: 'Struts Users Mailing List' Subject: RE: Pre-populating Form Bean Okay so I have done the following... I placed name=customerDetailsForm into my action declaration

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
2:30 PM To: 'Struts Users Mailing List' Subject: RE: Pre-populating Form Bean Okay, I think I am missing something major here. By watching the log files I see the following. 1)Proccessing my pre edit Action - customer.customAccountDetails.pre.edit 2)Struts then looks for my ActionForm

RE: Pre-populating Form Bean

2002-12-20 Thread Robert Taylor
for the pre edit action mapping. robert -Original Message- From: Mark Conlin [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 2:30 PM To: 'Struts Users Mailing List' Subject: RE: Pre-populating Form Bean Okay, I think I am missing something major here. By watching the log

Re: Pre-populating Form Bean

2002-12-20 Thread Mark Lowe
working however then don't fix it... - Original Message - From: Mark Conlin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, December 20, 2002 8:42 PM Subject: RE: Pre-populating Form Bean This can not be the correct way to do this. I removed any

Re: Pre-populating Form Bean

2002-12-20 Thread Austin Lowry
working however then don't fix it... - Original Message - From: Mark Conlin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, December 20, 2002 8:42 PM Subject: RE: Pre-populating Form Bean This can not be the correct way to do this. I removed any

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
Yes, this did the trick, setting the validate=false works great! Thank you so much. Mark -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 2:56 PM To: Struts Users Mailing List Subject: RE: Pre-populating Form Bean Don't validate the pre

Re: Pre-populating Form Bean

2002-12-20 Thread Eddie Bush
Your problem is that you need validate=false -- that will get rid of the requirement to have 'input=?' and will allow your action to execute as you expect. Nothing major at all - very subtle problem. Mark Conlin wrote: This can not be the correct way to do this. I removed any reference to