Does MyFaces contain an IF statement?

 

Something like…

 

<x:if user.admin == true >

<h:outputLabel value="ADMIN" />

<x:else >

<h:outputLabel value="NOT ADMIN" />

</x>

 

 

I would put my IF statement in JSP.

But this doesn’t seem to work.

 

For example

 

<%=user.admin%>

 

 

Reply via email to