Re: Help needed with ActionForm Bean

2002-09-25 Thread Karim Saloojee
values. - Original Message - From: "Vincent Berruchon" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, September 25, 2002 12:02 PM Subject: Re: Help needed with ActionForm Bean &g

Re: Help needed with ActionForm Bean

2002-09-25 Thread Vincent Berruchon
thanks for your reply, perhaps there's something I've haven't understand: I'd like to display in my select dropdown data that come from a database... where should I get this data from the DB this should be done before the call of the getXXX method of the ActionForm when. Should I use an actio

RE: Help needed with ActionForm Bean

2002-09-24 Thread Galbreath, Mark
It's magic. Seriously, your getters and setters in your ActionForm bean correspond to the HTML input fields in your JSP. So if you have a select dropdown in the JSP called "state," in some HTML form for collecting personal information you could have private state = ""; public void setStat

RE: Help needed with ActionForm Bean

2002-09-24 Thread Taylor, Jason
You may want to look at an example that uses DynaActionForm as the class associated with an action in the action-mappings node of the struts-config.xml -Original Message- From: Vincent Berruchon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 8:19 AM To: Struts Users Mailing

RE: Help needed with ActionForm Bean

2002-09-24 Thread Jon.Ridgway
Hi Vincent, I'm afraid there is no easy answer; you'll need to have a read at: http://jakarta.apache.org/struts/userGuide/index.html To get a quick start try looking at the source code of the struts-example.war. Jon Ridgway -Original Message- From: Vincent Berruchon [mailto:[EMAIL P