Search in sources :

Example 1 with HtmlMessagesRenderer

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

the class SelectTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(HtmlSelectOneMenu.COMPONENT_FAMILY, "jakarta.faces.Menu", new HtmlMenuRenderer());
    renderKit.addRenderer(HtmlCommandButton.COMPONENT_FAMILY, "jakarta.faces.Button", new HtmlButtonRenderer());
    renderKit.addRenderer(HtmlMessages.COMPONENT_FAMILY, "jakarta.faces.Messages", new HtmlMessagesRenderer());
}
Also used : HtmlButtonRenderer(org.apache.myfaces.renderkit.html.HtmlButtonRenderer) HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlMessagesRenderer(org.apache.myfaces.renderkit.html.HtmlMessagesRenderer) HtmlMenuRenderer(org.apache.myfaces.renderkit.html.HtmlMenuRenderer)

Aggregations

HtmlButtonRenderer (org.apache.myfaces.renderkit.html.HtmlButtonRenderer)1 HtmlFormRenderer (org.apache.myfaces.renderkit.html.HtmlFormRenderer)1 HtmlMenuRenderer (org.apache.myfaces.renderkit.html.HtmlMenuRenderer)1 HtmlMessagesRenderer (org.apache.myfaces.renderkit.html.HtmlMessagesRenderer)1 HtmlTextRenderer (org.apache.myfaces.renderkit.html.HtmlTextRenderer)1