Export to GitHub

struts2-jquery - issue #243

listen topics not triggered on autocompleter tag


Posted on Jul 15, 2010 by Swift Cat

(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. add a <sj:autocompleter onChangeTopics="myTopic" ... /> 2. add a <sj:a listenTopics="myTopic" href="www.mysite.com">click here</sj:a> 3.

What is the expected output? What do you see instead? When you select an item from the autocompleter list, I would have expected the page to be redirected to www.mysite.com. This is not the case, nothing happens as though the topic was not triggered.

Which struts2 version? 2.1.8.1

Which struts2-jquery plugin version? 2.2.2

Please provide any additional information below. None of the topics seem to be triggered. I tried onSelectTopics. isn't triggered either.

Comment #1

Posted on Jul 16, 2010 by Swift Lion

The onChangeTopics was only triggered when the autocompleter loose the focus, this is working in the current version.

The onSelectTopics was triggered when you select an entry, problem is that onSelectTopics are not triggered.

I fix this in the current SNAPSHOT version, also I add an example for topics with autocompleter.

http://code.google.com/p/struts2-jquery/source/detail?r=1130

Comment #2

Posted on Jul 25, 2010 by Swift Lion

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Plugin Milestone-2.3.1