There is a example for populating a select using alist on this page:

http://struts.apache.org/2.0.8/docs/select.html

I was wondering what:

list="petDao.pets"
listKey="id"
listValue="name"

are referring to?

Is petDao a java bean?  Is it an action?  How do you set it up on the
page?  What is pets?  Does it refer to petDao.getPets?  what does it
return?  What do id and name refer to?   Does getPets return a list of
objects that contain the fields name and id which have the getters and
setters for those fields?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to