GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: How to dynamically set panel header on a condition using <f:facet