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 String |
BINDING_EXPRESSION_START |
Constructor and Description |
---|
UIDialogButtons() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSpacingRow(FacesContext context)
Creates an output text component to represent a spacing row.
|
void |
encodeBegin(FacesContext context) |
void |
encodeChildren(FacesContext context) |
void |
encodeEnd(FacesContext context) |
protected void |
generateAdditionalButtons(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(FacesContext context)
Generates the buttons for the dialog currently being shown.
|
String |
getFamily() |
boolean |
getRendersChildren() |
outputAttribute
addFacesListener, 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, setValueBinding
protected static final String BINDING_EXPRESSION_START
public String getFamily()
getFamily
in class UIComponent
public void encodeBegin(FacesContext context) throws IOException
encodeBegin
in class UIComponentBase
IOException
public void encodeChildren(FacesContext context) throws IOException
encodeChildren
in class UIComponentBase
IOException
public void encodeEnd(FacesContext context) throws IOException
encodeEnd
in class UIComponentBase
IOException
public boolean getRendersChildren()
getRendersChildren
in class UIComponentBase
protected void generateButtons(FacesContext context)
context
- Faces contextprotected void generateAdditionalButtons(FacesContext context)
context
- Faces contextprotected void addSpacingRow(FacesContext context)
context
- Faces contextCopyright © 2005–2017 Alfresco Software. All rights reserved.