You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jeromy Evans (JIRA)" <ji...@apache.org> on 2008/12/04 07:29:37 UTC
[jira] Assigned: (WW-2197) s:optiontransferselect does not work
with validation framework
[ https://issues.apache.org/struts/browse/WW-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeromy Evans reassigned WW-2197:
--------------------------------
Assignee: Jeromy Evans
> 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: Plugin - Tags, Value Stack, XML Validators
> Affects Versions: 2.0.9
> Environment: Tomcat 5.5
> Reporter: Jane Jiang
> Assignee: Jeromy Evans
> Fix For: 2.1.3
>
>
> I am using this in my jsp.
> <s:optiontransferselect id="toDualIcText"
> leftTitle="List of All ICs:"
> rightTitle="Assigned Dual ICs"
> list="%{#application.lookupService.getList(@gov.nih.nci.iscs.oracle.acr.constants.ApplicationConstants@PHS_ORG_CODE_LIST)}"
> 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.