Search in sources :

Example 1 with HtmlLinkRenderer

use of org.apache.myfaces.renderkit.html.HtmlLinkRenderer in project myfaces by apache.

the class CoreTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UIInput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UIGraphic.COMPONENT_FAMILY, "jakarta.faces.Image", new HtmlImageRenderer());
    renderKit.addRenderer(UICommand.COMPONENT_FAMILY, "jakarta.faces.Link", new HtmlLinkRenderer());
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(UIData.COMPONENT_FAMILY, "jakarta.faces.Table", new HtmlTableRenderer());
    renderKit.addRenderer(UICommand.COMPONENT_FAMILY, "jakarta.faces.Button", new HtmlButtonRenderer());
}
Also used : HtmlButtonRenderer(org.apache.myfaces.renderkit.html.HtmlButtonRenderer) HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTableRenderer(org.apache.myfaces.renderkit.html.HtmlTableRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlImageRenderer(org.apache.myfaces.renderkit.html.HtmlImageRenderer) HtmlLinkRenderer(org.apache.myfaces.renderkit.html.HtmlLinkRenderer)

Aggregations

HtmlButtonRenderer (org.apache.myfaces.renderkit.html.HtmlButtonRenderer)1 HtmlFormRenderer (org.apache.myfaces.renderkit.html.HtmlFormRenderer)1 HtmlImageRenderer (org.apache.myfaces.renderkit.html.HtmlImageRenderer)1 HtmlLinkRenderer (org.apache.myfaces.renderkit.html.HtmlLinkRenderer)1 HtmlTableRenderer (org.apache.myfaces.renderkit.html.HtmlTableRenderer)1 HtmlTextRenderer (org.apache.myfaces.renderkit.html.HtmlTextRenderer)1