Question

I tried below code

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

But this doesn't works.

Était-ce utile?

La solution

Here is a proper EL Expression

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

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top