I have created the table to display the data with a trash icon at each row. When an icon is
clicked the entire rows data is deleted from the Oracle SQL database. I can easily retrieve the
primary key and want to pass it to a java bean so I can use the following.
entityManager.remove(obj.atId(id));
So in this scenario I need to pass the retrieved id from the javascript to a java bean.
The javascript looks like this...
function deleteInput(row, id)
{
alert("Deleting row #" + row);
// Delete by calling a javabean and passing it the id here.
}
So as you can see I know what needs to happen, I just don't know how to make it happen!
Any advice?

New Topic/Question
Reply


MultiQuote





|