add a utility method in PartialPageUtils to complete the ppr response ---------------------------------------------------------------------
Key: TRINIDAD-2061 URL: https://issues.apache.org/jira/browse/TRINIDAD-2061 Project: MyFaces Trinidad Issue Type: Bug Reporter: Yuan Gao Just discussed with Blake. What we are trying to do is to add a new utility method (API) in PartialPageUtils. /** * This method completes the PPR request and writes a <noop/> to the response. * it also handles script and redirect * * @param context the FacesContext * @param script the script * @param redirectUrl the URL to redirect to * @throws IOException */ public static void completePPRResponse(FacesContext context, String script, String redirectUrl) throws IOException The reason is currently we have several places that we want to complete the response with this <noop/> or redirect, or a script, and we want to refactor the codes to use this utility. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira