Thanks for your amiability. I was studying your code, but at the end I tried my way.
I used an html table instead of the DataModel, so it did it easiest.
My problem was I had to know if the DataModel was empty before deploy it into the JSF and that is EL Flash.
At the end I used the List<Item> that a query returns to load the DataModel. I used a property that held the rows returned by the query.
Thank you anyway.
[Message sent by forum member 'josealvarezdelara' (josealvarezdelara)]
http://forums.java.net/jive/thread.jspa?messageID=359428