Issue with DataTable - how to control null data set?
posted 7 years ago
I am new to JSF and just getting up to speed. Here is the issue. I am writing an app that will primarily consist of a single page. This page consists of a form with search criteris and a data table with results. I am able to get the data table and SQL to work just fine but now I am making the page more dynamic by adding the search criteria. When the page is first displayed the data table gags, of course, because no search criteria has been entered in yet thus the data set is NULL. How do I control for this? I am using a Delegate pattern with a Controller bean as my backing bean. Here is the snippet from the page that shows the data table: