[ 
https://issues.apache.org/struts/browse/WW-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42349
 ] 

Benjamin McCann commented on WW-2232:
-------------------------------------

I should have used     :
    <sx:autocompleter name="test" label="test" list="#{'Alabama':'AL', 
'Alaska':'AK'}" autoComplete="false"/> 

> Autocompleter does not work with map
> ------------------------------------
>
>                 Key: WW-2232
>                 URL: https://issues.apache.org/struts/browse/WW-2232
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Views
>    Affects Versions: 2.1.0
>            Reporter: Benjamin McCann
>            Assignee: Musachy Barroso
>
> Using the map example given in the documentation 
> (http://struts.apache.org/2.x/docs/autocompleter.html) does not work:
>     <sx:autocompleter name="test" label="test" list="{'Alabama':'AL', 
> 'Alaska':'AK'}" autoComplete="false"/>
> However, it works when a list is given
>     <sx:autocompleter name="test" label="test" list="{'AL', 'AK'}" 
> autoComplete="false"/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to