- ID
- 2519386
- Banca
- FCC
- Órgão
- TRE-PR
- Ano
- 2017
- Provas
- Disciplina
- Programação
- Assuntos
Consider the following Facelets code.
<h:form id="form1">
<h:panelGrid id="panel1" rows="2">
<!-- conteúdo -->
</h:panelGrid>
</h:form>
<h:form id="form2">
<h:commandButton id="button">
<f:ajax render=":form1:panel1 panel2" />
</h:commandButton>
<h:panelGrid id="panel2">
<!-- conteúdo -->
</h:panelGrid>
</h:form>
When the button is pressed,