HI All,
I want to display data using the h:dataTable tags in JSF The data I am displaying has to be in a format like this:
Name: XXXX
ID: 8989
Age: 32
I have seen several examples on the web that tell you how to display the data like this:
Name ID Age XXX 8989 32
Since the dataTable tag only has a sub tag h:column and NO h:row I am having issues with this. Is there a better way to do this? I have implemented the first format I mentioned using h:datable and h:column, so first I just write out all the column headers in column 1 and then I write out all the values in column2. The issue I am facing is that when one of the values is blank the next value gets printed in its place and the data appears wrong, this is really a formatting issue. When data is blank it should leave space for it and then print the next value in the next row. Hope I am making sense, any thoguhts will be much appreciated.