wood burning stoves*
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 Soft Skills this week in the Jobs Discussion 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSTL c:if tag is not working in JSF page