Called before rendering to test if the patch shall be applied.
@param reqInfo the request information
@return null if no need of patch, or a writer if the patch is required.The writer will be used to hold the rendering result of the porlet. Thus, you can process it later in {@link #patchRender} (so the writeris usually an instance of StringWriter).
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.