I have the code here:
<f:view> <h:form id="formA"> <p:treeTable id="tree"> <p:ajax event="select" listener="..." update="mustRefresh" /> ... </p:treeTable> </h:form> <h:form id="formB"> <p:panel id="mustRefresh"> ... </p:panel> </h:form> </f:view>
When the user selects an entry in treeTable (formA), its detail will be displayed on form B and is ready for editing. My problem: update = "mustRefresh" does not work, it throws an exception as follows:
javax.faces.FacesException: Cannot find component with identifier "mustRefresh" referenced from "A4578:formA:tree".
I tried with @form, formB ,: formB and: mustRefresh, but it does not work.
source share