You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rainer Hermanns (JIRA)" <ji...@apache.org> on 2008/06/14 14:49:05 UTC

[jira] Resolved: (WW-2536) Autocompleted element don't publish topics when it changed

     [ https://issues.apache.org/struts/browse/WW-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Hermanns resolved WW-2536.
---------------------------------

    Resolution: Fixed
      Assignee: Rainer Hermanns

fixed in trunk, thanks for the patch

> 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, 2.0.11.1
>         Environment: Java 6, 
> firefox 2.0.0.12
> IE 6
> Tomcat 6
>            Reporter: Stanislav Malishevskiy
>            Assignee: Rainer Hermanns
>             Fix For: 2.1.3
>
>         Attachments: autocomplited.jsp, dojo.patch
>
>
> <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.