Questões da Prova FCC - 2017 - TRE-PR - Técnico Judiciário - Programação de Sistemas
Foram encontradas 15 questões
Resolva questões gratuitamente!
Junte-se a mais de 4 milhões de concurseiros!
In Java EE 6, Expression Language supports both immediate and deferred evaluation of expressions. Immediate evaluation means that the expression is evaluated and the result returned as soon as the page is first rendered. Deferred evaluation means that the technology using the expression language can use its own machinery to evaluate the expression sometime later during the page’s lifecycle, whenever it is appropriate to do so.
Expressions that are evaluated immediately and the expressions whose evaluation is deferred use, respectively, the syntaxes
<?php function calc(&$var) { $var++; } $a=5; calc($a); $a+=5; echo $a; ?>
Ao executar o código, o valor exibido será
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,