Two Laptop Bag*
The moose likes JSF and the fly likes JSTL c:if tag is not working in JSF page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSTL c:if tag is not working in JSF page" Watch "JSTL c:if tag is not working in JSF page" New topic
Author

JSTL c:if tag is not working in JSF page

Gaurav Ram
Ranch Hand

Joined: Feb 23, 2008
Posts: 32
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

Joined: Mar 26, 2007
Posts: 37
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.
 
Don't get me started about those stupid light bulbs.
 
subject: JSTL c:if tag is not working in JSF page