s:select does not work with validation framework
-------------------------------------------------
Key: WW-2369
URL: https://issues.apache.org/struts/browse/WW-2369
Project: Struts 2
Issue Type: Bug
Components: XML Validators
Affects Versions: 2.0.9
Environment: Struts 2.0.9, Jboss, JDK 6, Windows 2003 Server
Reporter: RAUL
Priority: Critical
I am using this in my jsp.
<s:select name="Books" tabindex="2" listKey="identity.value" listValue="name"
id="toBooks"
list="%{lstBooks}" theme="css_xhtml" />
When validation fails, the original selection was wiped out. I also had to put
the List in session. If it is in the request, I would get this error
Servlet.service() for servlet jsp threw exception
tag 'select', field 'list', id 'toBooks', name 'Books': The requested list key
'%{lstBooks}' could not be resolved as a
collection/array/map/enumeration/iterator type. Example: people or
people.{name} - [unknown location]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.