You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/11/01 11:10:41 UTC

[jira] Closed: (WW-2222) The autocompleter bugs in struts2.0

     [ https://issues.apache.org/struts/browse/WW-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted closed WW-2222.
--------------------------

    Resolution: Not A Problem

> 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: Plugin - Tags
>    Affects Versions: 2.0.8
>         Environment: tomcat 5.5.23, JDK 1.5, IE 6.0
>            Reporter: Stone.Hong
>            Assignee: Stone.Hong
>             Fix For: 2.1.2
>
>
> 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.