org.alfresco.web.ui.common.tag
Class InputDatePickerTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag
org.alfresco.web.ui.common.tag.HtmlComponentTag
org.alfresco.web.ui.common.tag.InputDatePickerTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class InputDatePickerTag
- extends HtmlComponentTag
Fields inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag |
ACTION_CLASS_ARGS |
Fields inherited from class javax.faces.webapp.UIComponentTag |
pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
java.lang.String |
getComponentType()
|
java.lang.String |
getRendererType()
|
void |
release()
|
void |
setDisabled(java.lang.String disabled)
Sets whether the component should be rendered in a disabled state |
void |
setInitialiseIfNull(java.lang.String initialiseIfNull)
Sets whether today's date should be shown initially if the underlying
model value is null. |
void |
setNoneLabel(java.lang.String noneLabel)
Sets the explicit label to use when there is no date set |
protected void |
setProperties(javax.faces.component.UIComponent component)
|
void |
setShowTime(java.lang.String showTime)
Determines whether the time is rendered |
void |
setStartYear(java.lang.String startYear)
Set the startYear |
void |
setValue(java.lang.String value)
Set the value |
void |
setYearCount(java.lang.String yearCount)
Set the yearCount |
Methods inherited from class org.springframework.extensions.webscripts.ui.common.tag.BaseComponentTag |
setActionListenerProperty, setActionProperty, setBooleanProperty, setBooleanStaticProperty, setIntProperty, setIntStaticProperty, setStringBindingProperty, setStringProperty, setStringStaticProperty |
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, doStartTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputDatePickerTag
public InputDatePickerTag()
getComponentType
public java.lang.String getComponentType()
- Specified by:
getComponentType
in class javax.faces.webapp.UIComponentTag
- See Also:
UIComponentTag.getComponentType()
getRendererType
public java.lang.String getRendererType()
- Specified by:
getRendererType
in class javax.faces.webapp.UIComponentTag
- See Also:
UIComponentTag.getRendererType()
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class HtmlComponentTag
- See Also:
Tag.release()
setProperties
protected void setProperties(javax.faces.component.UIComponent component)
- Overrides:
setProperties
in class HtmlComponentTag
- See Also:
UIComponentTag.setProperties(javax.faces.component.UIComponent)
setValue
public void setValue(java.lang.String value)
- Set the value
- Parameters:
value
- the value
setStartYear
public void setStartYear(java.lang.String startYear)
- Set the startYear
- Parameters:
startYear
- the startYear
setYearCount
public void setYearCount(java.lang.String yearCount)
- Set the yearCount
- Parameters:
yearCount
- the yearCount
setShowTime
public void setShowTime(java.lang.String showTime)
- Determines whether the time is rendered
- Parameters:
showTime
- true to allow the time to be edited
setDisabled
public void setDisabled(java.lang.String disabled)
- Sets whether the component should be rendered in a disabled state
- Parameters:
disabled
- true to render the component in a disabled state
setInitialiseIfNull
public void setInitialiseIfNull(java.lang.String initialiseIfNull)
- Sets whether today's date should be shown initially if the underlying
model value is null. This will also hide the None button thus disallowing
the user to set the date back to null.
- Parameters:
initialiseIfNull
- true to show today's date instead of 'None'
setNoneLabel
public void setNoneLabel(java.lang.String noneLabel)
- Sets the explicit label to use when there is no date set
- Parameters:
noneLabel
- 'None' label to use
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.