UIComponentELTag specializes its superclass to allow for
properties that take their values from EL API expressions.
This tag is designed for use with Faces version 1.2 and JSP version 2.1 containers.
| Modifier and Type | Field and Description |
|---|---|
| private ValueExpression | binding
The value binding expression (if any) used to wire up this component
to a |
| private ValueExpression | rendered
An override for the rendered attribute associated with our
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected UIComponent | createComponent(FacesContext
FacesContext for the current requestid of the component newId)Implements abstract javax. Create and return a new child component of the type returned by
calling |
| protected ELContext | getELContext()
Overrides javax. Return the |
| protected boolean | hasBinding()
Implements abstract javax. Return |
| public void | release()
Overrides javax. Implements javax. Release any resources allocated during the execution of this tag handler. |
| public void | setBinding(ValueExpression
The new value expression binding)Set the value expression for our component. |
| protected void | setProperties(UIComponent
UIComponent whose properties are to be
overriddenImplements abstract javax. Override properties and attributes of the specified component, if the corresponding properties of this tag handler instance were explicitly set. |
| public void | setRendered(ValueExpression
The new value for rendered attribute rendered)Set an override for the rendered attribute. |
| binding | back to summary |
|---|---|
| private ValueExpression binding The value binding expression (if any) used to wire up this component
to a | |
| rendered | back to summary |
|---|---|
| private ValueExpression rendered An override for the rendered attribute associated with our
| |
| UIComponentELTag | back to summary |
|---|---|
| public UIComponentELTag() | |
| createComponent | back to summary |
|---|---|
| protected UIComponent createComponent(FacesContext context, String newId) throws JspException Implements abstract javax. Create and return a new child component of the type returned by
calling
| |
| getELContext | back to summary |
|---|---|
| protected ELContext getELContext() Overrides javax. Return the This is a convenience for
| |
| hasBinding | back to summary |
|---|---|
| protected boolean hasBinding() Implements abstract javax. Doc from javax. Return
| |
| release | back to summary |
|---|---|
| public void release() Overrides javax. Implements javax. Release any resources allocated during the execution of this tag handler.
| |
| setBinding | back to summary |
|---|---|
| public void setBinding(ValueExpression binding) throws JspException Set the value expression for our component.
| |
| setProperties | back to summary |
|---|---|
| protected void setProperties(UIComponent component) Implements abstract javax. 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 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);
}
}
The default implementation overrides the following properties:
| |
| setRendered | back to summary |
|---|---|
| public void setRendered(ValueExpression rendered) Set an override for the rendered attribute.
| |