Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use != in jsf

 
Abhra Kar
Ranch Hand
Posts: 154
  • 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

 
Do you want ants? Because that's how you get ants. And a tiny ads:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!