public class BaseComponent
extends javax.faces.component.UIOutput
Custom component that replaces the Struts
<html:base>
tag.
Constructor and Description |
---|
BaseComponent()
Create a new
BaseComponent with default properties. |
Modifier and Type | Method and Description |
---|---|
String |
getFamily()
Return the component family to which this component belongs.
|
String |
getTarget()
Return the target frame.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state)
Restore the state of this component.
|
Object |
saveState(javax.faces.context.FacesContext context)
Save the state of this component.
|
void |
setTarget(String target)
Set the target frame.
|
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, setConverter, setValue
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
public BaseComponent()
Create a new BaseComponent
with default properties.
public String getFamily()
Return the component family to which this component belongs.
getFamily
in class javax.faces.component.UIOutput
public String getTarget()
Return the target frame.
public void setTarget(String target)
Set the target frame.
target
- The new target framepublic void restoreState(javax.faces.context.FacesContext context, Object state)
Restore the state of this component.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIOutput
context
- FacesContext
for the current requeststate
- State object from which to restore our statepublic Object saveState(javax.faces.context.FacesContext context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIOutput
context
- FacesContext
for the current requestCopyright © 2000–2016 Apache Software Foundation. All rights reserved.