I'm using PrimeFaces and a component within one layoutUnit
must update another component which is within another layoutUnit
:
<p:layout>
<p:layoutUnit position="west" size="275" resizable="true" closable="true" collapsible="true">
<h:form id="formWest">
<div id="west">
<ui:insert name="west"></ui:insert>
</div>
</h:form>
</p:layoutUnit>
<p:layoutUnit id="layout_center" position="center">
<h:form id="formCenter">
<div id="content">
<ui:insert name="content"></ui:insert>
</div>
</h:form>
</p:layoutUnit>
</p:layout>
The error message is: Caused by: javax.faces.FacesException: Cannot find component with expression "formWest:execucao" referenced from "formCenter:form:mapaGoogle".
The components that need to be updated are inside td
so I did <td jsf:id="execucao">
, for example.