public class MenuRenderer extends HtmlBasicInputRenderer
UISelectOne or UISelectMany component as a list of
menu options.HtmlBasicRenderer.Paramlogger| Constructor and Description |
|---|
MenuRenderer() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertSelectManyValue(javax.faces.context.FacesContext context,
javax.faces.component.UISelectMany uiSelectMany,
java.lang.String[] newValues) |
protected java.lang.Object |
convertSelectManyValues(javax.faces.context.FacesContext context,
javax.faces.component.UISelectMany uiSelectMany,
java.lang.Class arrayClass,
java.lang.String[] newValues) |
java.lang.Object |
convertSelectOneValue(javax.faces.context.FacesContext context,
javax.faces.component.UISelectOne uiSelectOne,
java.lang.String newValue) |
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
java.lang.Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object submittedValue) |
protected void |
renderOption(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.model.SelectItem curItem) |
protected void |
writeDefaultSize(javax.faces.context.ResponseWriter writer,
int itemCount) |
getValue, setSubmittedValueaddGenericErrorMessage, augmentIdReference, convertClientId, encodeRecursive, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getMessageIter, getParamList, getRendersChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessarypublic java.lang.Object convertSelectManyValue(javax.faces.context.FacesContext context,
javax.faces.component.UISelectMany uiSelectMany,
java.lang.String[] newValues)
throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterExceptionpublic java.lang.Object convertSelectOneValue(javax.faces.context.FacesContext context,
javax.faces.component.UISelectOne uiSelectOne,
java.lang.String newValue)
throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterExceptionpublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class HtmlBasicRendererpublic void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeBegin in class javax.faces.render.Rendererjava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeEnd in class HtmlBasicRendererjava.io.IOExceptionpublic java.lang.Object getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.Object submittedValue)
throws javax.faces.convert.ConverterException
getConvertedValue in class HtmlBasicInputRendererjavax.faces.convert.ConverterExceptionprotected java.lang.Object convertSelectManyValues(javax.faces.context.FacesContext context,
javax.faces.component.UISelectMany uiSelectMany,
java.lang.Class arrayClass,
java.lang.String[] newValues)
throws javax.faces.convert.ConverterException
javax.faces.convert.ConverterExceptionprotected void renderOption(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
javax.faces.model.SelectItem curItem)
throws java.io.IOException
java.io.IOExceptionprotected void writeDefaultSize(javax.faces.context.ResponseWriter writer,
int itemCount)
throws java.io.IOException
java.io.IOExceptionCopyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.