--- [EMAIL PROTECTED] wrote: > Can someone identify the attributes of this example > code, preferably in the documentation itself? > > http://struts.apache.org/2.x/docs/select.html > > > <s:select label="Pets"
The label. > name="petIds" The action property. > list="petDao.pets" Where the list comes from (the list used to populate the options). > listKey="id" The value for <option value="xxx"> > listValue="name" The text of the option <option...>XXX</option> > multiple="true" Multiple select? > size="3" How tall is it? > required="true" Is it a required form element? > Is there an expectation that a getPetDao() exists > somewhere? Yes. That's where the list comes from. > Also, what is listKey/listValue See above. > [...] it eludes me how development comes to a \ > screeching halt when you need to drop one on a > screen! That eludes me too. d. ____________________________________________________________________________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. http://autos.yahoo.com/green_center/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]