Package nl.gx.webmanager.taglib.edit
Class DatePickerInternalTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.SimpleTagSupport
-
- nl.gx.webmanager.taglib.edit.DatePickerInternalTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.SimpleTag
public class DatePickerInternalTag extends javax.servlet.jsp.tagext.SimpleTagSupport
This class is called by the wmedit:datePicker JSP tag and holds most of the wmedit:datePicker implementation. This class should not be used directly.
-
-
Constructor Summary
Constructors Constructor Description DatePickerInternalTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTag()
StringBuilder
extraJSFunctions()
boolean
getApplyTimeZone()
Get whether time zone adjustments should be applied.String
getId()
StringBuilder
getImagePath()
String
getPath()
Get the path used for identifying the object field being edited.boolean
getShowTime()
Get whether the time field should be shown.String
getValue()
Get the encoded date value.Website
getWebsite()
Get the website.void
setApplyTimeZone(boolean applyTimeZone)
Set whether time zone adjustments should be applied.StringBuilder
setCalendarDiv()
void
setPath(String path)
Set the path used for identifying the object field being edited.void
setShowTime(boolean showTime)
Set whether the time field should be shown.void
setValue(String value)
Set the encoded date value to display.void
setWebsite(Website website)
Set the website.
-
-
-
Method Detail
-
setValue
public void setValue(String value)
Set the encoded date value to display.- Parameters:
value
-
-
getValue
public String getValue()
Get the encoded date value.- Returns:
-
setPath
public void setPath(String path)
Set the path used for identifying the object field being edited.- Parameters:
path
-
-
getPath
public String getPath()
Get the path used for identifying the object field being edited.- Returns:
-
setWebsite
public void setWebsite(Website website)
Set the website.- Parameters:
website
-
-
getWebsite
public Website getWebsite()
Get the website.- Returns:
-
setShowTime
public void setShowTime(boolean showTime)
Set whether the time field should be shown.- Parameters:
showTime
-
-
getShowTime
public boolean getShowTime()
Get whether the time field should be shown.- Returns:
-
setApplyTimeZone
public void setApplyTimeZone(boolean applyTimeZone)
Set whether time zone adjustments should be applied.- Parameters:
applyTimeZone
-
-
getApplyTimeZone
public boolean getApplyTimeZone()
Get whether time zone adjustments should be applied.- Returns:
- True if dates should be adjusted for time zone.
-
getImagePath
public StringBuilder getImagePath()
-
extraJSFunctions
public StringBuilder extraJSFunctions()
-
setCalendarDiv
public StringBuilder setCalendarDiv()
-
getId
public String getId()
-
doTag
public void doTag() throws javax.servlet.jsp.JspException
- Specified by:
doTag
in interfacejavax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjavax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
-
-