Hi,
I have a pop-up screen which is shown on click of a ‘Add’ button in the parent window. In the pop-up window I have a listgrid and a ‘Select’ button.
On selecting a record in the listgrid and clicking on the ‘Select’ button, the record from the pop-up window will be added to the listgrid in the parent window.
Now, again if I click on the ‘Add’ button, I need to call the fetchData() and bring the data in the pop-up listgrid from the database, after doing some data massaging in the Java side. This massaging is done because I don’t want the record which I had added in the earlier click of ‘Select’ to appear on the pop-up again.
But right now, on the 2nd click of the button, Java method is not called.
Instead, it’s taking data from the result of the earlier fetchData(). So I am getting the same record again which I had added in the parent window.
How I can make it to hit the Servlet again and do the desired massaging to bring up the data.
Thanks.