{"action":"created","issue":{"url":"https://api.github.com/repos/richfaces/richfaces/issues/142","labels_url":"https://api.github.com/repos/richfaces/richfaces/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/richfaces/richfaces/issues/142/comments","events_url":"https://api.github.com/repos/richfaces/richfaces/issues/142/events","html_url":"https://github.com/richfaces/richfaces/pull/142","id":69690250,"number":142,"title":"RF-14023 + showcase","user":{"login":"petrandreev","id":5670574,"avatar_url":"https://avatars.githubusercontent.com/u/5670574?v=3","gravatar_id":"","url":"https://api.github.com/users/petrandreev","html_url":"https://github.com/petrandreev","followers_url":"https://api.github.com/users/petrandreev/followers","following_url":"https://api.github.com/users/petrandreev/following{/other_user}","gists_url":"https://api.github.com/users/petrandreev/gists{/gist_id}","starred_url":"https://api.github.com/users/petrandreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrandreev/subscriptions","organizations_url":"https://api.github.com/users/petrandreev/orgs","repos_url":"https://api.github.com/users/petrandreev/repos","events_url":"https://api.github.com/users/petrandreev/events{/privacy}","received_events_url":"https://api.github.com/users/petrandreev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-20T21:55:19Z","updated_at":"2015-04-22T22:15:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/richfaces/richfaces/pulls/142","html_url":"https://github.com/richfaces/richfaces/pull/142","diff_url":"https://github.com/richfaces/richfaces/pull/142.diff","patch_url":"https://github.com/richfaces/richfaces/pull/142.patch"},"body":"If you have a better idea to store and retrieve the original contextmenu event in order to show the contextMenu popup at the proper position, just tell me. "},"comment":{"url":"https://api.github.com/repos/richfaces/richfaces/issues/comments/95354340","html_url":"https://github.com/richfaces/richfaces/pull/142#issuecomment-95354340","issue_url":"https://api.github.com/repos/richfaces/richfaces/issues/142","id":95354340,"user":{"login":"petrandreev","id":5670574,"avatar_url":"https://avatars.githubusercontent.com/u/5670574?v=3","gravatar_id":"","url":"https://api.github.com/users/petrandreev","html_url":"https://github.com/petrandreev","followers_url":"https://api.github.com/users/petrandreev/followers","following_url":"https://api.github.com/users/petrandreev/following{/other_user}","gists_url":"https://api.github.com/users/petrandreev/gists{/gist_id}","starred_url":"https://api.github.com/users/petrandreev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petrandreev/subscriptions","organizations_url":"https://api.github.com/users/petrandreev/orgs","repos_url":"https://api.github.com/users/petrandreev/repos","events_url":"https://api.github.com/users/petrandreev/events{/privacy}","received_events_url":"https://api.github.com/users/petrandreev/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T22:15:57Z","updated_at":"2015-04-22T22:15:57Z","body":"Exactly! That is how i was trying to implement it first, but... if you go with \r\n*contextMenu.advanced().show()* and then with\r\n*contextMenu.advanced().selectItem()*\r\nthe things get messy because it first popups the RF contextMenu and immediately after that\r\nthe native browser`context menu positioned somewhere and naturally focused!\r\nI do not want to change the API, but it looks like [selectItem(ChoicePicker picker)](https://github.com/richfaces/richfaces/blob/master/build/page-fragments/src/main/java/org/richfaces/fragment/contextMenu/AbstractPopupMenu.java#L80)\r\ndoes two things at once: triggers a menu and selects an item. One could think of adding a **boolean** parameter like *showPopup* or providing more methods, i know it affects the existing ITs, but if one is going to test menus with menu groups- there is no way around it but to separate concerns:\r\n1. show popup\r\n2. navigate/select group\r\n3. click item and so on\r\nMy main problem in the test case is to make the test execution fail if the menus is not re-rendered properly and do not allow any further clicks/actions. Can we find here the happy medium(;)? \r\n\r\n \r\n"}}