Autocompleted element don't publish topics when it changed
----------------------------------------------------------

                 Key: WW-2536
                 URL: https://issues.apache.org/struts/browse/WW-2536
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags
    Affects Versions: 2.0.11.1, 2.0.11
         Environment: Java 6, 
firefox 2.0.0.12
IE 6
Tomcat 6
            Reporter: Stanislav Malishevskiy
         Attachments: autocomplited.jsp

<script>
                function loadsetting()
        { 
                dojo.event.topic.subscribe("/changed", function(data, type, 
request){
                        alert('test');
                });
        }
</script>


<body onload="loadsetting();">
                <s:autocompleter list="{'11111','A22222','33333'}" 
notifyTopics="/changed" id="Serial" keyName="Serial" forceValidOption="true"  
cssStyle="width: 160px;" autoComplete="true" />
</body>


On loaded page type in the autocompleted field "a22" + Enter

Expected: pop up alert with "test"
Result: pop up alert with "test" 

In this field type "111" + Enter
Expected: pop up alert with "test"
Result: Nothing.





-- 
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