• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL c:if tag is not working in JSF page  RSS feed

 
Gaurav Ram
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am creating one JSF page on which i have to show output based on some backing bean value.
Like in my backing bean i have one variable named i, based on its value i have to show different output on screen, i have written the below code:


My problem is that there is no output coming on page, can you please point out that where i am wrong

Thanks,
Gaurav
 
Ketan Jambhekar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I would prefer to using the JSF rendering attribute to decide the conditional logic for displaying various components.
JSTL may or may not work correctly with JSF.
Try this.


Ketan.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!