au.com.whitesquare.waf.taglib.html
Class DateSelectorTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byau.com.whitesquare.waf.taglib.html.BaseHandlerTag
              extended byau.com.whitesquare.waf.taglib.html.BaseInputTag
                  extended byau.com.whitesquare.waf.taglib.html.DateSelectorTag
All Implemented Interfaces:
BodyTag, IterationTag, JspTag, Serializable, Tag

public class DateSelectorTag
extends BaseInputTag


Last Modified $Date: 2006/11/11 00:02:11 $

Version:
$Revision: 1.8 $
Author:
Steve Mactaggart
See Also:
Serialized Form

Field Summary
 
Fields inherited from class au.com.whitesquare.waf.taglib.html.BaseInputTag
value
 
Fields inherited from class au.com.whitesquare.waf.taglib.html.BaseHandlerTag
accesskey, tabindex
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
DateSelectorTag()
           
 
Method Summary
protected  void configureRepopulateValue(JSPForwardResponse resp)
           
 String getEndyear()
          End year can be NOW, +num, -num or an absolute numeric value.
 boolean getNulloption()
          By setting this option the combo boxes will have a blank option at the top.
 String getStartyear()
          Start year can be NOW or an absolute numeric value.
 void release()
          Release any acquired resources.
protected  String renderInputElement()
          This method is overwridden in the sub-class to generate the HTML to render the actual input element.
 void setEndyear(String endyear)
          End year can be NOW, +num, -num or an absolute numeric value.
 void setNulloption(boolean hasDefault)
          By setting this option the combo boxes will have a blank option at the top.
 void setStartyear(String startyear)
          Start year can be NOW or an absolute numeric value.
 
Methods inherited from class au.com.whitesquare.waf.taglib.html.BaseInputTag
configureValue, doEndTag, doStartTag, getCols, getMaxlength, getName, getRows, getSize, getValue, isEditable, isRepopulate, prepareInput, renderTextElement, setCols, setEditable, setMaxlength, setName, setRepopulate, setRows, setSize, setValue, setValue, setValue, setValue
 
Methods inherited from class au.com.whitesquare.waf.taglib.html.BaseHandlerTag
filter, getAccesskey, getAlt, getDisabled, getElementClose, getOnblur, getOnchange, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnselect, getReadonly, getStyle, getStyleClass, getStyleId, getTabindex, getTitle, getTitleKey, prepareEventHandlers, prepareFocusEvents, prepareKeyEvents, prepareMouseEvents, prepareStyles, prepareTextEvents, setAccesskey, setAlt, setDisabled, setOnblur, setOnchange, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnselect, setReadonly, setStyle, setStyleClass, setStyleId, setTabindex, setTitle, setTitleKey, write
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

DateSelectorTag

public DateSelectorTag()
Method Detail

setNulloption

public void setNulloption(boolean hasDefault)
By setting this option the combo boxes will have a blank option at the top.

Parameters:
hasDefault - if the null option is to be set or not.

getNulloption

public boolean getNulloption()
By setting this option the combo boxes will have a blank option at the top.

Returns:
whether the nulloption is set or not.

configureRepopulateValue

protected void configureRepopulateValue(JSPForwardResponse resp)
Overrides:
configureRepopulateValue in class BaseInputTag
See Also:
BaseInputTag.configureRepopulateValue(au.com.whitesquare.waf.command.response.JSPForwardResponse)

renderInputElement

protected String renderInputElement()
                             throws JspException
Description copied from class: BaseInputTag
This method is overwridden in the sub-class to generate the HTML to render the actual input element.

Specified by:
renderInputElement in class BaseInputTag
Returns:
the content of the input HTML
Throws:
JspException
See Also:
BaseInputTag.renderInputElement()

release

public void release()
Description copied from class: BaseInputTag
Release any acquired resources.

Specified by:
release in interface Tag
Overrides:
release in class BaseInputTag
See Also:
Tag.release()

getEndyear

public String getEndyear()
End year can be NOW, +num, -num or an absolute numeric value. Default = 2900.

Returns:
Returns the endyear.

setEndyear

public void setEndyear(String endyear)
End year can be NOW, +num, -num or an absolute numeric value. Default = 2900.

Parameters:
endyear - The endyear to set.

getStartyear

public String getStartyear()
Start year can be NOW or an absolute numeric value. Default = 1900.

Returns:
Returns the startyear.

setStartyear

public void setStartyear(String startyear)
Start year can be NOW or an absolute numeric value. Default = 1900.

Parameters:
startyear - The startyear to set.


Copyright © 2004 Whitesquare Software. All Rights Reserved.