I am trying to set values of a datatable. I am new to the
JSF and please help me.
1. Do I set it correctly (see below)?
2. I have to hard code some data in the dataTable that I create. How do I do it (i.e. how do I modify the code shown below)?
My presentation
JSP looks like:
The personnelList is the "managed bean". And the personnel is an ArrayList.
I have a
Java class that loads data into this ArrayList "personnel". The Java class is called Table:
The PersonnelBean is a Java bean that get and set the attributes: