This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
full build 200709100000 jdk1.5.0_13 1) Create TwoPageCrudTable sample 2) Run it 3) click Delete on any entry Entry isn't deleted.
Please, answer the following questions: 1). Does the method "delete_action()" contain a set of lines? tripDataProvider.removeRow(rk); tripDataProvider.commitChanges(); tripDataProvider.refresh(); 2). Does a virtual form "add/revert/delete" exist? Does this virtual form include 3 JSF buttons "add", "revert", "delete"?
1) Didn't found any delete_action() anywhere, where it should be? 2) I see only Delete / Update buttons in Page1.jsp
Oh, I'm sorry, I meant the method "deleteButton_action()" (and I see that there are no virtual forms in this project). OK, please, try to add the line tripDataProvider.refresh(); after the line "tripDataProvider.commitChanges();". And then check whether the selected table row will be deleted or not.
dkolar please evaluate based on the latest comments
Adding this line doesn't fix it. Data still note deleted and persist in table.
Fixed. Action expression was missing from Page1.jsp Checking in visualweb/samples/webapps/TwoPageCrudTable/web/Page1.jsp; /cvs/visualweb/samples/webapps/TwoPageCrudTable/web/Page1.jsp,v <-- Page1.jsp new revision: 1.2; previous revision: 1.1 done
Seems fine now.