I'm looking for something like a rendered Attribute for the footer of a datagrid. I want to show a datascroller in the footer only when it is necessary, i.e. the number of existing elements is higher than the number of elements I want to show on one page.
Setting the rendered attribute on the datascroller only hides the datascroller, but the footer is still rendered. What I dont like about that is the border of the footer that is still visible.
So my question is: Is there a way to only conditionally render the footer? The f:facet tag doesn't know a 'rendered' attribute...