s:optiontransferselect does not work with validation framework
--------------------------------------------------------------
Key: WW-2197
URL: https://issues.apache.org/struts/browse/WW-2197
Project: Struts 2
Issue Type: Bug
Components: Validation, Value Stack, Views
Affects Versions: 2.0.9
Environment: Tomcat 5.5
Reporter: Jane Jiang
I am using this in my jsp.
<s:optiontransferselect id="toDualIcText"
leftTitle="List of All ICs:"
rightTitle="Assigned Dual ICs"
list="%{#application.lookupService.getList(@[EMAIL PROTECTED])}"
doubleName="acr.toDualIcText"
doubleList="%{#session.toDualIcsList}"
listKey="phsOrgCode" listValue="phsOrgCode" multiple="true"
allowUpDownOnLeft="false" allowUpDownOnRight="false" />
When validation fails, the original selection was wiped out. I also had to put
the doubleList 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 'toDualIcText', name 'acr.toDualIcText': The
requested list key '%{acr.toDualIcsList}' 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.