public class UIDialogButtons
extends org.springframework.extensions.webscripts.ui.common.component.SelfRenderingComponent
The standard OK and Cancel buttons
are always generated. Any additional buttons, either configured
or generated dynamically by the dialog, are generated in between
the standard buttons.
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
BINDING_EXPRESSION_START |
| Constructor and Description |
|---|
UIDialogButtons() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSpacingRow(javax.faces.context.FacesContext context)
Creates an output text component to represent a spacing row.
|
void |
encodeBegin(javax.faces.context.FacesContext context) |
void |
encodeChildren(javax.faces.context.FacesContext context) |
void |
encodeEnd(javax.faces.context.FacesContext context) |
protected void |
generateAdditionalButtons(javax.faces.context.FacesContext context)
If there are any additional buttons to add as defined by the dialog
configuration and the dialog at runtime they are generated in this
method.
|
protected void |
generateButtons(javax.faces.context.FacesContext context)
Generates the buttons for the dialog currently being shown.
|
java.lang.String |
getFamily() |
boolean |
getRendersChildren() |
outputAttributeaddFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingprotected static final java.lang.String BINDING_EXPRESSION_START
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void encodeBegin(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeBegin in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic void encodeChildren(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeChildren in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context)
throws java.io.IOException
encodeEnd in class javax.faces.component.UIComponentBasejava.io.IOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.component.UIComponentBaseprotected void generateButtons(javax.faces.context.FacesContext context)
context - Faces contextprotected void generateAdditionalButtons(javax.faces.context.FacesContext context)
context - Faces contextprotected void addSpacingRow(javax.faces.context.FacesContext context)
context - Faces contextCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.