{"action":"created","issue":{"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/236","labels_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/236/comments","events_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/236/events","html_url":"https://github.com/TheCoder4eu/BootsFaces-OSP/issues/236","id":125773142,"number":236,"title":"b:navCommandLink ajax support","user":{"login":"lyahim","id":3195083,"avatar_url":"https://avatars.githubusercontent.com/u/3195083?v=3","gravatar_id":"","url":"https://api.github.com/users/lyahim","html_url":"https://github.com/lyahim","followers_url":"https://api.github.com/users/lyahim/followers","following_url":"https://api.github.com/users/lyahim/following{/other_user}","gists_url":"https://api.github.com/users/lyahim/gists{/gist_id}","starred_url":"https://api.github.com/users/lyahim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lyahim/subscriptions","organizations_url":"https://api.github.com/users/lyahim/orgs","repos_url":"https://api.github.com/users/lyahim/repos","events_url":"https://api.github.com/users/lyahim/events{/privacy}","received_events_url":"https://api.github.com/users/lyahim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-09T18:22:21Z","updated_at":"2016-01-09T18:29:52Z","closed_at":null,"body":"Hello All,\r\n\r\nIs it possible to use b:navCommandLink with ajax? I would like something similar:\r\n```xml\r\n<li>\r\n\t\t\t\t\t\t\t<h:commandLink action=\"#{loginBean.logout}\">\r\n\t\t\t\t\t\t\t\t<p:ajax oncomplete=\"location.reload();\" />\r\n\t\t\t\t\t\t\t#{msg['login.logout']}</h:commandLink>\r\n\t\t\t\t\t\t</li>\r\n```"},"comment":{"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/comments/170267790","html_url":"https://github.com/TheCoder4eu/BootsFaces-OSP/issues/236#issuecomment-170267790","issue_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/236","id":170267790,"user":{"login":"stephanrauh","id":3045767,"avatar_url":"https://avatars.githubusercontent.com/u/3045767?v=3","gravatar_id":"","url":"https://api.github.com/users/stephanrauh","html_url":"https://github.com/stephanrauh","followers_url":"https://api.github.com/users/stephanrauh/followers","following_url":"https://api.github.com/users/stephanrauh/following{/other_user}","gists_url":"https://api.github.com/users/stephanrauh/gists{/gist_id}","starred_url":"https://api.github.com/users/stephanrauh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephanrauh/subscriptions","organizations_url":"https://api.github.com/users/stephanrauh/orgs","repos_url":"https://api.github.com/users/stephanrauh/repos","events_url":"https://api.github.com/users/stephanrauh/events{/privacy}","received_events_url":"https://api.github.com/users/stephanrauh/received_events","type":"User","site_admin":false},"created_at":"2016-01-09T18:29:52Z","updated_at":"2016-01-09T18:29:52Z","body":"Sure. I didn't run the snippet, but this should do the trick:\r\n```xml\r\n<li>\r\n\t<b:navCommandLink onclick=\"ajax:loginBean.logout()\" \r\n                                           oncomplete=\"location.reload()\"\r\n                                           value=\"#{msg['login.logout']}\" />\r\n</li>\r\n```\r\nMaybe you have to add `ajax=\"true\"`, but I doubt that.\r\n\r\nThe f:ajax or p:ajax syntax *should* work too, but we don't support it officially. Which is to say: we support it, but with low priority."}}