The problem is that before adding the primefaces tabView everything worked fine i was able to update the second form from the first, now this exception is raised with the same code :
org.primefaces.expression.ComponentNotFoundException
Here's the code :
<p:tab title="profils">
<h:form class="searchForm">
<h:outputText value="Recherche:" />
<p:inputText id="globalFilter" value="#{profil.login}" onkeyup="myCommand();"
style="width:150px" placeholder="Filtrer par login"/>
<p:remoteCommand name="myCommand" actionListener="#{profil.getTheProfils()}"
update=":profilForm" style="display: none;" />
</h:form>
<br/>
<h:form id="profilForm">
<p:growl id="growl" showDetail="true" sticky="false" />
<h:panelGroup id="wrapper">
<p:dataTable value ="#{profil.profils}" var ="p" rows="5"
paginator="true"
paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks}
{NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
rowsPerPageTemplate="3,5,15" resizableColumns="true" style="margin-bottom:20px"
id="profilTable">
<p:column headerText="Login">
<h:inputHidden value = "#{profil.login}" size = "10" rendered = "#{edit.id eq p.login}"
class="form-control"/>
<h:outputText value = "#{p.login}" rendered = "#{edit.id ne p.login}" />
</p:column>
</p:dataTable>
</h:panelGroup>
</h:form>
</p:tab>
i have tried update="profilTable" update=":profilForm:profilTable" update="@profilTable" ...