| com.sun.rave.web.ui.renderer.FieldRenderer
All known Subclasses: com.sun.rave.web.ui.renderer.CalendarRenderer, com.sun.rave.web.ui.renderer.TextFieldRenderer, com.sun.rave.web.ui.renderer.PasswordFieldRenderer, com.sun.rave.web.ui.renderer.UploadRenderer, com.sun.rave.web.ui.renderer.TextAreaRenderer,
Method Summary | |
public void | decode(FacesContext context, UIComponent component) | public void | encodeBegin(FacesContext context, UIComponent component) | public void | encodeChildren(FacesContext context, UIComponent component) | public void | encodeEnd(FacesContext context, UIComponent component) | public boolean | getRendersChildren() | protected String | getStyleClass(Field component, String hiddenStyle) | String[] | getStyles(FacesContext context) | void | log(String s) Log an error - only used during development time. | public boolean | renderField(FacesContext context, Field component, String type, String[] styles) | protected void | renderInput(Field component, String type, String id, boolean renderUserStyles, String[] styles, FacesContext context, ResponseWriter writer) |
STRING_ATTRIBUTES | final public static String[] STRING_ATTRIBUTES(Code) | | The list of attribute names in the HTML 4.01 Specification that
correspond to the entity type %events;.
|
decode | public void decode(FacesContext context, UIComponent component)(Code) | | Decode the component component
Parameters: context - The FacesContext associated with this request Parameters: component - The TextField component to decode |
encodeBegin | public void encodeBegin(FacesContext context, UIComponent component)(Code) | | No-op
Parameters: context - FacesContext for the request we are processing Parameters: component - UIComponent to be rendered |
encodeChildren | public void encodeChildren(FacesContext context, UIComponent component)(Code) | | No-op.
Parameters: context - FacesContext for the response we are creating Parameters: component - UIComponent whose children are to be rendered exception: IOException - if an input/output error occurs while rendering exception: NullPointerException - if context or component is null |
encodeEnd | public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code) | | |
getRendersChildren | public boolean getRendersChildren()(Code) | | Returns true, meaning that the FieldRenderer is responsible
for rendering the children the component it is asked to render.
false; |
log | void log(String s)(Code) | | Log an error - only used during development time.
|
renderField | public boolean renderField(FacesContext context, Field component, String type, String[] styles) throws IOException(Code) | | Render the TextField depending on the value of the
type property.
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be rendered exception: IOException - if an input/output error occurs |
|
|