The autocompleter bugs in struts2.0
-----------------------------------
Key: WW-2222
URL: https://issues.apache.org/struts/browse/WW-2222
Project: Struts 2
Issue Type: Bug
Components: Views
Affects Versions: 2.0.8
Environment: tomcat 5.5.23, JDK 1.5, IE 6.0
Reporter: Stone.Hong
When I use autocompleter tags as following in struts page.
<s:autocompleter cssStyle="width:220px" name="condition.receiverID"
theme="xhtml" autoComplete="false" searchType="substring"
list="receiverAccountMap" forceValidOption="true"></s:autocompleter>
and put the ["account_001", "KFC Physical Account"], ["account_002", "Coke
Physical Account"] ,["account_003", "JLF Physical Account"] to
receiverAccountMap in action.
then when I access the web page and view the autocompleter tag's source HTML,
<select dojoType="struts:ComboBox" style="width:220px" forceValidOption="true"
searchType="SUBSTRING" autoComplete="false" name="condition.receiverID"
keyName="condition.receiverIDKey" >
<option value="account_001">KFC Physical Account</option>
<option value="account_002">Coke Physical Account</option>
<option value="account_003">JLF Physical Account</option>
</select>
it is ok in html page, but when I submit the form to web server, the field
[condition.receiverID] value in action is "KFC Physical Account", not "the
account_001".
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.