I have problem with f:ajax tag. I want to show and hide some data after click on commandLink but i get error:
My code:
<h:form prependId="false" id="contactDataForm">
<h:commandLink value="Edit" action="#{cc.attrs.userBB.showHideEditForm()}">
<f:ajax render="editableContactData notEditableContactData"/>
</h:commandLink>
<h:panelGroup id="notEditableContactData" rendered="#{cc.attrs.userBB.show == false}">
test1
</h:panelGroup>
test2
</h:panelGroup>
</h:form>