public class FieldGenTag
extends javax.servlet.jsp.tagext.TagSupport
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_INPUT_CHAR_LENGTH |
static String |
DEFAULT_INPUT_FLOAT_LENGTH |
static String |
DEFAULT_INPUT_INT_LENGTH |
static String |
DEFAULT_INPUT_TEXT_LENGTH |
static long |
serialVersionUID |
Constructor and Description |
---|
FieldGenTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
Boolean |
getAllowUserDefault() |
String |
getFormFieldName() |
FieldGenHandler |
getHandlerByClassName(String className) |
javax.servlet.jsp.PageContext |
getPageContext() |
Map<String,Object> |
getParameterMap() |
String |
getParameters() |
String |
getType() |
Object |
getVal()
This is the initial value or the stored value for this tag.
|
void |
setAllowUserDefault(Boolean allowUserDefault)
If this is set to true, the user's stored default value for this value will be used if the
getVal() is null. |
void |
setFormFieldName(String formFieldName) |
void |
setParameterMap(Map<String,Object> parameterMap) |
void |
setParameters(String parameters) |
void |
setType(String type) |
void |
setUrl(String url) |
void |
setVal(Object startVal) |
public static final long serialVersionUID
public static final String DEFAULT_INPUT_TEXT_LENGTH
public static final String DEFAULT_INPUT_INT_LENGTH
public static final String DEFAULT_INPUT_FLOAT_LENGTH
public static final String DEFAULT_INPUT_CHAR_LENGTH
public javax.servlet.jsp.PageContext getPageContext()
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
public String getType()
public void setType(String type)
public String getFormFieldName()
public void setFormFieldName(String formFieldName)
formFieldName
- The formFieldName to set.public Object getVal()
public void setVal(Object startVal)
startVal
- The startVal to set.public void setUrl(String url)
public void setParameterMap(Map<String,Object> parameterMap)
parameterMap
- The parameterMap to set.public String getParameters()
public void setParameters(String parameters)
parameters
- The parameters to set.public Boolean getAllowUserDefault()
public void setAllowUserDefault(Boolean allowUserDefault)
getVal()
is null. LocationHandler
for an example. allowUserDefault
- the allowUserDefault to setpublic FieldGenHandler getHandlerByClassName(String className)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.