Hi,
I am still trying to get this dynamic select box created.
Well, now I had a CLOSE look at the Struts documentation about
html:options tag.
The collection attribute is interpreted as the name of a JSP bean, in
some scope, that itself represents a collection of individual beans, one
per
:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 6:08 AM
To: [EMAIL PROTECTED]
Subject: dynamic select box
Hi,
I am still trying to get this dynamic select box created.
Well, now I had a CLOSE look at the Struts documentation about html:options tag.
The collection attribute is interpreted
Yes, 30 minutes before I did -I really forgot this valuable source of
information
What I did was really stupid!
At the beginning, I tried to do all features of my page from scratch,
but as it didn't work, I decided to work step by step.
So I left everything aside, and just tried to get this
when you build a dyanmic select tag, do you need a bean:define tag?
Jose Casas
E-Commerce Applications
(501) 277-3112
[EMAIL PROTECTED]
**
This email and any files transmitted with it are confidential
and intended solely
and it
bounced.
-- Larry Maturo
[EMAIL PROTECTED]
-Original Message-
From: Jose Casas [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 5:55 PM
To: 'Struts Users Mailing List'
Subject: RE: dynamic select box
I know it has been answered before, but that response was not useful to
me
Does anybody have sample code that shows how to build a select box
dynamically? I need to create the select box with values that come from a
database.
Thank you.
Jose Casas
E-Commerce Applications
(501) 277-3112
[EMAIL PROTECTED]
This has been answered before. Loop up html:options and collections
- Original Message -
From: Jose Casas [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, March 26, 2002 2:26 PM
Subject: dynamic select box
Does anybody have sample code that shows how
: Tuesday, March 26, 2002 4:49 PM
To: Struts Users Mailing List
Subject: Re: dynamic select box
This has been answered before. Loop up html:options and collections
- Original Message -
From: Jose Casas [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent
PROTECTED]
Sent: Tuesday, March 26, 2002 3:55 PM
Subject: RE: dynamic select box
I know it has been answered before, but that response was not useful to
me...i'm new to struts and i need something more in depth.
THanks.
Jose Casas
E-Commerce Applications
(501) 277-3112
[EMAIL PROTECTED
Para: 'Struts Users Mailing List'
Asunto: RE: dynamic select box
I know it has been answered before, but that response was not useful to
me...i'm new to struts and i need something more in depth.
THanks.
Jose Casas
E-Commerce Applications
(501) 277-3112
[EMAIL PROTECTED
Hi,
I'm new to struts and was wondering if anybody knew how create a select box
with struts. I have a bean which is returning an ArrayList. I want to use
this ArrayList as the options in the select tag. What code do I need in my
jsp to create this select box? Can somebody please help me?
in yourActionForm will be set to the
value the user picks when the HTML form is submitted.
-Original Message-
From: Jose Casas [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 25, 2002 2:35 PM
To: 'Struts Users Mailing List'
Subject: dynamic select box
Hi,
I'm new to struts
From the sample DB app:
in JSP:
html:select property=contactType
html:optionsCollection property=contactTypeOptions/
/html:select
In Options helper:
/**
* Return an unsynchronized collection of options.
*/
public Collection getContactTypeOptions() {
13 matches
Mail list logo