You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Stone.Hong (JIRA)" <ji...@apache.org> on 2007/10/01 18:02:37 UTC

[jira] Created: (WW-2224) the event in autocompleter

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.


[jira] Commented: (WW-2224) the event in autocompleter

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43438#action_43438 ] 

Musachy Barroso commented on WW-2224:
-------------------------------------

We are generating the right html. It seems like the attribute is getting lost inside Dojo's code.

> the event in autocompleter
> --------------------------
>
>                 Key: WW-2224
>                 URL: https://issues.apache.org/struts/browse/WW-2224
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.8
>         Environment: tomcat 5.5.23, JDK 1.5, IE6
>            Reporter: Stone.Hong
>             Fix For: 2.1.2
>
>
> 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.


[jira] Resolved: (WW-2224) the event in autocompleter

Posted by "Musachy Barroso (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Musachy Barroso resolved WW-2224.
---------------------------------

    Resolution: Won't Fix

Another Dojo black magic problem. As stated in the details of the bug, the html is generated as expected but Dojo ignores it, there isn't much we can do about it.

> the event in autocompleter
> --------------------------
>
>                 Key: WW-2224
>                 URL: https://issues.apache.org/struts/browse/WW-2224
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.8
>         Environment: tomcat 5.5.23, JDK 1.5, IE6
>            Reporter: Stone.Hong
>             Fix For: 2.1.3
>
>
> 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.


[jira] Commented: (WW-2224) the event in autocompleter

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43264#action_43264 ] 

Wes Wannemacher commented on WW-2224:
-------------------------------------

Can we have some clarification on this issue? I am finding it hard to understand what you are trying to say.

> the event in autocompleter
> --------------------------
>
>                 Key: WW-2224
>                 URL: https://issues.apache.org/struts/browse/WW-2224
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.8
>         Environment: tomcat 5.5.23, JDK 1.5, IE6
>            Reporter: Stone.Hong
>             Fix For: 2.1.2
>
>
> 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.


[jira] Commented: (WW-2224) the event in autocompleter

Posted by "Stone.Hong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43296#action_43296 ] 

Stone.Hong commented on WW-2224:
--------------------------------

I find there are no effect about the event onmousemove.

> the event in autocompleter
> --------------------------
>
>                 Key: WW-2224
>                 URL: https://issues.apache.org/struts/browse/WW-2224
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.0.8
>         Environment: tomcat 5.5.23, JDK 1.5, IE6
>            Reporter: Stone.Hong
>             Fix For: 2.1.2
>
>
> 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.


[jira] Updated: (WW-2224) the event in autocompleter

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes updated WW-2224:
-----------------------------

    Fix Version/s: 2.0.12

> 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
>             Fix For: 2.0.12
>
>
> 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.