|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
nl.gx.webmanager.taglib.util.IsActiveTag
public class IsActiveTag
This tag returns if the object that is specified comes from a component that is currently active.
For example: returns false when invoked on an element that is contained by a WCB that is in
the RESOLVED state (currently not running).
Example of usage:
< wm:isActive var="componentLoaded" object="${componentObject}" />
< c:if test="componentLoaded" >
...
< /c:if >
| Constructor Summary | |
|---|---|
IsActiveTag()
|
|
| Method Summary | |
|---|---|
void |
doTag()
Sets the key in the pageContext specified by attribute var or otherwise
to the JSP output writer |
java.lang.Object |
getObject()
Return the Java object to check. |
java.lang.String |
getVar()
Return the name of the JSP variable to store the result in or null if not set. |
void |
setObject(java.lang.Object object)
Specifies the Java object to check. |
void |
setVar(java.lang.String var)
Specifies the JSP variable to store the result in. |
| Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
|---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IsActiveTag()
| Method Detail |
|---|
public java.lang.String getVar()
public void setVar(java.lang.String var)
var - the name of the JSP variable to store the result inpublic java.lang.Object getObject()
public void setObject(java.lang.Object object)
object - the object to evaluate
public void doTag()
throws javax.servlet.jsp.JspException
var or otherwise
to the JSP output writer
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspExceptionSimpleTag.doTag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||