This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!