Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dynamic and Non-dynamic content as header in datatable  RSS feed

 
Augustine Chelliah
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I have a datatable in which one of the columns need to have a heading like this..... ' Heading * '. The * needs to be displayed on certain conditions only...

I tried to give
<f:facet>
<t:outputText value="Heading" />
<t:outputText value="*" rendered="Bean.boolVar"/>
</f:facet>

This will throw an error since there are 2 entities inside 1 facet.... Is there any other alternative that can be used here...?? Please help..
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Group it in h:panelGroup.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!