How to auto close a popup and refresh the parent page in JSF?
Posted on 2010-08-23
I have requirement where in the parent page a link is provided.Onclick of a link,it will open a new popup jsp and will populate required fields from the parent jsp.
From the popup,I will do some actions and using command button I will update the database with few business validations.
Now the question is if I successfully goes through the validations I have to auto close my popup and refresh the parent JSP and if any validation failures,then popup should not be closed,parent page should not be refreshed and validations need to be displayed as a overlay on the popup jsp.
Any help in doing this is completely appreciated.