aspose file tools*
The moose likes JSF and the fly likes Dynamic ModalPanel in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamic ModalPanel in JSF" Watch "Dynamic ModalPanel in JSF" New topic
Author

Dynamic ModalPanel in JSF

Abdul Uk
Greenhorn

Joined: Aug 19, 2006
Posts: 2
Hi All,

I am relatively new to JSF, and we have this requirement in our project.

On an edit page, after changing few fields user clicks on sumbit, then it calls a Stored Procedure to update the new data in database. But if the same record is updated in the last 24 hours, stored procedure throws an exception. When the exception thrown I need to display a confirmation modalPanel to the user asking is he really want to update recently edited record and on click of OK record would be updated in database.

This looks simple, except how to dynamically invoke confirmation rich faces modalPanel on exception?

Any help would be highly appreciated.

Cheer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic ModalPanel in JSF