I want to modify below code to have passing the current url to the going URL so that the target page will receive the parameters with back function to go back to previous url. But when I search in the web or here, I see some hints but have difficulty or unknown how to modify e.g. in model?? I want post method....
Code: Select all
String search = "ITS02020s_t";
ConfigurableNavigationHandler configurableNavigationHandler = (ConfigurableNavigationHandler) FacesContext.getCurrentInstance().getApplication().getNavigationHandler();
configurableNavigationHandler.performNavigation(search + "?faces-redirect=true");