[
https://issues.apache.org/struts/browse/WW-1659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Musachy Barroso reassigned WW-1659:
-----------------------------------
Assignee: Musachy Barroso
> Update autocompleter to accept JSON generated using the JSON plugin
> -------------------------------------------------------------------
>
> Key: WW-1659
> URL: https://issues.apache.org/struts/browse/WW-1659
> Project: Struts 2
> Issue Type: Improvement
> Components: Views
> Affects Versions: 2.0.3
> Reporter: Musachy Barroso
> Assigned To: Musachy Barroso
> Priority: Minor
> Fix For: 2.0.x
>
> Attachments: WW-1659.patch
>
>
> The autocompleter expects a JSON array of 2 dimension arrays. The JSON
> string generated using the JSON plugin will always be an object. Modify the
> autocompleter to do the following:
> If response is of type object, try to find a field with the same name as the
> autocompleter, if found, use its value as the datasource, if not, use the
> first array found.
> If the response is not of type object, assume it is an array and use it as
> datasource (current behavior)
> Compatibility won't be affected by this improvement.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.