2

I tried below code

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

But this doesn't works.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Heena Jain
  • 45
  • 1
  • 1
  • 7

1 Answers1

8

Here is a proper EL Expression

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

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

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Daniel
  • 36,833
  • 10
  • 119
  • 200
  • Probably should mention that chances are ajax-updating that form would fail, if that's OP's ultimate goal – kolossus Mar 04 '13 at 17:06