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 specify the name along with
the
> property attribute?
The "name" attribute tells the 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 item in
Is there any
link/website where 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 like:
>
> type="java.util.HashMap" />
> labelProperty="value"/>
Manav,
Yes, you should be able to use any Map as the collection, with the
attributes you have defined above for
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 w
Hi
Can i use HashMap with options?
something like:
such that the option value is the key and the labelProperty is the value?
thanks
M
6 matches
Mail list logo