Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding refreshing the parent window

 
Hozaifa Azmi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
hozaifa
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic