| nl.knowlogy.validation.jsf.component.html.HtmlRenderer
All known Subclasses: nl.knowlogy.validation.jsf.renderkit.html.ValidationHtmlMessageRendererBase,
HtmlRenderer | abstract public class HtmlRenderer extends Renderer (Code) | | |
Method Summary | |
protected String | getActionUrl(FacesContext facesContext) | public int | getChildCount(UIComponent component) Return the number of children of the specified component. | public List | getChildren(UIComponent component) Return the list of children of the specified component. | protected String | getClientId(FacesContext context, UIComponent component) Returns the client ID that should be used for rendering (if
HtmlRenderer.shouldRenderId returns true). | protected void | renderId(FacesContext context, UIComponent component) Renders the client ID as an "id". | protected boolean | shouldRenderId(FacesContext context, UIComponent component) Returns true if the component should render an ID. | public static String | toUri(Object o) Coerces an object into a URI, accounting for JSF rules with initial
slashes. |
getActionUrl | protected String getActionUrl(FacesContext facesContext)(Code) | | Parameters: facesContext - String A String representing the action URL |
getChildren | public List getChildren(UIComponent component)(Code) | | Return the list of children of the specified component.
This default implementation simply returns component.getChildren().
However this method should always be used in order to allow renderer
subclasses to override it and provide filtered or reordered views of the
component children to rendering methods defined in their ancestor
classes.
Any method that overrides this to "hide" child components should also
override the getChildCount method.
a list of UIComponent objects. |
renderId | protected void renderId(FacesContext context, UIComponent component) throws IOException(Code) | | Renders the client ID as an "id".
|
shouldRenderId | protected boolean shouldRenderId(FacesContext context, UIComponent component)(Code) | | Returns true if the component should render an ID. Components that
deliver events should always return "true".
|
toUri | public static String toUri(Object o)(Code) | | Coerces an object into a URI, accounting for JSF rules with initial
slashes.
|
|
|