Mas ao chegar à última parte "Part 2: Creating a Data Table, Using the JSF API"
Para criar uma dynamic query encontrei problemas no "commandButton_action" method - Code Listing 6
dá-me estes erros :
Type or variable 'column1' not found
Type or variable 'column2' not found
Type or variable 'column3' not found
Type or variable 'column4' not found
Type or variable 'column5' not found
Type or variable 'column6' not found
Tentei incluir isto :
UIColumn column1 = new UIColumn();
UIColumn column2 = new UIColumn();
UIColumn column3 = new UIColumn();
UIColumn column4 = new UIColumn();
UIColumn column5 = new UIColumn();
UIColumn column6 = new UIColumn();
E também fiz import de uma libraria
import javax.faces.component.UIColumn;
Mas não consigo preecher a minha dataTable, fica em miniatura...parace um icon, completamente vazia