Thanks Michael, you've been a great help...
Regards,
m
-Original Message-
From: Michael D. Norman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 6:37 AM
To: 'Struts Users Mailing List'
Subject: RE: HashMap with options
Could you elaborate what happens when I
I can read more about this?
Many Thanks
M
-Original Message-
From: Michael D. Norman [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 11, 2003 3:31 AM
To: Struts Users Mailing List
Subject: Re: HashMap with options
Manav wrote:
Can i use HashMap with options?
something
Could you elaborate what happens when I specify the name along with
the
property attribute?
The name attribute tells the bean:define/ tag what key to use in the
page/request/session/application scope. Without it, you're trying to
get a property from nothing.
Does struts iterate through each
You might want to investigate using a List of LabelValueBean objects
instead.
Matt
- Original Message -
From: Manav Gupta [EMAIL PROTECTED]
To: Struts Developers (E-mail) [EMAIL PROTECTED]
Sent: Friday, October 10, 2003 12:24 PM
Subject: HashMap with options
Hi
Can i use HashMap
Manav wrote:
Can i use HashMap with options?
something like:
bean:define id=statusFilters property=statusFilters
type=java.util.HashMap /
html:options collection=statusFilters property=key
labelProperty=value/
Manav,
Yes, you should be able to use any Map as the collection, with the
5 matches
Mail list logo