{"action":"created","issue":{"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/861","repository_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP","labels_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/861/labels{/name}","comments_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/861/comments","events_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/861/events","html_url":"https://github.com/TheCoder4eu/BootsFaces-OSP/issues/861","id":257115525,"number":861,"title":"Invalid search expression in <b:CommandButton> inside a <b:modal>","user":{"login":"ruanfelisky","id":4307334,"avatar_url":"https://avatars0.githubusercontent.com/u/4307334?v=4","gravatar_id":"","url":"https://api.github.com/users/ruanfelisky","html_url":"https://github.com/ruanfelisky","followers_url":"https://api.github.com/users/ruanfelisky/followers","following_url":"https://api.github.com/users/ruanfelisky/following{/other_user}","gists_url":"https://api.github.com/users/ruanfelisky/gists{/gist_id}","starred_url":"https://api.github.com/users/ruanfelisky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruanfelisky/subscriptions","organizations_url":"https://api.github.com/users/ruanfelisky/orgs","repos_url":"https://api.github.com/users/ruanfelisky/repos","events_url":"https://api.github.com/users/ruanfelisky/events{/privacy}","received_events_url":"https://api.github.com/users/ruanfelisky/received_events","type":"User","site_admin":false},"labels":[{"id":143567253,"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/labels/confirmed","name":"confirmed","color":"eb6420","default":false},{"id":178582261,"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/labels/User%20support","name":"User support","color":"d4c5f9","default":false},{"id":311721089,"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/labels/Waiting%20for%20user%20answer","name":"Waiting for user answer","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"stephanrauh","id":3045767,"avatar_url":"https://avatars1.githubusercontent.com/u/3045767?v=4","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},"assignees":[{"login":"stephanrauh","id":3045767,"avatar_url":"https://avatars1.githubusercontent.com/u/3045767?v=4","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}],"milestone":null,"comments":7,"created_at":"2017-09-12T17:00:49Z","updated_at":"2017-09-22T19:15:00Z","closed_at":null,"author_association":"NONE","body":"Hi BootsFaces team!\r\n\r\nAfter upgrading from version 1.1.2 to 1.1.3 the following error is occurring on some forms, when loading the page:\r\n\r\n2017-09-12 13:16:15,786 ERROR [com.mesure.util.jsf.JsfExceptionHandler] Erro de sistema: Invalid search expression: colaboradoresTable The subexpression colaboradoresTable doesn't exist, or it can't be resolved. net.bootsfaces.component.commandButton.CommandButton  frmCadastro:j_idt75  Additional information: ID not found: colaboradoresTable search expression: colaboradoresTable\r\n\r\nThe `<b:commandButton>` existing inside the `<b:modal>` uses the ID of my table `colaboradoresTable` to update it.\r\n\r\nI realized that removing `<b:tabView>` and `<b:tab>` the error no longer occurs. So apparently there is something wrong with these components.\r\n\r\nMy code:\r\n\r\n```xml\r\n<script>\r\n\tfunction abrirModalConfirmacao() {\r\n\t\t$('.modal-confirmacao').modal('show');\r\n\t\treturn false;\r\n\t}\r\n\t\t\r\n\tfunction fecharModalConfirmacao() {\r\n\t\t$('.modal-confirmacao').modal('hide');\r\n\t\treturn false;\r\n\t}\t\t\r\n</script>\r\n\r\n<h:form id=\"frmCadastro\">\r\n\t<b:modal id=\"modal-confirmacao\" styleClass=\"modal-confirmacao\" title=\"Confirmação\" size=\"modal-sm\" backdrop=\"false\">\r\n\t\t<p>Confirma a exclusão deste colaborador?</p>\r\n\t\t<f:facet name=\"footer\">\r\n\t\t\t<b:commandButton value=\"Ok\" oncomplete=\"javascript:fecharModalConfirmacao()\" \r\n\t\t\t\taction=\"#{cadastroEquipeBean.excluirColaboradorEquipe}\"\r\n\t\t\t\tprocess=\"@this\" update=\"colaboradoresTable mensagens\" />\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t<b:button value=\"Cancelar\" look=\"primary\" dismiss=\"modal\" onclick=\"return false;\" />\r\n\t\t</f:facet>\r\n\t</b:modal> \r\n\t\t\t\r\n\t<b:container fluid=\"true\">\t\r\n\t\t<b:messages id=\"mensagens\" info-class=\"message-info-hidden\" />\r\n\t\t\r\n\t\t<b:tabView content-class=\"content-tab\">\r\n\t\t\t<b:tab title=\"Colaborador\">\t\t\r\n\t\t\t\t<b:dataTable id=\"colaboradoresTable\" value=\"#{cadastroEquipeBean.equipe.colaboradores}\" var=\"colaborador\" customLangUrl=\"#{resource['/json/pt-br.json']}\"\r\n\t\t\t\t\tsearching=\"false\" paginated=\"false\"\t>\t\t\t\t\t\r\n\t\t\t\t\t<b:dataTableColumn value=\"#{colaborador.nome}\" label=\"Nome\"/>\t    \t\t\r\n\t\t\t\t\t<b:dataTableColumn label=\"\" style-class=\"coluna-acao-1btn\" orderable=\"false\">\r\n\t\t\t\t\t\t<b:navCommandLink oncomplete=\"javascript:abrirModalConfirmacao()\" tooltip=\"Excluir\" process=\"@this\" update=\"colaboradoresTable\" iconAwesome=\"remove\" value=\"\">\r\n\t\t\t\t\t\t\t<f:setPropertyActionListener target=\"#{cadastroEquipeBean.colaboradorEquipe}\" value=\"#{colaborador}\" />\r\n\t\t\t\t\t\t</b:navCommandLink>\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t</b:dataTableColumn>\r\n\t\t\t\t</b:dataTable>\r\n\t\t\t</b:tab>\r\n\t\t</b:tabView>\r\n\t</b:container>\r\n</h:form>\r\n```\r\n\r\nPlease help me, I would like to use version 1.1.3 to make available the new features of `<b:dataTable>` (`excel`, `csv`, `pdf`, `columnVisibility`).\r\n\r\nThank you very much."},"comment":{"url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/comments/331536473","html_url":"https://github.com/TheCoder4eu/BootsFaces-OSP/issues/861#issuecomment-331536473","issue_url":"https://api.github.com/repos/TheCoder4eu/BootsFaces-OSP/issues/861","id":331536473,"user":{"login":"ruanfelisky","id":4307334,"avatar_url":"https://avatars0.githubusercontent.com/u/4307334?v=4","gravatar_id":"","url":"https://api.github.com/users/ruanfelisky","html_url":"https://github.com/ruanfelisky","followers_url":"https://api.github.com/users/ruanfelisky/followers","following_url":"https://api.github.com/users/ruanfelisky/following{/other_user}","gists_url":"https://api.github.com/users/ruanfelisky/gists{/gist_id}","starred_url":"https://api.github.com/users/ruanfelisky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruanfelisky/subscriptions","organizations_url":"https://api.github.com/users/ruanfelisky/orgs","repos_url":"https://api.github.com/users/ruanfelisky/repos","events_url":"https://api.github.com/users/ruanfelisky/events{/privacy}","received_events_url":"https://api.github.com/users/ruanfelisky/received_events","type":"User","site_admin":false},"created_at":"2017-09-22T19:15:00Z","updated_at":"2017-09-22T19:15:00Z","author_association":"NONE","body":"Using `frmCadastro:mensagens` solves the bug.\r\n\r\nBut using `**:mensagens` I got the error:\r\n\r\njavax.faces.FacesException: Invalid search expression: **:mensagens The subexpression @findIdRecursively(mensagens) doesn't exist, or it can't be resolved. net.bootsfaces.component.commandButton.CommandButton  frmCadastro:j_idt91:j_idt97  Additional information: Invalid search expression - couldn't find id @findIdRecursively(mensagens). Complete search expression: **:mensagens\r\n\r\nSo in `<b:modal>` I should use `**:` and others I should use `frmCadastro:` right?\r\n\r\nTks."}}
{"actor":{"display_login":"ruanfelisky"}}