|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.webapp.UIComponentTag
javax.faces.webapp.UIComponentBodyTag
ilog.views.faces.taglib.IlvBaseTag
ilog.views.faces.taglib.IlvInteractorTag
ilog.views.faces.dhtml.taglib.IlvObjectSelectInteractorTag
public abstract class IlvObjectSelectInteractorTag
This class defines the abstract custom tag handler for select object interactor component.
| Field Summary |
|---|
| Fields inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
bodyContent |
| Fields inherited from class javax.faces.webapp.UIComponentTag |
|---|
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
|---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
IlvObjectSelectInteractorTag()
Creates a new IlvObjectSelectInteractorTag instance. |
|
| Method Summary | |
|---|---|
String |
getAutoSubmit()
Returns the autosubmit mode. |
protected abstract IlvObjectSelectedFinder |
getDefaultObjectSelectedFinder()
Return the default IlvObjectSelectedFinder instance if no specified instance is provided. |
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 |
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. |
protected void |
setProperties(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
protected void setProperties(UIComponent component) {
super.setProperties(component);
if (foo != null) {
component.setAttribute("foo", foo);
}
if (bar != null) {
component.setAttribute("bar", bar);
}
}
|
void |
setValueChangeListener(String valueChangeListener)
Sets the EL expression of method binding. |
| Methods inherited from class ilog.views.faces.taglib.IlvInteractorTag |
|---|
getCursor, getMenuModelId, getMessage, setCursor, setMenuModelId, setMessage |
| Methods inherited from class ilog.views.faces.taglib.IlvBaseTag |
|---|
getComponentType, getRendererType, setProperty, setVBProperty, testSetProperties |
| Methods inherited from class javax.faces.webapp.UIComponentBodyTag |
|---|
doAfterBody, doInitBody, getBodyContent, getDoAfterBodyValue, getDoStartValue, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.faces.webapp.UIComponentTag |
|---|
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
doEndTag, doStartTag, getParent, setPageContext, setParent |
| Constructor Detail |
|---|
public IlvObjectSelectInteractorTag()
IlvObjectSelectInteractorTag instance.
| Method Detail |
|---|
protected void setProperties(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 IlvInteractorTagcomponent - The component whose properties are to be
overriddenprotected abstract IlvObjectSelectedFinder 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 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 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.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||