File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ash Jose
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. that was my mistake... i solved this one...

here goes my piece of code..



you can have only one tag inside facet !!!

-ashly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic