RE: Pre-populating a form from a database

2004-12-03 Thread Donie Kelly
Thanks, that worked. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 17:12 To: Struts Users Mailing List Subject: RE: Pre-populating a form from a database > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent:

RE: Pre-populating a form from a database

2004-12-03 Thread Simon Matic Langford
have you got any documentation anywhere on your site? I couldn't see any... > -Original Message- > From: Tak Yoshida [mailto:[EMAIL PROTECTED] > Sent: 03 December 2004 03:01 > To: Struts Users Mailing List > Subject: Re: Pre-populating a form from a database > &

Re: Pre-populating a form from a database

2004-12-02 Thread Tak Yoshida
Carlos Cajina wrote in <[EMAIL PROTECTED]> >One of the solutions I've implemented is to create an intermediate action >that loads data from a database, populates de ActionForm, and directs the >user to the apropiate JSP. This could be a better option, which has the consistent prepare method invo

Re: Pre-populating a form from a database

2004-12-02 Thread Carlos Cajina
However, I can't get the action to trigger when I go to the form initially. I am a bit lost on this one even though I'm trying to understand these tutorials. One of the solutions I've implemented is to create an intermediate action that loads data from a database, populates de ActionForm, and dir

RE: Pre-populating a form from a database

2004-12-02 Thread Jim Barrows
> -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 02, 2004 9:57 AM > To: Struts Users Mailing List > Subject: RE: Pre-populating a form from a database > > > Hi (and sorry for the noob question) It's what we'

RE: Pre-populating a form from a database

2004-12-02 Thread Donie Kelly
igger when I go to the form initially. I am a bit lost on this one even though I'm trying to understand these tutorials. Thanks Donie -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 02 December 2004 16:59 To: Struts Users Mailing List Subject: RE: Pre-populat

RE: Pre-populating a form from a database

2004-12-02 Thread Jim Barrows
The form bean is a not a data access object!!! Get the data in the action class, populate the form bean from that. FormBeans are for display only. > -Original Message- > From: Donie Kelly [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 02, 2004 9:43 AM > To: Struts Users Mailing