I have a query regarding refreshing the parent window.
There is a JSF page having datatable with records populated from the database;
In the datatable, I am having requestId & 2 command links, Approve Request & Reject Request.
On clicking the Reject Request link, I am opening a popup window
In popup window, I am having a textarea for the reason & a Submit button.
On clicking the Submit button in popup window, I need to have the following results:
1.close the popup,
2.update record in the database, and
3.Display the updated record in the parent window with a message that "request Id# is rejected".
Kindly, let me know the solutions.
Farmers know to never drive a tractor near a honey locust tree. But a tiny ad is okay: