Hello, I am new to Struts2 and I am attempting to create a form with a select tag ... :/
<s:select id="genre" name="genreId" label="Genre" list="genres" listKey="id" listValue="nom" value="dvd.genre.id" cssClass="field"/> I have a Collection<Genre> genres in my Action and a String genreId. Genre is a simple JavaBean with id and name attributes. But when I submit the form I have this error : tag 'select', field 'list', id 'genre', name 'genreId': The requested list key 'genres' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unknown location] And I don't find how to solves that. Could you help me please ? Thanks for yours answers K. -- View this message in context: http://www.nabble.com/-S2--Problem-with-%3Cs%3Aselect%3E-tag-tf4653134.html#a13294356 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]