gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

onErrorTopic is not triggered on Autocompleter if Exception is raised on Ajax action #1103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem?
1. <s:url var="autocompleteCodiceAamsUrl" action="autocompleteCodiceAams"/>
    <sj:autocompleter
        id="autocompleteCodiceAamsUrl"
        name="codAAMSFilter"
        href="%{autocompleteCodiceAamsUrl}"
        onErrorTopics="errorTopic" />
2. subscribe "errorTopic"
3. action "autocompleteCodiceAams" throws an Exception
4. subscribed funcion is not trigger (as in select or grid component)

What is the expected output? What do you see instead?

function subscribed should be triggered

Which struts2 version?

2.3.16

Which struts2-jquery plugin version?

3.7.1

Please provide any additional information below.

Original issue reported on code.google.com by lbonac...@gmail.com on 22 May 2014 at 3:18