Hi
I am working on a ADF application in which a table will be displayed to user and user can select any row and click on Submit. On Submit button click-it will call a pl/sql procedure and record should not be displayed on page. I am able to achieve this but its not refreshing page data automatically. I googled it and found below code.
| protected void refreshPage() { |
| FacesContext fctx = FacesContext.getCurrentInstance(); |
| String refreshpage = fctx.getViewRoot().getViewId(); |
| ViewHandler ViewH = fctx.getApplication().getViewHandler(); |
| UIViewRoot UIV = ViewH.createView(fctx, refreshpage); |
| UIV.setViewId(refreshpage); |
| fctx.setViewRoot(UIV); |
| } |
Even after calling this code, I still need to go and remove data after ? in url only then it's refreshing the date.
Please suggest how to achieve this.
Thanks
Vibzz