to access.
robert
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 11:38 AM
To: Struts Users Mailing List
Subject: RE: Please help decide a religious discussion
We have done alot of this and have tried many things.
In our case
All,
My team is currently at loggerheads about the correct place to put the
database calls that are prepopulating our drop downs. We can not decide if
they should be in the ActionForm or in the Action class. We are trying to
stick them in the validate method in the ActionForm to make sure they
PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Please help decide a religious discussion
Date: Fri, 27 Sep 2002 09:13:35 -0500
All,
My team is currently at loggerheads about the correct place to put the
database calls
+1
David Graham wrote:
The Action class...but the action should be asking a helper object for
a list of whatever goes in your drop down. It shouldn't know about
the database directly. So you might have in your action.execute():
List list = StateHelper.getStateList();
// put list in
]
tmail.comcc:
Subject: Re: Please help decide a
religious discussion
.
Steve
David Graham
dgraham1980@ho To:
[EMAIL PROTECTED]
tmail.comcc:
Subject: Re: Please help
decide a religious discussion
09/27/2002
Sounds like you need to define the action and not the jsp as your input in
struts-config.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 22:40
To: Struts Users Mailing List
Subject: Re: Please help decide a religious discussion
Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 10:40 AM
To: Struts Users Mailing List
Subject: Re: Please help decide a religious discussion
That is what we are doing now. It goes through a controller to the database, but we
are using
:
Subject: RE: Please help decide a
religious discussion
09/27/2002 09:50 AM
: RE: Please help decide a
religious discussion
09/27/2002
09:51 AM
first and it forwards you to the view after populating
the drop-downs.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 22:54
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Please help decide a religious discussion
, September 27, 2002 7:50 AM
To: Struts Users Mailing List
Subject: RE: Please help decide a religious discussion
Sounds like you need to define the action and not the jsp as your input in
struts-config.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday
!)
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 23:06
To: [EMAIL PROTECTED]
Subject: RE: Please help decide a religious discussion
It's not hard to know when to get rid of it. First Action puts list in
session, jsp displays list, Save
help decide a religious discussion
Then the session times out and the list goes away automatically.
Dave
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts [EMAIL PROTECTED],David Graham
[EMAIL PROTECTED]
Subject: RE: Please help decide a religious discussion
Date
] on 09/27/2002 10:04:00 AM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: Please help decide a religious discussion
Well if the Action is needed to populate the drop-downs (these values being
in request
15 matches
Mail list logo