Hi,
I am using jdev 11.1.1.6 version
I am opening a popup on click of a link where programmatically in the first line of the method i am executing #{bindings.createinsert.execute}
now in the popup if the user clicks on cancel popup closes.. now again user clicks on the link popup opens.. like this if he does 3 times.. this createinsert is getting executed 3 times and 3 null rows are getting commited to db on click of save.
On click of the link i want to clear these empty rows in the vo and then perform this create insert.
I have tried
viewObject.reset();
viewObject.clearCache();
viewObject.cancelQuery();
viewObject.executeemptyrowset();
viewObject.executequery();
but nothing from the above seem to work.. can someone tell me how to exactly reset or clear these empty rows before performing createinsert.
Thanks,
Vinay