of html:select widgets
Thanks. I'll give it a try.
ATTA
- Original Message -
From: Amit Kirdatt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:17 PM
Subject: RE: A column consisting of html:select widgets
Okay I see
Dear All,
I'm using struts 1.0.2.
I have a requirement where i need to show a column consisting of dropdown
lists. Every row of the table for the column shows a dropdown with the same
list of options.
I've used String[] getCategory() and setCategory(String[]) getter/setter in
thr ActionForm. On
-
From: atta-ur rehman [mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:46 PM
To: Struts Users Mailing List
Subject: A column consisting of html:select widgets
Dear All,
I'm using struts 1.0.2.
I have a requirement where i need to show a column consisting of dropdown
lists. Every row
]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:58 AM
Subject: RE: A column consisting of html:select widgets
Atta,
In your JSP page do the following
html:select property=item
html:options collection=myOptions property=value
labelProperty=label/
/html:select
: Amit Kirdatt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 10:58 AM
Subject: RE: A column consisting of html:select widgets
Atta,
In your JSP page do the following
html:select property=item
html:options collection=myOptions property=value
Message -
From: Amit Kirdatt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 11:30 AM
Subject: RE: A column consisting of html:select widgets
Atta,
Can you post the relevant code both JSP and Java objects for us to look at
and point you
]
Sent: Monday, July 21, 2003 11:27 AM
To: Struts Users Mailing List
Subject: Re: A column consisting of html:select widgets
Thanks Amit.
And that's exactly what i'm doing! Still i fails to show the correct option
for the dropdowns.
Are you sure its available in struts 1.0? moreover, is my
[EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:00 PM
Subject: RE: A column consisting of html:select widgets
Have you tried using a separate ViewAction for the display and a
SubmitAction for the submittal.The ViewAction could populate the data from
[mailto:[EMAIL PROTECTED]
Sent: Monday, July 21, 2003 1:52 PM
To: Struts Users Mailing List
Subject: Re: A column consisting of html:select widgets
okay, here goes my JSP code:
REPATE FOR ALL THE BLOCKS
html:select property=blockDataSource style=WIDTH: 110px; font-size: 8pt
onchange
Thanks. I'll give it a try.
ATTA
- Original Message -
From: Amit Kirdatt [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Monday, July 21, 2003 12:17 PM
Subject: RE: A column consisting of html:select widgets
Okay I see what you are trying to do.
Here
10 matches
Mail list logo