public class FormatDateTag
extends javax.servlet.jsp.tagext.TagSupport
<openmrs:formatDate date="${dateObj}" type="textbox"/>becomes a string like: "20/11/2009" in the user's current locale.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
FormatDateTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
Date |
getDate() |
String |
getFormat() |
String |
getPath() |
String |
getType() |
void |
release()
Clean up the variables
|
void |
setDate(Date date) |
void |
setFormat(String format) |
void |
setPath(String path) |
void |
setType(String type) |
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 release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public Date getDate()
public void setDate(Date date)
public String getPath()
public void setPath(String path)
public String getFormat()
public void setFormat(String format)
public String getType()
public void setType(String type)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.