public class ParameterTag
extends javax.faces.webapp.UIComponentELTag
bodyContent, pageContext, UNIQUE_ID_PREFIX| Constructor and Description |
|---|
ParameterTag() |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentType()
Return the component type for the component that is or will be
bound to this tag.
|
String |
getRendererType()
Return the
rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly. |
void |
setName(javax.el.ValueExpression name) |
protected void |
setProperties(javax.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 |
setValue(javax.el.ValueExpression value) |
createComponent, getELContext, hasBinding, release, setBinding, setRenderedaddChild, 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, setupResponseWriterpublic void setName(javax.el.ValueExpression name)
public void setValue(javax.el.ValueExpression value)
public String getRendererType()
javax.faces.webapp.UIComponentTagBaseReturn the rendererType property that selects the
Renderer to be used for encoding this component, or
null to ask the component to render itself directly.
Subclasses must override this method to return the appropriate value.
getRendererType in class javax.faces.webapp.UIComponentTagBasepublic String getComponentType()
javax.faces.webapp.UIComponentTagBaseReturn the component type for the component that is or will be
bound to this tag. This value can be passed to
Application.createComponent(java.lang.String) to create
the UIComponent instance for this tag. Subclasses must
override this method to return the appropriate value.
getComponentType in class javax.faces.webapp.UIComponentTagBaseprotected void setProperties(javax.faces.component.UIComponent component)
javax.faces.webapp.UIComponentELTagOverride 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 UIComponent was in fact created during
the execution of this tag handler instance, and this call will occur
BEFORE the UIComponent 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);
}
}
The default implementation overrides the following properties:
rendered - Set if a value for the
rendered property is specified for
this tag handler instance.rendererType - Set if the getRendererType()
method returns a non-null value.setProperties in class javax.faces.webapp.UIComponentELTagcomponent - UIComponent whose properties are to be
overriddenCopyright © 2010–2018 JBoss by Red Hat. All rights reserved.