Hi,
I am making a web app using NetBeans 6.5 VWJSF framwork. My database has three tables
CATEGORIA, SUBCATEGORIA and PRODUCTO with a ManyToMany relationship. So I have made
two more tables CATEGORIA_SUBCATEGORIA and SUBCATEGORIA_PRODUCTO. Now the relationship
is ManyToOne - OneToMany.
The application has three
JSP Categoria.jsp, Subcategoria.jsp and Producto.jsp.
Everything is ok, but in Producto.jsp I am using two nested Drop Down List. I select the categoria, and this
load the subcategoria DDL with the related data from the SUBCATEGORIA database table. This work fine. But
when I select the subcategoria I am using a Table component to load the related producto. And at this point
my app fails. And I do not know what I am doing wrong.
It is simple. In Subcategoria. jsp I am using a DDL categoria to load a Table component with the data of
SUBCATEGORIA database table related with the selected categoria.
This is my code for the nested DDLs,
Now what I am doing is first append rows in the Table component to add data
and at the end save de provided data, The code,
This is the method that does not work
Please help,
Thanks in advance,
Jose Alvarez de Lara