Looking for a way to rerender an outputtext field after a my datatable finishes loading. I've got a "rowcount" field that I'd like to get updated. Right now, I've got the List for the data table populating in the Constructor for my bean so that the rowcount is always available. I want to move that out of the constructor and into a getter, but then the rowcount is 0 until an action is triggered on the page to rerender the field.
I've set the rerender value on the datatable, but that only fires on a manual sort or filter.
Any ideas how to get this updated properly?
moving data for table initialization to getter - actually bad idea from the beggining as that getter will be called a few times during Lifecycle of JSF request and that could cause numerous calls for data.