might be worth checking Apache Commons Collections as it
(almost) for sure has what you need.
David
-Original Message-
From: Andreja [mailto:[EMAIL PROTECTED]
Sent: quinta-feira, 5 de Julho de 2007 18:13
To: Struts Users Mailing List
Subject: Re: Populate a s:select
Hi.
LinkedHashMap will pr
Hi.
LinkedHashMap will preserve order in wich elements are added to
LinkedHashMap, and checkboxlist (radiobuttons, etc) will be displayed
in that order.
> If I have a Hashtable with the
> following data:
> 1,"One"
> 2,"Two"
> 11,"Eleven"
> Is it possible to make the select box display the
> d
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> With #7/#8. If petsDao.pets is an ArrayList
> does listKey="fieldName" and listValue="fieldName2"
> mean that to get these values, call getFieldName()
> getFieldName2() on the objects stored in the
ArrayList
Yep:
>> listKey: Property of list objec
On 7/4/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.8/docs/select.html
>
> I was wondering what:
>
> list="petDao.pets"
> listKey="id"
> listValue="name"
>
> are referring to?
>
> 1) Is petDao a java bean? 2) Is it an acti
--- Richard Sayre <[EMAIL PROTECTED]> wrote:
> http://struts.apache.org/2.0.8/docs/select.html
>
> I was wondering what:
>
> list="petDao.pets"
> listKey="id"
> listValue="name"
>
> are referring to?
>
> 1) Is petDao a java bean? 2) Is it an action?
> 3) How do you set it up on the page? 4)
5 matches
Mail list logo