--- 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) What is > pets? 5) Does it refer to petDao.getPets? 6) what > does it return? 7) What do id and name refer to? > 8) Does getPets return a list of objects that contain > the fields name and id which have the getters and > setters for those fields?
... 1) Yes. 2) No. 3) I don't know what that means. 4,5) It's a property of petDao, yes. 6) From the link you provided: "Iterable source to populate from." 7) From the link you provided: listKey: Property of list objects to get field value from listValue: Property of list objects to get field content from 8) Hope so. d. ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]