…
<c:if test="#{ResumenEjecutivo.esLibre==false}">
<h:column>
…
</h:column>
</c:if>
…
public boolean esLibre(){
boolean retorno;
retorno = navigationBean.getCurrentNode().getAspects().toString().contains("ResumibleLibre");
s_logger.info("Es libre: " + retorno);
return retorno;
}
<a:booleanEvaluator value="#{bean.isCheckedOut}">
<h:outputText value="Component inside an evaluator"/>
</a:booleanEvaluator>
…
<a:booleanEvaluator value="#{ResumenEjecutivo.esLibre == false}">
…
</a:booleanEvaluator>
…
<a:booleanEvaluator value="#{!ResumenEjecutivo.esLibre}">
…
</a:booleanEvaluator>
Mirando un poco la definición del tag, tiene pinta que espera un valor boolean en lugar de una expresión a interpretar…Si niegas el valor (!) quizás te vaya perfecto.
<a:booleanEvaluator value="#{ResumenEjecutivo.esLibre==false}">
<h:column>
<f:facet name="header">
<h:outputText value="% sobre el total de litigios incluidos en este cuadro"/>
</f:facet>
<h:outputText value="#{r.porcentaje}%"/>
<f:facet name="footer">
<h:outputText value="#{ResumenEjecutivo.porcenTotal}%"/>
</f:facet>
</h:column>
</a:booleanEvaluator>
private boolean esLibre = false;
public boolean getEsLibre(){
esLibre = navigationBean.getCurrentNode().getAspects().toString().contains("ResumibleLibre");
s_logger.info("Es Libre: " + esLibre);
return esLibre;
}
public void setEsLibre(boolean libre){
esLibre = libre;
}
<h:column rendered="#{ResumenEjecutivo.esLibre==false}">
<f:facet name="header">
<h:outputText value="% sobre el total de litigios incluidos en este cuadro"/>
</f:facet>
<h:outputText value="#{r.porcentaje}%"/>
<f:facet name="footer">
<h:outputText value="#{ResumenEjecutivo.porcenTotal}%"/>
</f:facet>
</h:column>
Venga, hasta luego!
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.