Pular para o conteúdo principal

Questão de Programação — Web — FCC 2017

ProgramaçãoWeb
Código
fc038001
Banca
FCC
Órgão
TRE-PR
Ano
2017
Nível
Médio
Cargo
Técnico Judiciário - Programação de Sistemas
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,
  1. Apanel1 and panel2 will be rendered and included in form1.
  2. Bpanel1, in form1 will be re-rendered, along with panel2 in form2.
  3. Conly panel2, in form2 will be rendered.
  4. Dpanel1, in form1 will be rendered, unlike panel2 in form2.
  5. Epanel1 will be replaced by panel2.
Revelar gabarito e comentário

GabaritoB — panel1, in form1 will be re-rendered, along with panel2 in form2.

Link permanente: /questoes/fc038001