Richfaces ajax and RendererWrapper ---------------------------------- Key: EXTVAL-45 URL: https://issues.apache.org/jira/browse/EXTVAL-45 Project: MyFaces Extensions Validator Issue Type: Improvement Reporter: Stefan Meyer
I had to override EtvalRenderKit to make A4J-Ajax and Extval play nice. ExtValRenderKit wraps any Renderer. A4J relies on the root renderer to be of type AjaxViewRootRenderer. Here is my patch: @Override public Renderer getRenderer(final String family, final String rendererType) { Renderer renderer = wrapped.getRenderer(family, rendererType); if (renderer != null) { // dont wrap the ajax view renderer if (renderer instanceof AjaxViewRootRenderer) { return renderer; } else { return renderer instanceof ExtValRendererWrapper ? renderer : createWrapper(renderer); } } if (this.logger.isWarnEnabled()) { this.logger.warn("no renderer found for family " + family + " and type " + rendererType); } return renderer; } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.