public class MenuRenderer extends HtmlBasicInputRenderer
UISelectOne or UISelectMany component as a list of
menu options.
HtmlBasicRenderer.Param
logger
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, setSubmittedValue
addGenericErrorMessage, augmentIdReference, convertClientId, encodeRecursive, getChildren, getCurrentValue, getEndTextToRender, getFacet, getForComponent, getFormattedValue, getMessageIter, getParamList, getRendersChildren, shouldWriteIdAttribute, writeIdAttributeIfNecessary
public 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.ConverterException
public 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.ConverterException
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class HtmlBasicRenderer
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeBegin
in class javax.faces.render.Renderer
java.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class HtmlBasicRenderer
java.io.IOException
public 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 HtmlBasicInputRenderer
javax.faces.convert.ConverterException
protected 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.ConverterException
protected void renderOption(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, javax.faces.model.SelectItem curItem) throws java.io.IOException
java.io.IOException
protected void writeDefaultSize(javax.faces.context.ResponseWriter writer, int itemCount) throws java.io.IOException
java.io.IOException
Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.