Meaningless Drivel is fun!*
The moose likes JSF and the fly likes regarding refreshing the parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "regarding refreshing the parent window" Watch "regarding refreshing the parent window" New topic

regarding refreshing the parent window

Hozaifa Azmi

Joined: Jan 03, 2009
Posts: 22
Dear All...

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.

thanking you.
subject: regarding refreshing the parent window
Similar Threads
Update Value from a child window
Focus on child window after parent window gets refreshed
Calling ajax
how to close child window
How to refresh parent page from a pop up without retry button ???