Hey,
For your first question, I think you should specify the 'type' attribute of
the iterate tag. This indicates the type of variable that the collection
contains, and is pretty important (i think).
For the radio button, use a little scriptlet to set the value. In your case
it would be:
.
From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: Wed, 14 Aug 2002 12:41:49 -0400
MIME-Version: 1.0
Received: from [192.18.49.131] by hotmail.com (3.2
, August 14, 2002 12:53 PM
To: [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Hi Keith,
Thanks for the fast response. I've since added the type per your
suggestion. However, it still complains that the method iterator has no
getter. When I add getIterator to my class it works fine
PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: Wed, 14 Aug 2002 13:00:31 -0400
MIME-Version: 1.0
Received: from nagoya.betaversion.org ([192.18.49.131]) by
mc2-f26.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 14 Aug
2002 10:02
PROTECTED]
Subject: RE: Use of Iterator tag
I simply have a method named iterator in my bean that I'd like to use. If
I rename it to getIterator then it works fine. However, I don't want to
rename my method to getIterator. Any ideas?
From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED
Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: Wed, 14 Aug 2002 13:00:31 -0400
MIME-Version: 1.0
Received: from nagoya.betaversion.org ([192.18.49.131]) by
mc2-f26.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed
]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: Wed, 14 Aug 2002 13:14:45 -0400
MIME-Version: 1.0
Received: from nagoya.betaversion.org ([192.18.49.131]) by
mc2-f27.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Wed, 14 Aug
2002 10:16:59 -0700
Received
Mailing ListSubject: RE: Use of Iterator tag
the method comply with Java Bean naming conventions... And
work with STRUTS!
-Original Message-
From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 12:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Use of Iterator tag
You're trying to bypass
On Wed, 14 Aug 2002, nathan phillips wrote:
Date: Wed, 14 Aug 2002 17:11:50 +
From: nathan phillips [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
I simply have a method named iterator in my bean
PROTECTED]]
Sent: Wednesday, August 14, 2002 12:15 PM
To: 'Struts Users Mailing List'
Subject: RE: Use of Iterator tag
You're trying to bypass the internal workings of struts. That's just
the way struts works, if you want to pull the iterator out of the bean,
you need the get method
the matter:) No big deal.
Thanks for everyone's input.
From: Troy Hart [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: 14 Aug 2002 13:01:55 -0600
MIME-Version: 1.0
-Original Message-
From: nathan phillips [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 14, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: Use of Iterator tag
Hello all,
I'm new to Struts and attempting to make use of the iterator
tag. I have a
couple questions that
On Wed, 14 Aug 2002, nathan phillips wrote:
Date: Wed, 14 Aug 2002 19:16:46 +
From: nathan phillips [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
You may disagree, but I feel that it would be bad design
to
rename my method to getIterator. Any ideas?
From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Use of Iterator tag
Date: Wed, 14 Aug 2002 13:00:31 -0400
MIME-Version
15 matches
Mail list logo