Hi,
If I use DyanActionForm, how should I populate dropdown box using
html:options tag? we would declare all the form attributes in
struts-config.xml, how should I initialize the collection and where?
Thanks,
Anand
-
To
Jarnot
Quidquid latine dictum sit, altum viditur.
-Original Message-
From: Anand M S [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 20, 2003 9:14 AM
To: Struts Users Mailing List
Subject: DyanActionForm and html:select, html:options tags
Hi,
If I use DyanActionForm, how
, 2003 10:20 AM
Subject: RE: DyanActionForm and html:select, html:options tags
html:select deals with populating a form property (a String - typically -
for single-select, and array for multi-select); html:options needs a
collection placed into some scope which is commonly done in the Action
10:35 AM
Subject: Re: DyanActionForm and html:select, html:options tags
Thanks for reply. But how can we do this using DynaActionForm, I'm not
sure,
please can u provide some code sample?
Thanks in advance.
- Original Message -
From: Jarnot Voytek Contr AU HQ/SC [EMAIL PROTECTED
Hi,Depending on what you are trying to do or the scale of the applicationyou are building, you can declare the collection within your jsp pageand put it within the pageContext or you can declare it in your Action subclass and put it in the session. I found the last option to be a neater and
Thanks
so much. This makes thing so much clearer for me.
-Original Message-From: chiji nwankwo
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, August 29, 2001 2:47
AMTo: [EMAIL PROTECTED]Subject: Re:
html:select html:options tags
Hi,Depending on what you are trying to do
Hi,
I am new to java, struts, jsp and EJB. And guess what, I need help.
What, I need to do is substitute the following with the html:options
collection ... tag.
tdhtml:select property=liquidNetWorth
option value=10Less than $5,000
option value=11Greater than $5,000
option
7 matches
Mail list logo