Cadernos de Questões

Provas Favoritas

Filtros Salvos

Foram encontradas 60 questões.
#2344418

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,

  • panel1 and panel2 will be rendered and included in form1.
  • panel1, in form1 will be re-rendered, along with panel2 in form2.
  • only panel2, in form2 will be rendered.
  • panel1, in form1 will be rendered, unlike panel2 in form2.
  • panel1 will be replaced by panel2.
Fale com IAgo
IAgo - Assistente IAProva
IA
Olá! Sou o IAgo, seu assistente aqui no IAProvatec 😊
Veja como posso te ajudar:
Agora