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() |
String |
getBodyContentString() |
String |
getParameters() |
String |
getPointId() |
String |
getRequiredClass() |
String |
getType() |
String |
getVarStatus() |
void |
release() |
void |
setBodyContent(javax.servlet.jsp.tagext.BodyContent b) |
void |
setParameters(String parameters) |
void |
setPointId(String pointId) |
void |
setRequiredClass(String requiredClass) |
void |
setType(String type) |
void |
setVarStatus(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 String getPointId()
public void setPointId(String pointId)
public String getParameters()
public void setParameters(String parameters)
public String getType()
public void setType(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 String getBodyContentString()
public String getVarStatus()
public void setVarStatus(String varStatus)
varStatus
- the varStatus to setpublic String getRequiredClass()
public void setRequiredClass(String requiredClass)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.