Search in sources :

Example 1 with HtmlMenuRenderer

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

the class WhitespaceTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UISelectOne.COMPONENT_FAMILY, "jakarta.faces.Menu", new HtmlMenuRenderer());
    renderKit.addRenderer(UIPanel.COMPONENT_FAMILY, "jakarta.faces.Grid", new HtmlGridRenderer());
}
Also used : HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlMenuRenderer(org.apache.myfaces.renderkit.html.HtmlMenuRenderer) HtmlGridRenderer(org.apache.myfaces.renderkit.html.HtmlGridRenderer)

Example 2 with HtmlMenuRenderer

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

the class XHTMLFaceletsProcessingTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UISelectOne.COMPONENT_FAMILY, "jakarta.faces.Menu", new HtmlMenuRenderer());
    renderKit.addRenderer(UIPanel.COMPONENT_FAMILY, "jakarta.faces.Grid", new HtmlGridRenderer());
}
Also used : HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlMenuRenderer(org.apache.myfaces.renderkit.html.HtmlMenuRenderer) HtmlGridRenderer(org.apache.myfaces.renderkit.html.HtmlGridRenderer)

Example 3 with HtmlMenuRenderer

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

the class XMLFaceletsProcessingTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UISelectOne.COMPONENT_FAMILY, "jakarta.faces.Menu", new HtmlMenuRenderer());
    renderKit.addRenderer(UIPanel.COMPONENT_FAMILY, "jakarta.faces.Grid", new HtmlGridRenderer());
}
Also used : HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlMenuRenderer(org.apache.myfaces.renderkit.html.HtmlMenuRenderer) HtmlGridRenderer(org.apache.myfaces.renderkit.html.HtmlGridRenderer)

Example 4 with HtmlMenuRenderer

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

the class HTML5FaceletsProcessingTestCase method setupRenderers.

@Override
protected void setupRenderers() throws Exception {
    renderKit.addRenderer(UIForm.COMPONENT_FAMILY, "jakarta.faces.Form", new HtmlFormRenderer());
    renderKit.addRenderer(UIOutput.COMPONENT_FAMILY, "jakarta.faces.Text", new HtmlTextRenderer());
    renderKit.addRenderer(UISelectOne.COMPONENT_FAMILY, "jakarta.faces.Menu", new HtmlMenuRenderer());
    renderKit.addRenderer(UIPanel.COMPONENT_FAMILY, "jakarta.faces.Grid", new HtmlGridRenderer());
}
Also used : HtmlFormRenderer(org.apache.myfaces.renderkit.html.HtmlFormRenderer) HtmlTextRenderer(org.apache.myfaces.renderkit.html.HtmlTextRenderer) HtmlMenuRenderer(org.apache.myfaces.renderkit.html.HtmlMenuRenderer) HtmlGridRenderer(org.apache.myfaces.renderkit.html.HtmlGridRenderer)

Example 5 with HtmlMenuRenderer

use of org.apache.myfaces.renderkit.html.HtmlMenuRenderer 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

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