public class SelectBooleanCheckboxRenderer extends SelectBooleanCheckboxRendererBase
SelectBooleanCheckbox component. All of the methods in this renderer delegate to
the renderer provided by the JSF runtime for for HtmlSelectBooleanCheckbox, along with one added feature.
Specifically, this renderer overcomes the limitation outlined this blog post in which the "required"
attribute of HtmlSelectBooleanCheckbox is effectively disabled.| Constructor and Description |
|---|
SelectBooleanCheckboxRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent) |
Object |
getConvertedValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
Object submittedValue) |
getDelegateComponentFamily, getDelegateRendererTypepublic void decode(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
decode in class com.liferay.faces.util.render.DelegatingRendererBasepublic void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws IOException
encodeEnd in class com.liferay.faces.util.render.DelegatingRendererBaseIOExceptionpublic Object getConvertedValue(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent, Object submittedValue) throws javax.faces.convert.ConverterException
getConvertedValue in class com.liferay.faces.util.render.DelegatingRendererBasejavax.faces.convert.ConverterExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.