Klasse UIEvent
java.lang.Object
jakarta.faces.component.UIComponent
jakarta.faces.component.UIComponentBase
jakarta.faces.component.UICommand
org.apache.myfaces.tobago.internal.component.AbstractUICommandBase
org.apache.myfaces.tobago.internal.component.AbstractUIEvent
org.apache.myfaces.tobago.component.UIEvent
- Alle implementierten Schnittstellen:
- jakarta.faces.component.ActionSource,- jakarta.faces.component.ActionSource2,- jakarta.faces.component.behavior.ClientBehaviorHolder,- jakarta.faces.component.PartialStateHolder,- jakarta.faces.component.StateHolder,- jakarta.faces.component.TransientStateHolder,- jakarta.faces.event.ComponentSystemEventListener,- jakarta.faces.event.FacesListener,- jakarta.faces.event.SystemEventListenerHolder,- EventListener
@Generated("component.stg")
public class UIEvent
extends AbstractUIEvent
implements jakarta.faces.component.behavior.ClientBehaviorHolder
Add an event behavior to the component.
  It can contain f:ajax and tc:operation tags.
 UIComponent class, generated from template 
component.stg with class
 EventTagDeclaration.- 
FeldübersichtFelderVon Klasse geerbte Felder jakarta.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungText to use as confirmation message.getEvent()The name of the event as an instance of {The identifier of the page fragment which should be brought into focus when the target page is rendered.getLink()Link to an arbitrary URL, either an internal link or an external link.Link to an internal facelet page, like the outcome of an action.Name of a frame where the resource retrieved via this hyperlink is to be displayed.booleanisOmit()Flag indicating that the action of this element, will not be executed from client side (e. g. when the user clicks a button.booleanSpecify, if the command calls an JSF-Action.voidrestoreState(jakarta.faces.context.FacesContext context, Object state) voidsetConfirmation(String confirmation) voidsetEvent(ClientBehaviors event) voidsetFragment(String fragment) voidvoidsetOmit(boolean omit) voidsetOutcome(String outcome) voidvoidsetTransition(boolean transition) Von Klasse geerbte Methoden org.apache.myfaces.tobago.internal.component.AbstractUICommandBaseisDisabled, isRendered, processDecodes, processEvent, queueEvent, setDisabledVon Klasse geerbte Methoden jakarta.faces.component.UICommandaddActionListener, broadcast, getActionExpression, getActionListeners, getValue, isImmediate, removeActionListener, setActionExpression, setImmediate, setValueVon Klasse geerbte Methoden jakarta.faces.component.UIComponentBaseaddClientBehavior, addFacesListener, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isTransient, markInitialState, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTreeVon Klasse geerbte Methoden jakarta.faces.component.UIComponentgetClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEventVon Klasse geerbte Methoden java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden jakarta.faces.component.behavior.ClientBehaviorHolderaddClientBehavior, getClientBehaviors
- 
Felddetails- 
COMPONENT_TYPE
- 
COMPONENT_FAMILY- Siehe auch:
 
 
- 
- 
Konstruktordetails- 
UIEventpublic UIEvent()
 
- 
- 
Methodendetails- 
getEventNames- Angegeben von:
- getEventNamesin Schnittstelle- jakarta.faces.component.behavior.ClientBehaviorHolder
- Setzt außer Kraft:
- getEventNamesin Klasse- jakarta.faces.component.UIComponentBase
 
- 
getDefaultEventName- Angegeben von:
- getDefaultEventNamein Schnittstelle- jakarta.faces.component.behavior.ClientBehaviorHolder
- Setzt außer Kraft:
- getDefaultEventNamein Klasse- jakarta.faces.component.UIComponentBase
 
- 
getFamily- Setzt außer Kraft:
- getFamilyin Klasse- jakarta.faces.component.UICommand
 
- 
getFragmentThe identifier of the page fragment which should be brought into focus when the target page is rendered. The value of this attribute is appended to the end of target URL following a hash (#) mark. This notation is part of the standard URL syntax.- Angegeben von:
- getFragmentin Klasse- AbstractUICommandBase
 
- 
setFragment
- 
getLinkLink to an arbitrary URL, either an internal link or an external link. For internal URLs, a session id will be added, if needed (when cookies disabled). The context path needs to be added manually e.g. #{request.contextPath}. For JSF navigation to a viewId use the outcome attribute! The semantic of this attributes has been changed from Tobago 3 to 4! - Angegeben von:
- getLinkin Klasse- AbstractUICommandBase
 
- 
setLink
- 
getConfirmationText to use as confirmation message.- Angegeben von:
- getConfirmationin Klasse- AbstractUICommandBase
 
- 
setConfirmation
- 
getEventThe name of the event as an instance of {- Angegeben von:
- getEventin Klasse- AbstractUIEvent
 
- 
setEvent- Angegeben von:
- setEventin Klasse- AbstractUIEvent
 
- 
isOmitpublic boolean isOmit()Flag indicating that the action of this element, will not be executed from client side (e. g. when the user clicks a button. When setting this value to true, the action will not be executed by the Tobago, but it can executed by JavaScript. This attribute is useful, when you want to add JavaScript event handlers to commands manually. In this case you usually don't want a submit with a full reload of the page.
 Default:false- Angegeben von:
- isOmitin Klasse- AbstractUICommandBase
 
- 
setOmitpublic void setOmit(boolean omit) - Angegeben von:
- setOmitin Klasse- AbstractUICommandBase
 
- 
getOutcomeLink to an internal facelet page, like the outcome of an action. The context path will be added. A session id will be added, if needed.- Angegeben von:
- getOutcomein Klasse- AbstractUICommandBase
 
- 
setOutcome
- 
isTransitionpublic boolean isTransition()Specify, if the command calls an JSF-Action. Useful to switch off the Double-Submit-Check and Waiting-Behavior.
 Default:true- Angegeben von:
- isTransitionin Klasse- AbstractUICommandBase
 
- 
setTransitionpublic void setTransition(boolean transition) 
- 
getTargetName of a frame where the resource retrieved via this hyperlink is to be displayed.- Angegeben von:
- getTargetin Klasse- AbstractUICommandBase
 
- 
setTarget
- 
restoreState- Angegeben von:
- restoreStatein Schnittstelle- jakarta.faces.component.StateHolder
- Setzt außer Kraft:
- restoreStatein Klasse- jakarta.faces.component.UIComponentBase
 
 
-