aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to dynamically set panel header on a condition using <f:facet
 
Similar Threads
problem on saving inputText values
Problem inside a richModalPanel
Mutiple ComboBoxes using c:forEach
Question on rendering
Ajax status doesn't stop in IE8