{"action":"created","issue":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/353","labels_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/353/comments","events_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/353/events","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/issues/353","id":69319822,"number":353,"title":"AnchorListItem not working well with UiHandler annotation","user":{"login":"steeveb972","id":7606152,"avatar_url":"https://avatars.githubusercontent.com/u/7606152?v=3","gravatar_id":"","url":"https://api.github.com/users/steeveb972","html_url":"https://github.com/steeveb972","followers_url":"https://api.github.com/users/steeveb972/followers","following_url":"https://api.github.com/users/steeveb972/following{/other_user}","gists_url":"https://api.github.com/users/steeveb972/gists{/gist_id}","starred_url":"https://api.github.com/users/steeveb972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steeveb972/subscriptions","organizations_url":"https://api.github.com/users/steeveb972/orgs","repos_url":"https://api.github.com/users/steeveb972/repos","events_url":"https://api.github.com/users/steeveb972/events{/privacy}","received_events_url":"https://api.github.com/users/steeveb972/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/labels/waiting%20on%20reply","name":"waiting on reply","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/milestones/4","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/milestones/1.0","labels_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/milestones/4/labels","id":619388,"number":4,"title":"1.0","description":"","creator":{"login":"jgodi","id":870799,"avatar_url":"https://avatars.githubusercontent.com/u/870799?v=3","gravatar_id":"","url":"https://api.github.com/users/jgodi","html_url":"https://github.com/jgodi","followers_url":"https://api.github.com/users/jgodi/followers","following_url":"https://api.github.com/users/jgodi/following{/other_user}","gists_url":"https://api.github.com/users/jgodi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgodi/subscriptions","organizations_url":"https://api.github.com/users/jgodi/orgs","repos_url":"https://api.github.com/users/jgodi/repos","events_url":"https://api.github.com/users/jgodi/events{/privacy}","received_events_url":"https://api.github.com/users/jgodi/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":22,"state":"open","created_at":"2014-04-03T13:51:22Z","updated_at":"2015-08-21T18:12:13Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-04-18T15:35:29Z","updated_at":"2015-08-21T18:12:13Z","closed_at":"2015-08-21T18:12:13Z","body":"Hi,\r\n\r\nI use AnchorListItem in my project, and I had a problem to get clikHandler working. I use @UiHandler annotation to add a click listener to my instance of AnchorListItem among other widgets.\r\nWhen I receive an event I use event.getSource() to know which widget has triggered the event.\r\n\r\nIt doesn't work with AnchorListItem, because the trigger is not the AnchorListItem, but the underlying anchor Widget (I saw this in debug, confirmed by the source code in AbstractAnchorListItem).\r\n\r\nI suggest either to match the real source widget for the event (which is cleaner), or to let read access to the underlying widget to match the source (not my preferred way because I suppose you want to let Anchor hidden).\r\n\r\nAs a workaround, I call getParent() on the source widget of the event, but I don't know if this will be clear for anyone who uses this project.\r\n\r\nRegards,\r\n\r\nSteeve Beroard"},"comment":{"url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/comments/133517962","html_url":"https://github.com/gwtbootstrap3/gwtbootstrap3/issues/353#issuecomment-133517962","issue_url":"https://api.github.com/repos/gwtbootstrap3/gwtbootstrap3/issues/353","id":133517962,"user":{"login":"steeveb972","id":7606152,"avatar_url":"https://avatars.githubusercontent.com/u/7606152?v=3","gravatar_id":"","url":"https://api.github.com/users/steeveb972","html_url":"https://github.com/steeveb972","followers_url":"https://api.github.com/users/steeveb972/followers","following_url":"https://api.github.com/users/steeveb972/following{/other_user}","gists_url":"https://api.github.com/users/steeveb972/gists{/gist_id}","starred_url":"https://api.github.com/users/steeveb972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steeveb972/subscriptions","organizations_url":"https://api.github.com/users/steeveb972/orgs","repos_url":"https://api.github.com/users/steeveb972/repos","events_url":"https://api.github.com/users/steeveb972/events{/privacy}","received_events_url":"https://api.github.com/users/steeveb972/received_events","type":"User","site_admin":false},"created_at":"2015-08-21T18:12:13Z","updated_at":"2015-08-21T18:12:13Z","body":"Hi all,\r\n\r\nSorry for the late reply, honestly I can't see any \"clean\" workaround without some refactoring, but as soon as I have got one, I will submit a PR for that!\r\n"}}