| com.sun.rave.web.ui.renderer.AbstractRenderer com.sun.rave.web.ui.renderer.AlertRenderer
Method Summary | |
public void | encodeChildren(FacesContext context, UIComponent component) | public boolean | getRendersChildren() | protected void | renderAlertDetailArea(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) Renders the optional detail message of the inline alert. | protected void | renderAlertIcon(FacesContext context, Alert alert, String type, Theme theme, ResponseWriter writer) Renders the icon associated with an inline alert message.
Parameters: context - The current FacesContext Parameters: alert - The Alert object to use Parameters: theme - The theme to use Parameters: type - The type of alert. | protected void | renderAlertLink(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) Renders the optional link at the end of the alert. | protected void | renderAlertSummaryText(Alert alert, ResponseWriter writer) Renders the summary message of the inline alert. | protected void | renderClosingTags(ResponseWriter writer) Renders the optional detail message of the inline alert. | protected void | renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) Renders the inline alert component. | protected void | renderOpeningTable(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) Renders the attributes for the outer table containing the inline alert. | protected void | renderOuterDiv(FacesContext context, Alert alert, ResponseWriter writer) Renders the outer div which contains the alert. |
ALERT_TYPE_DEFAULT | final public static String ALERT_TYPE_DEFAULT(Code) | | The default error type - if none is specified.
|
ALERT_TYPE_ERROR | final public static String ALERT_TYPE_ERROR(Code) | | The different types or categories of an alert.
|
ALERT_TYPE_INFO | final public static String ALERT_TYPE_INFO(Code) | | |
ALERT_TYPE_SUCCESS | final public static String ALERT_TYPE_SUCCESS(Code) | | |
ALERT_TYPE_WARN | final public static String ALERT_TYPE_WARN(Code) | | |
AlertRenderer | public AlertRenderer()(Code) | | Creates a new instance of AlertRenderer
|
encodeChildren | public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code) | | |
getRendersChildren | public boolean getRendersChildren()(Code) | | |
renderAlertDetailArea | protected void renderAlertDetailArea(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the optional detail message of the inline alert.
Parameters: alert - The Alert object to use Parameters: theme - The theme to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderAlertIcon | protected void renderAlertIcon(FacesContext context, Alert alert, String type, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the icon associated with an inline alert message.
Parameters: context - The current FacesContext Parameters: alert - The Alert object to use Parameters: theme - The theme to use Parameters: type - The type of alert. Default is ALERT_TYPE_ERROR. Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderAlertLink | protected void renderAlertLink(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the optional link at the end of the alert.
Parameters: context - The current FacesContext Parameters: alert - The Alert object to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderAlertSummaryText | protected void renderAlertSummaryText(Alert alert, ResponseWriter writer) throws IOException(Code) | | Renders the summary message of the inline alert.
Parameters: alert - The Alert object to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderClosingTags | protected void renderClosingTags(ResponseWriter writer) throws IOException(Code) | | Renders the optional detail message of the inline alert.
Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderEnd | protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Renders the inline alert component.
Parameters: context - The current FacesContext Parameters: component - The Alert object to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurss |
renderOpeningTable | protected void renderOpeningTable(FacesContext context, Alert alert, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the attributes for the outer table containing the inline alert.
TODO: Use div's instead of tables for layout as soon as I can find a
solution that works for IE.
Parameters: context - The current FacesContext Parameters: alert - The Alert object to use Parameters: theme - The Theme to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderOuterDiv | protected void renderOuterDiv(FacesContext context, Alert alert, ResponseWriter writer) throws IOException(Code) | | Renders the outer div which contains the alert.
Parameters: context - The current FacesContext Parameters: alert - The Alert object to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
Methods inherited from com.sun.rave.web.ui.renderer.AbstractRenderer | protected void addBooleanAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected void addCoreAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String styles) throws IOException(Code)(Java Doc) protected void addIntegerAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected static void addStringAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected Application getApplication()(Code)(Java Doc) protected Object getAsObject(FacesContext context, UIComponent component, String value)(Code)(Java Doc) protected String getAsString(FacesContext context, UIComponent component)(Code)(Java Doc) protected ExternalContext getExternalContext()(Code)(Java Doc) protected FacesContext getFacesContext()(Code)(Java Doc) protected Object getSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc) protected boolean isDisabled(UIComponent component)(Code)(Java Doc) protected boolean isPortlet(FacesContext context)(Code)(Java Doc) protected boolean isReadOnly(UIComponent component)(Code)(Java Doc) protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderMarkup(FacesContext context, UIComponent component, ResponseWriter writer, Markup markup) throws IOException(Code)(Java Doc) protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void setSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc)
|
|
|