Can you show your struts xml, calling java action, and resulting jsp code? I've noticed error messages like that whenever ANYTHING was wrong on a page with a select box -- completely independent of anything to do with the select box. So I think whatever you changed MAY have broken something else and the message may be misleading you.
-----Original Message----- From: Milan Milanovic [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 16, 2008 9:28 AM To: Struts Users Mailing List Subject: Re: Problem with Select tag Nobody has an answer to this simple question ? As I asked, there is with select's tag "list" attribute, when namespace is added to the package and to the form tag. It doesn't recognize given array from the action class anymore. Do I miss something or this is a serious error in Struts 2 ? -- Thanks, Milan Milanovic ----- Original Message ---- From: Milan Milanovic <[EMAIL PROTECTED]> To: user@struts.apache.org Sent: Tuesday, April 15, 2008 11:21:37 PM Subject: Problem with Select tag Hi, I'm using Struts 2.0.11.1, and I have wierd problem with select UI tag. It works perfectly, but when I added namespace to the package in struts.xml, which is used in form where this select tag is located, I get an error: "tag 'select', field 'list', id 'roles', name 'user.roles': The requested list key 'allRoles' could not be resolved as a collection/array/map/enumeration/iterator type. Example: people or people.{name} - [unkown location]" I should note that I've added this namespace to the form tag too, where select tag is located. How can I solve this problem ? It seems when namespace is added to package, select's list attribute doesn't recognize correct value stack anymore. ___________________________ Thanks in advance, Milan Milanovic ____________________________________________________________________________ ________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ____________________________________________________________________________ ________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]