• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
The fastest and most reliable components of any system are those that are not there. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic