Input datatable in JSF
===

I have the following table on php. It's for making purchase orders in a website, and we have different products (columns) with different sizes (rows), and a lot a different types so there are a lot of tables like this one.

![input table][1]


  [1]: http://i.stack.imgur.com/z4gFo.jpg

I have to migrate this to JSF and I currently have no idea if it is possible. I use datatables, but neverwith independent cells and this stuff. Can anybody hive me a hint?
The only possibility I know is to do them manually...
Thanks!