This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I want to show a list of data to the user. My problem is that if I set the 'rendered' flag of <h utputText> to 'false' just the header of the table appears (not the whole information) ... and if I set it to 'true', the page throws an exception.
You're getting an exception with the rendered attribute because when you set it to true, it actually executes the methods of the bean, and there you have the problem. I didn't look closely at your code, can you post the exception? Setting rendered =true for the different components will help you to isolate where the problem lies
Yep, the exception message tells everything: "Error getting property 'userlog' from bean of type beanPack.UserLogs" "userlogs" in bean notation is "getUserlogs" and in your bean you had "getUserLogs" Glad you had it working now