@Generated(value="component.stg") public class UIForm extends AbstractUIForm implements javax.faces.component.behavior.ClientBehaviorHolder
component.stg with class
FormTagDeclaration.| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
| Constructor and Description |
|---|
UIForm() |
| Modifier and Type | Method and Description |
|---|---|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
Markup |
getMarkup() |
boolean |
isInline()
Deprecated.
|
boolean |
isPlain()
Use with caution: Only for special cases!
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setCustomClass(CustomClass customClass) |
void |
setInline(boolean inline)
Deprecated.
|
void |
setMarkup(Markup markup) |
void |
setPlain(boolean plain) |
processDecodes, processUpdates, processValidators, setSubmittedcreateUniqueId, getContainerClientId, isPrependId, isSubmitted, saveState, setPrependId, visitTreeaddClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindinggetClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClientBehavior, getClientBehaviors, getDefaultEventName, getEventNamesgetRendererTypepublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class javax.faces.component.UIForm@Deprecated public boolean isInline()
falseisInline in class AbstractUIForm@Deprecated public void setInline(boolean inline)
public boolean isPlain()
Use with caution: Only for special cases!
This attribute is useful for tc:out if labelLayout=skip is set. Use true, if you want to only render the text (no surrounding tag). Use false, if you enable the possibility to apply styles to the output.
For tc:form there will no div tag be rendered. So, the content can be used freely from layout managers.
But, no AJAX is possible for components with "plain" set, because there is no client element with an "id" in the DOM.
falsepublic void setPlain(boolean plain)
public CustomClass getCustomClass()
<tc:in>
<tc:style customClass="my-emphasized"/>
</tc:in>
One capability is, to used external CSS libs.
getCustomClass in interface Visualpublic void setCustomClass(CustomClass customClass)
setCustomClass in interface Visualpublic void restoreState(javax.faces.context.FacesContext context,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBaseCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.