File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes How to dynamically set panel header on a condition using <f:facet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to dynamically set panel header on a condition using <f:facet" Watch "How to dynamically set panel header on a condition using <f:facet" New topic
Author

How to dynamically set panel header on a condition using <f:facet

Ash Jose
Greenhorn

Joined: Feb 14, 2009
Posts: 7
Hi,

I am facing a strange problem.

I need to display the header to the panel depending on certain condition. Here is my code.



But in no condition it displays the header as "First Header". It does not display anything as header :-(.

Can anyone help me out on this please.

-ashly
Ash Jose
Greenhorn

Joined: Feb 14, 2009
Posts: 7
hmm.. that was my mistake... i solved this one...

here goes my piece of code..



you can have only one tag inside facet !!!

-ashly
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to dynamically set panel header on a condition using <f:facet
 
It's not a secret anymore!