Domanda

I tried below code

   <h:form rendered="{#{cars.enabled} and #{cars.enabledEdit}}">

But this doesn't works.

È stato utile?

Soluzione

Here is a proper EL Expression

<h:form rendered="#{cars.enabled and cars.enabledEdit}">

No need (and its even illegal to use #{} inside #{})

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top