| com.sun.rave.web.ui.renderer.ListRendererBase com.sun.rave.web.ui.renderer.EditableListRenderer
Method Summary | |
public void | decode(FacesContext context, UIComponent component) Retrieve user input from the UI. | public void | encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) Overrides encodeChildren of Renderer to do nothing. | public void | encodeEnd(FacesContext context, UIComponent component) | void | renderListComponent(EditableList component, FacesContext context, String[] styles) This method determines whether the component should be
rendered as a standalone list, or laid out together with a
label that was defined as part of the component.
A label will be rendered if either of the following is
true:
- The page author defined a label facet; or
- The page author specified text in the label attribute.
If there is a label, the component will be laid out using a
HTML table. |
decode | public void decode(FacesContext context, UIComponent component)(Code) | | Retrieve user input from the UI.
Parameters: context - The FacesContext of this request Parameters: component - The component associated with the renderer |
encodeChildren | public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException(Code) | | Overrides encodeChildren of Renderer to do nothing. This
renderer renders its own children, but not through this
method.
Parameters: context - The FacesContext of the request Parameters: component - The component associated with therenderer. Must be a subclass of ListSelector. |
encodeEnd | public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code) | | Render the editable list component
Parameters: context - FacesContext for the current request Parameters: component - UIComponent to be renderedend should be rendered exception: IOException - if an input/output error occurs |
renderListComponent | void renderListComponent(EditableList component, FacesContext context, String[] styles) throws IOException(Code) | | This method determines whether the component should be
rendered as a standalone list, or laid out together with a
label that was defined as part of the component.
A label will be rendered if either of the following is
true:
- The page author defined a label facet; or
- The page author specified text in the label attribute.
If there is a label, the component will be laid out using a
HTML table. If not, the component will be rendered as a
standalone HTML select element.
Parameters: component - The component associated with therenderer. Must be a subclass of ListSelector. Parameters: context - The FacesContext of the request Parameters: styles - A String array of styles used to render thecomponent. The first item of the array is the name of theJavaScript method that handles change event. The second item isthe style used when the list is enabled. The third style is theone to use when the list is disabled. The fourth item is thestyle to use for an item that is enabled, the fifth to use foran item that is disabled, and the sixth to use when the item isselected. throws: java.io.IOException - if the renderer fails to write tothe response |
Methods inherited from com.sun.rave.web.ui.renderer.ListRendererBase | public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) protected void decode(FacesContext context, UIComponent component, String id)(Code)(Java Doc) public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException(Code)(Java Doc) protected String getOnChangeJavaScript(ListManager component, String functionName, FacesContext context)(Code)(Java Doc) public boolean getRendersChildren()(Code)(Java Doc) String[] getUserInput(FacesContext context, UIComponent component)(Code)(Java Doc) void log(String s)(Code)(Java Doc) protected void renderHiddenValue(UIComponent component, FacesContext context, ResponseWriter writer, String hiddenStyle) throws IOException(Code)(Java Doc) protected void renderList(ListManager component, String id, FacesContext context, String[] styles) throws IOException(Code)(Java Doc) void renderListComponent(ListSelector component, FacesContext context, String[] styles) throws IOException(Code)(Java Doc) void renderListOption(UIComponent list, ListItem listItem, ResponseWriter writer, String[] styles) throws IOException(Code)(Java Doc) void renderListOptions(UIComponent component, Iterator optionsIterator, ResponseWriter writer, String[] styles) throws IOException(Code)(Java Doc) protected void renderOpenEncloser(ListManager component, FacesContext context, String element, String hiddenStyle) throws IOException(Code)(Java Doc) void renderReadOnlyList(ListManager component, UIComponent label, FacesContext context, String hiddenStyle) throws IOException(Code)(Java Doc) void renderSeparator(UIComponent component, ResponseWriter writer, String style) throws IOException(Code)(Java Doc)
|
|
|