• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use != in jsf  RSS feed

 
Abhra Kar
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a condition where I have to check a name "MatchAll" is present or not in "service.name" .if present I will not render.

I have written ---<h:graphicImage url="/images/tokeep/icon_copy12.png"
......................................................
rendered="#{service.name != 'MatchAll'}" />

but it is not working , is it the correct syntax.Please give some idea
Thanks in advance
 
Abhinav Taduka
Greenhorn
Posts: 6
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to use proper syntax for EL as follows

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!