| org.araneaframework.jsp.tag.uilib.form.BaseFormElementHtmlTag org.araneaframework.jsp.tag.uilib.form.element.date.BaseFormDateTimeInputHtmlTag
All known Subclasses: org.araneaframework.jsp.tag.uilib.form.element.date.FormDateTimeInputHtmlTag, org.araneaframework.jsp.tag.uilib.form.element.date.FormTimeInputHtmlTag, org.araneaframework.jsp.tag.uilib.form.element.date.FormDateInputHtmlTag,
BaseFormDateTimeInputHtmlTag | public class BaseFormDateTimeInputHtmlTag extends BaseFormElementHtmlTag (Code) | | Standard date time input form element base tag.
author: Oleg Mürk author: Margus Väli 2.05.2005 - precondition and onblur event notifying listeners |
Method Summary | |
protected String | getHourSelectOnChangePrecondition(String timeInputId) | protected String | getMinuteSelectOnChangePrecondition(String timeInputId) | protected String | getSelectOnChangePrecondition(String timeInputId) | protected String | getTimeInputOnChangePrecondition(String timeInputId) | protected String | getTimeSelectScript(String selectId, Integer value, int valueCount) | public void | setCalendarAlignment(String calendarAlignment) | public void | setOnChangePrecondition(String onChangePrecondition) | protected void | writeCalendarScript(Writer out, String id, String format) | protected void | writeDateInput(Writer out, String id, String name, String value, String label, boolean isMandatory, boolean isValid, Long size, boolean disabled, String styleClass, String accessKey, DateControl.ViewModel viewModel) | protected void | writeTimeInput(Writer out, String id, String name, String value, String label, Long size, boolean disabled, String styleClass, String accessKey, TimeControl.ViewModel viewModel) Writes out time input
The id and accessKey parameters may be null.
Note that the ID attribute is [for the moment, at least: 28.12.2004] only needed
for the access keys to function. |
CALENDAR_BUTTON_ID_SUFFIX | final public static String CALENDAR_BUTTON_ID_SUFFIX(Code) | | |
DEFAULT_DATE_INPUT_SIZE | final public static Long DEFAULT_DATE_INPUT_SIZE(Code) | | |
DEFAULT_TIME_INPUT_SIZE | final public static Long DEFAULT_TIME_INPUT_SIZE(Code) | | |
onChangePrecondition | protected String onChangePrecondition(Code) | | |
getHourSelectOnChangePrecondition | protected String getHourSelectOnChangePrecondition(String timeInputId)(Code) | | since: 1.0.3 |
getMinuteSelectOnChangePrecondition | protected String getMinuteSelectOnChangePrecondition(String timeInputId)(Code) | | since: 1.0.3 |
getSelectOnChangePrecondition | protected String getSelectOnChangePrecondition(String timeInputId)(Code) | | since: 1.0.3 |
getTimeInputOnChangePrecondition | protected String getTimeInputOnChangePrecondition(String timeInputId)(Code) | | since: 1.0.3 |
writeDateInput | protected void writeDateInput(Writer out, String id, String name, String value, String label, boolean isMandatory, boolean isValid, Long size, boolean disabled, String styleClass, String accessKey, DateControl.ViewModel viewModel) throws Exception(Code) | | Writes out date input
|
writeTimeInput | protected void writeTimeInput(Writer out, String id, String name, String value, String label, Long size, boolean disabled, String styleClass, String accessKey, TimeControl.ViewModel viewModel) throws Exception(Code) | | Writes out time input
The id and accessKey parameters may be null.
Note that the ID attribute is [for the moment, at least: 28.12.2004] only needed
for the access keys to function. That is, the typical pattern as seen in HTML is:
<label for="some.control.id" accesskey="some.key"> ...
<input id="some.control.id" ... >
As you see, the input tag outputs its ID so that the label tag
could reference it.
|
Methods inherited from org.araneaframework.jsp.tag.uilib.form.BaseFormElementHtmlTag | protected void assertControlType(String type) throws JspException(Code)(Java Doc) protected int doEndTag(Writer out) throws Exception(Code)(Java Doc) public void doFinally()(Code)(Java Doc) protected int doStartTag(Writer out) throws Exception(Code)(Java Doc) protected String getFullFieldId()(Code)(Java Doc) protected boolean getHasElementContextSpan()(Code)(Java Doc) public void setAccessKeyId(String accessKeyId) throws JspException(Code)(Java Doc) public void setEvents(String events) throws JspException(Code)(Java Doc) public void setGlobalUpdateRegions(String globalUpdateRegions) throws JspException(Code)(Java Doc) protected void setHasElementContextSpan(boolean hasElementContextSpan)(Code)(Java Doc) public void setId(String id) throws JspException(Code)(Java Doc) public void setTabindex(String tabindex) throws JspException(Code)(Java Doc) public void setUpdateRegions(String updateRegions) throws JspException(Code)(Java Doc) public void setValidateOnEvent(String validateOnEvent) throws JspException(Code)(Java Doc) protected void writeBackgroundValidationAttribute(Writer out) throws Exception(Code)(Java Doc) public static void writeFormElementContextClose(Writer out) throws IOException(Code)(Java Doc) public static void writeFormElementContextOpen(Writer out, String fullFormId, String elementId, PageContext pageContext) throws Exception(Code)(Java Doc) public static void writeFormElementContextOpen(Writer out, String fullFormId, String elementId, boolean isPresent, PageContext pageContext) throws Exception(Code)(Java Doc) public static void writeFormElementContextOpen(Writer out, String fullFormId, String elementId, boolean isPresent, PageContext pageContext, String idPrefix) throws Exception(Code)(Java Doc) protected void writeFormElementValidationErrorMessages(Writer out) throws JspException, AraneaJspException, IOException(Code)(Java Doc) public static void writeFormElementValidityMarkers(Writer out, boolean valid, String spanId) throws Exception(Code)(Java Doc) protected void writeSubmitScriptForUiEvent(Writer out, String attributeName, String id, String eventId, String precondition, List updateRegions) throws IOException(Code)(Java Doc) protected void writeSubmitScriptForUiEvent(Writer out, String attributeName) throws IOException, JspException(Code)(Java Doc)
|
|
|