|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.rhq.enterprise.gui.legacy.taglib.VarSetterBaseTag
org.rhq.enterprise.gui.legacy.taglib.ConfigTag
public class ConfigTag
A JSP tag that looks up a named CAM config property and returns the value as a scoped variable.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| 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 | |
|---|---|
ConfigTag()
|
|
| Method Summary | |
|---|---|
int |
doStartTag()
Process the tag, looking up the config property and setting the scoped variable. |
void |
release()
Release tag state. |
void |
setProp(String prop)
Set the name of the property to look up |
void |
setValue(String value)
Set the value to look up |
| Methods inherited from class org.rhq.enterprise.gui.legacy.taglib.VarSetterBaseTag |
|---|
getVar, setScope, setScopedVariable, setVar |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigTag()
| Method Detail |
|---|
public void setProp(String prop)
prop - the property namepublic void setValue(String value)
value - the value
public final int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if the scripting variable can not be found or if there is an error processing the tagpublic void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class VarSetterBaseTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||