• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

regarding refreshing the parent window

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic