public class RequireTag
extends javax.servlet.jsp.tagext.TagSupport
<rhn:require acl="acl_to_evaluate(params_to_acl)"> <h2>JSP or HTML tags to be evaluated if above acl is valid</h2> Otherwise, everything between the tag will be ignored. </rhn:require>
Constructor and Description |
---|
RequireTag()
Constructor for require tag.
|
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
java.lang.String |
getAcl()
Returns the value of the acl attribute passed into the tag.
|
java.lang.String |
getMixins()
Returns the comma separated String of Acl classnames to be mixed in.
|
void |
release() |
void |
setAcl(java.lang.String aclIn)
Sets the acl with the value specified in the JSP tag.
|
void |
setMixins(java.lang.String mix)
Sets the Acl classnames to be mixed in.
|
public void setAcl(java.lang.String aclIn)
aclIn
- the acl with the value specified in the JSP tag.public java.lang.String getAcl()
<rhn:require acl="value"> <h2>Hello World</h2> </rhn:require>
public void setMixins(java.lang.String mix)
mix
- A comma separated list of Acl classnames.getAcl()
public java.lang.String getMixins()
getAcl()
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
- JSP exceptionpublic void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport