public abstract class IlvObjectSelectInteractorTag extends IlvInteractorTag
select object interactor component
.bodyContent, pageContext, UNIQUE_ID_PREFIX
ACCESSIBLE, ACTION_NAME, AUTO_SUBMIT, BACKGROUND_COLOR, CAPABILITIES_LOADED_HANDLER, COMPONENT, DO_ACTION_ON_BG_DESELECT, ERROR_MESSAGE, GENERATE_IMAGE_MAP, HOTKEYS, IMAGE_FORMAT, IMAGE_LOADED_HANDLER, IMAGE_MAP_GENERATOR, IMAGE_MAP_GENERATOR_CLASS, IMAGE_MAP_VISIBLE, IMAGE_SERVLET_CONTEXT, INVOCATION_CONTEXT, JSF_CONTEXT, ON_CLICK, ON_SELECTION_CHANGED, PARTIAL_SUBMIT, PORTLET_CONTEXT_KEY, PORTLET_SESSION_KEY, REPLACE_PATTERN, RESIZABLE, SELECTION_RESIZABLE_CLASS, SESSION_EXP_HANDLER, SUBMITTED_VALUE, WAITING_IMAGE
AFTER_HANDLER, BASETEXTDIRECTION, BEFORE_HANDLER, BUTTON_GROUP_ID, BUTTON_TYPE, CHARTS_BUNDLE, CHARTS_MESSAGE_BUNDLE, CORE_BUNDLE, CORE_MESSAGE_BUNDLE, CURSOR, DATA, DECODED_PROPERTY, DEFAULT_LINE_COLOR, DELETION_ALLOWED, DIAGRAMMER_BUNDLE, DIAGRAMMER_MESSAGE_BUNDLE, ENABLED, EVENT_TYPE, FILL_ON, FORCE_UPDATE_PROPERTIES, FRAMEWORK_BUNDLE, FRAMEWORK_MESSAGE_BUNDLE, GANTT_BUNDLE, GANTT_MESSAGE_BUNDLE, HEIGHT, IMAGE, IMAGE_MODE, INFO_PROVIDER_MB, INT_NOT_DEFINED, INTERACTORS, INTERCEPT_INTERACTOR, ITEM_DISABLED_STYLE_CLASS, ITEM_HIGHLIGHTED_STYLE_CLASS, ITEM_STYLE_CLASS, LINE_COLOR, LINE_WIDTH, MAPS_BUNDLE, MAPS_MESSAGE_BUNDLE, MENU_MODEL_ID, MESSAGE, MESSAGE_BOX, MESSAGE_BOX_ID, MOVE_ALLOWED, OBJECT_FINDER, PARAM_COMPID, PARAM_DATA, PARAM_KEY, PARAM_NAMESPACE, PARAM_RESOURCE, PARAM_SERVICE, PARAM_TYPE, POPUP_MENU, POPUP_MENU_FACTORY, POPUP_MENU_FACTORY_CLASS, PORTLET_NAMESPACE, PROGRESSIVE_ZOOM, PROJECT, RENDER, RESOURCES_PATH, RESOURCES_PATH_PREFIX, ROLLOVER_IMAGE, SCROLL_BAR, SELECTED, SELECTED_IMAGE, SERVICE_FORWARD, SERVICE_FORWARD_INT, SERVLET, SERVLET_CLASS, SERVLET_URL, STYLE, STYLE_CLASS, TGO_BUNDLE, TGO_MESSAGE_BUNDLE, TITLE, TOGGLE, VALUE, VIEW, VIEW_ID, WIDTH
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
IlvObjectSelectInteractorTag()
Creates a new
IlvObjectSelectInteractorTag instance. |
Modifier and Type | Method and Description |
---|---|
String |
getAutoSubmit()
Returns the autoSubmit mode.
|
protected IlvObjectSelectedFinder |
getDefaultObjectSelectedFinder()
Deprecated.
With JViews 8.5, in order for custom components to be coherent with facelets,
you should implement this method directly in the component instead. See
IlvObjectSelectInteractor.getDefaultObjectSelectedFinder() . |
String |
getInvocationContext()
Returns the invocation context of the
valueChangeListener . |
String |
getObjectSelectedFinder()
Returns the
IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor. |
String |
getPartialSubmit()
Returns the partial submit mode.
|
String |
getValueChangeListener()
Returns the EL expression of method binding.
|
void |
setAutoSubmit(String autoSubmit)
Sets the autoSubmit mode.
|
void |
setInvocationContext(String invocationContext)
Sets the invocation context of the
valueChangeListener . |
void |
setObjectSelectedFinder(String objectFinder)
Sets the
IlvObjectSelectedFinder instance responsible for retrieving the object selected by this
interactor. |
void |
setPartialSubmit(String partialSubmit)
Sets the partial submit mode.
|
protected void |
setProperties(jakarta.faces.component.UIComponent component)
Override properties and attributes of the specified component,
if the corresponding properties of this tag handler instance were
explicitly set.
|
void |
setValueChangeListener(String valueChangeListener)
Sets the EL expression of method binding.
|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage
getComponentType, getPartialTriggers, getRendererType, getStringArray, setPartialTriggers, setProperty, setVBProperty, testSetProperties
createComponent, getParentUIComponentTag, hasBinding, isSuppressed, isValueReference, release, setBinding, setRendered
addChild, addFacet, addVerbatimAfterComponent, addVerbatimBeforeComponent, createVerbatimComponent, createVerbatimComponentFromBodyContent, doAfterBody, doEndTag, doInitBody, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getBodyContent, getComponentInstance, getCreated, getCreatedComponents, getDoAfterBodyValue, getDoEndValue, getDoStartValue, getFacesContext, getFacesJspId, getFacetName, getId, getIndexOfNextChildTag, getJspId, getParent, getParentUIComponentClassicTagBase, getPreviousOut, setBodyContent, setId, setJspId, setPageContext, setParent, setupResponseWriter
public IlvObjectSelectInteractorTag()
IlvObjectSelectInteractorTag
instance.protected void setProperties(jakarta.faces.component.UIComponent component)
Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. This method must be called ONLY if the specified component was in fact created during the execution of this tag handler instance, and this call will occur BEFORE the component is added to the view.
Tag subclasses that want to support additional set properties
must ensure that the base class setProperties()
method is still called. A typical implementation that supports
extra properties foo
and bar
would look
something like this:
protected void setProperties(UIComponent component) { super.setProperties(component); if (foo != null) { component.setAttribute("foo", foo); } if (bar != null) { component.setAttribute("bar", bar); } }
setProperties
in class IlvInteractorTag
component
- The component whose properties are to be
overridden@Deprecated protected IlvObjectSelectedFinder getDefaultObjectSelectedFinder()
IlvObjectSelectInteractor.getDefaultObjectSelectedFinder()
.IlvObjectSelectedFinder
instance if no specified instance is provided.IlvObjectSelectedFinder
instance.public String getAutoSubmit()
true
, this interactor will submit the enclosing form on a click event. The autosubmit mode is set to true
by default.public String getPartialSubmit()
true
, and if the autoSubmit
is also true
this interactor submits the enclosing form on
a click event through a partial submit, when the application is using a PPR based framework such as Trinidad.
It is set to false
by default.public void setAutoSubmit(String autoSubmit)
true
, this interactor will submit the enclosing form on a click event.
The autosubmit mode is set to true
by default.autoSubmit
- The autoSubmit to set.public void setPartialSubmit(String partialSubmit)
true
, and if the autoSubmit
is also true
this interactor submits the enclosing form on
a click event through a partial submit, when the application is using a PPR based framework such as Trinidad.
It is set to false
by default.partialSubmit
- The partialSubmit to set.public String getValueChangeListener()
public void setValueChangeListener(String valueChangeListener)
valueChangeListener
- The listener to set.public String getObjectSelectedFinder()
IlvObjectSelectedFinder
instance responsible for retrieving the object selected by this
interactor.public void setObjectSelectedFinder(String objectFinder)
IlvObjectSelectedFinder
instance responsible for retrieving the object selected by this
interactor.objectFinder
- The object selected finder to set.public String getInvocationContext()
valueChangeListener
.
IlvDHTMLConstants.JSF_CONTEXT
and
IlvDHTMLConstants.IMAGE_SERVLET_CONTEXT
:JSF_CONTEXT
: the value change listener is invoked in the JSF lifecycle.IMAGE_SERVLET_CONTEXT
: the value change listener is invoked in the image generating servlet, just before the image generation.
In this mode there are some limitations: you can only access to the graphic component that generates the image and not
on the JSF components that are not refreshed. Use the JSF_CONTEXT
mode in this case.public void setInvocationContext(String invocationContext)
valueChangeListener
.
IlvDHTMLConstants.JSF_CONTEXT
and
IlvDHTMLConstants.IMAGE_SERVLET_CONTEXT
:JSF_CONTEXT
: the value change listener is invoked in the JSF lifecycle.IMAGE_SERVLET_CONTEXT
: the value change listener is invoked in the image generating servlet, just before the image generation.
In this mode there are some limitations: you can only access to the graphic component that generates the image and not
on the JSF components that are not refreshed. Use the JSF_CONTEXT
mode in this case.invocationContext
- The invocation context to set.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.