the event in autocompleter
--------------------------

                 Key: WW-2224
                 URL: https://issues.apache.org/struts/browse/WW-2224
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.8
         Environment: tomcat 5.5.23, JDK 1.5, IE6
            Reporter: Stone.Hong


when I user onchange, onselect, onmousemove event in autocompleter, such as:
<s:autocompleter id="hbtest" onmousemove="alert('121212')" 
onselect="alert('121212')" onchange="alert('121212')" cssStyle="width:220px" 
name="condition.receiverID" theme="xhtml" autoComplete="false" 
searchType="substring"  list="receiverAccountMap" 
forceValidOption="true"></s:autocompleter>

and in the html source generated by web server is following:
<select dojoType="struts:ComboBox" id="hbtest" style="width:220px" 
forceValidOption="true" searchType="SUBSTRING" autoComplete="false" 
name="condition.receiverID" keyName="condition.receiverIDKey" 
onmousemove="alert('121212')" onselect="alert('121212')" 
onchange="alert('121212')">
    <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>

but any event function can be used when I selected one value in drop down list.

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