public class ExtensionPointTag
extends javax.servlet.jsp.tagext.TagSupport
implements javax.servlet.jsp.tagext.BodyTag
<openmrs:extensionPoint pointId="org.openmrs.cohortbuilder.links" type="html" varStatus="stat"> <c:if test="${stat.first}"> <br/> <b>Module Links:</b> </c:if> <ul> <openmrs:hasPrivilege privilege="${extension.requiredPrivilege}"> <form method="post" action="${pageContext.request.contextPath}/${extension.url}"> <input type="hidden" name="patientIds" value=""/> <li> <a href="#" onClick="javascript:submitLink(this)"><spring:message code="${extension.label}"/></a> </li> </form> </openmrs:hasPrivilege> <c:if test="${stat.last}"> </ul> </c:if> </openmrs:extensionPoint>
available in the loop.
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ExtensionPointTag() |
Modifier and Type | Method and Description |
---|---|
int |
doAfterBody() |
int |
doEndTag() |
void |
doInitBody() |
int |
doStartTag() |
javax.servlet.jsp.tagext.BodyContent |
getBodyContent() |
java.lang.String |
getBodyContentString() |
java.lang.String |
getParameters() |
java.lang.String |
getPointId() |
java.lang.String |
getRequiredClass() |
java.lang.String |
getType() |
java.lang.String |
getVarStatus() |
void |
release() |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent b) |
void |
setParameters(java.lang.String parameters) |
void |
setPointId(java.lang.String pointId) |
void |
setRequiredClass(java.lang.String requiredClass) |
void |
setType(java.lang.String type) |
void |
setVarStatus(java.lang.String varStatus) |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public static final long serialVersionUID
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
public void doInitBody() throws javax.servlet.jsp.JspException
doInitBody
in interface javax.servlet.jsp.tagext.BodyTag
javax.servlet.jsp.JspException
BodyTag.doInitBody()
public int doAfterBody() throws javax.servlet.jsp.JspException
doAfterBody
in interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
IterationTag.doAfterBody()
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
Tag.doEndTag()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public java.lang.String getPointId()
public void setPointId(java.lang.String pointId)
public java.lang.String getParameters()
public void setParameters(java.lang.String parameters)
public java.lang.String getType()
public void setType(java.lang.String type)
public void setBodyContent(javax.servlet.jsp.tagext.BodyContent b)
setBodyContent
in interface javax.servlet.jsp.tagext.BodyTag
public javax.servlet.jsp.tagext.BodyContent getBodyContent()
public java.lang.String getBodyContentString()
public java.lang.String getVarStatus()
public void setVarStatus(java.lang.String varStatus)
varStatus
- the varStatus to setpublic java.lang.String getRequiredClass()
public void setRequiredClass(java.lang.String requiredClass)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.