ArticlesTutorialsInterview Questions & AnswersCertificationsFree Books & Sample ChaptersTechnical Discussions  Your Account | Advertise with us | Feedback |
Few pages of this site are under construction and we are constantly trying to improve it. If you have any suggestions or ideas about how to improve the site, please Let us know.
Tomahawk InputCalendar

 t:iconProvider Tomahawk Tag Home t:inputDate 

<t:inputCalendar>


Contents

  1. Introduction
  2. Tag Attributes
  3. Example

Introduction

t:inputCalendar tag provides a calendar component which can be used to enter in calendar dates for a form.



Tag Attributes


AttributeDescription   Type    
accesskey The accesskey attribute is a standard HTML attribute that sets the access key that transfers focus to this element when pressed.String
addResources Automatically add the input-calendar scripts and css files to the header - set that to false to provide the scripts yourself. String
align The align attribute is a standard HTML attribute that specifies this element's horizontal alignment.String
alt The alt attribute is a standard HTML attribute that sets the alternate textual description rendered by this component.String
binding The value-binding expression linking this component tag to a backing bean property.String
converter The converter attribute sets the converter instance to be registered for this component. It must match the converter-id value of a converter element defined in your Faces configuration file.String
currentDayCellClass The currentDayCellClass attribute is the CSS style class applied to the td element for the current day.String
dayCellClass The dayCellClass attribute is the CSS style class applied to all days within the calendar.String
dir The dir attribute is a standard HTML attribute that overrides the default text directionality for this component. The values accepted for this component are "LTR" (left-to-right) and "RTL" (right-to-left). String
disabled When true, this element cannot receive focus.String
displayValueOnly TThe displayValueOnly attribute expects a boolean value that, when set to true, causes a tag to render its value only, and not the associated UI component.String
displayValueOnlyStyle The displayValueOnlyStyle attribute defines the CSS style applied to the display value of this tag when the displayValueOnly attribute is set to true.String
displayValueOnlyStyleClass The displayValueOnlyStyleClass attribute defines the CSS class applied to the display value of this tag when the displayValueOnly attribute is set to true.String
enabledOnUserRole If user is in given role, this component will be rendered normally. If not, no hyperlink is rendered but all nested tags (=body) are rendered.String
forceId A boolean value;If true, this component will force the use of the specified id when rendering.String
forceIdIndex The forceIdIndex attribute effects the component ID name when this component is rendered at runtime. It expects a boolean value that, when true, causes the component to display an index number in its ID value if the component is in a list. It has a default value of true. String
helpText The helpText attribute defines the text to be displayed to the user as a suggestion for how to input a value for this components.String
id The unique identifier value for this component. The value must be unique within the closest naming container (e.g.,h:form or f:subview).This value must be a static value.String
imageLocation The imageLocation attribute specifies the location of images for this component.String
immediate A boolean value that identifies the phase during which action events should fire. During normal event processing, action methods and action listener methods are fired during the "invoke application" phase of request processing. If this attribute is set to "true", these methods are fired instead at the end of the "apply request values" phase.String
javascriptLocation The javascriptLocation attribute defines the location of JavaScript files for this component.String
maxlength The maxlength attribute sets the maximum length in characters of the string accepted by this input component.String
monthYearRowClass The monthYearRowClass attribute is the CSS style class to be used for the month of the year.String
onblur, onchange,etc., DHTML EventsString
popupButtonImageUrl The popupButtonImageUrl attribute sets the location of the image to be used for the popup button. Note: the popup button image will appear instead of the button icon only if renderPopupButtonAsImage attribute is "true".String
popupButtonString The popupButtonString attribute defines the wording to appear in the popup button that appears if renderAsPopup is true.String
popupButtonStyle The popupButtonStyle attribute set a style to be applied to popUp button that appears if renderAsPopup is true.String
popupButtonStyleClass The popupButtonStyleClass attribute is the CSS style class applied to popUp button that appears if renderAsPopup is true.String
popupDateFormat The popupDateFormat attribute sets the date format to be used by the popup calendar.String
popupGotoString The popupGotoString attribute sets the wording that will appear in a hovering message when the cursor is over top the date in the bottom middle of the calendar.String
popupLeft The popupLeft attribute expects a boolean value that, when true, causes the calendar to be rendered on the left side of the input component, instead of the right. The default value is false.String
popupScrollLeftMessage The popupScrollLeftMessage attribute defines the tooltip and status bar text displayed when scrolling to the left.String
popupScrollRightMessage The popupScrollRightMessage attribute defines the tooltip and status bar text displayed when scrolling to the right.String
popupSelectDateMessage The popupSelectDateMessage attribute defines the tooltip and status bar text displayed when selecting a date.String
popupSelectMonthMessage The popupSelectMonthMessage attribute defines the tooltip and status bar text displayed when selecting a month.String
popupSelectYearMessage The popupSelectYearMessage attribute defines the tooltip and status bar text displayed when selecting a year.String
popupTheme The popupTheme attribute species the prefix for the theme used by this calendar.String
popupTodayDateFormat The popupTodayDateFormat attribute defines the date format for the current date string displayed at the bottom of the calendar.String
popupTodayString The popupTodayString attribute sets the wording in the bottom middle of the calendar where "Today is" is.String
popupWeekString The popupWeekString attribute sets the wording in the top left corner of the calendar where "wk" is.String
readonly The readonly attribute is a boolean flag that when set to true prohibits changes to this element by the user. The element will continue to receive focus unless you set the disabled attribute to true.String
renderAsPopup The renderAsPopup attribute renders the inputCalendar as a input text field next to a button. When the button is pushed, a pop up calendar will appear. If a date within the calendar is chosen, the text field will be populated with the date chosen.String
renderPopupButtonAsImage The renderPopupButtonAsImage attribute will render a default icon to be used instead of the popup button if set to true. Othewise the standard button will appear. Note: the popupButtonImageUrl attribute can set a different image to be used instead of the default calendar image.String
renderedA boolean value that indicates whether this component should be rendered.Default value: true.String
requiredThe required attribute is a boolean flag that indicates whether or not the user is required to provide a value for this field before the form can be submitted to the server.String
sizeThe size attribute sets the width in characters of this input field.String
styleThe style attribute sets the CSS style definition to be applied to this component when it is rendered.String
styleClassThe styleClass attribute sets the CSS class to apply to this component when it is rendered.String
styleLocationThe styleLocation attribute defines the location of Cascading Style Sheets for this component.String
tabindexThe tabindex attribute is a standard HTML attribute that sets the order in which this element receives focus when the user cycles through the elements using the TAB key. The value for this attribute must be an integer between 0 and 32767. String
titleAn advisory title for this element. Often used by the user agent as a tooltip.String
validatorThe validator attribute accepts a method-binding expression representing a validator method that will be called when the JSF framework validates this component. A validator method must be a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void.String
valueThe value attribute sets the current value for this component.String
valueChangeListenerThe valueChangeListener attribute accepts a method-binding expression representing a value change listener method to be notified when a new value has been set for this input component. A value change listener method must be a public method that takes a ValueChangeEvent parameter, with a return type of void.String
visibleOnUserRoleIf user is in given role, this component will be rendered normally. If not, nothing is rendered and the body of this tag will be skipped. String
weekRowClassThe weekRowClass attribute is the CSS style class to be used for the days of the week row. String


Example


<t:panelGroup>
 <h:outputLabel for="dob" value="Date Of Birth"/>
</t:panelGroup>
<t:panelGroup styleClass="date_input">
 <t:inputCalendar id="dob"
    maxlength="10"
    value="#{myBackingBean.person.dateOfBirth}"
    monthYearRowClass="monthYearRowClass"
    weekRowClass="weekRowClass"
    dayCellClass="dayCellClass"
    currentDayCellClass="currentDayCellClass"
    popupTodayString="Today is :"
    popupWeekString="Wk" renderAsPopup="true"     renderPopupButtonAsImage="true"
    popupDateFormat="MM/dd/yyyy"
    alt="Calendar" title="Calendar">
 </t:inputCalendar>
</t:panelGroup>

Date Of Birth

   


 t:iconProvider Tomahawk Tag Home t:inputDate 
Related Links

Tomahawk
t:aliasBean
t:aliasBeansScope
t:buffer
t:checkbox
t:collapsiblePanel
t:column
t:columns
t:commandButton
t:commandLink
t:commandNavigation
t:commandNavigation2
t:commandSortHeader
t:dataList
t:dataScroller
t:dataTable
t:div
t:document
t:documentBody
t:documentHead
t:dojoInitializer
t:graphicImage
t:headerLink
t:htmlTag
t:iconProvider
t:inputCalendar
t:inputDate
t:inputFileUpload
t:inputHidden
t:inputHtml
t:inputSecret
t:inputText
t:inputTextHelp
t:inputTextarea
t:jsValueChangeListener
t:jsValueSet
t:jscookMenu
t:message
t:messages
t:navigationMenuItem
t:navigationMenuItems
t:newspaperTable
t:outputLabel
t:outputText
t:panelGrid
t:panelGroup
t:panelLayout
t:panelNavigation
t:panelNavigation2
t:panelStack
t:panelTab
t:panelTabbedPane
t:popup
t:radio
t:saveState
t:schedule
t:selectBooleanCheckbox
t:selectItems
t:selectManyCheckbox
t:selectManyListbox
t:selectManyMenu
t:selectOneCountry
t:selectOneLanguage
t:selectOneListbox
t:selectOneMenu
t:selectOneRadio
t:stylesheet
t:swapImage
t:tabChangeListener
t:tree
t:tree2
t:treeCheckbox
t:treeColumn
t:treeSelectionListener
t:updateActionListener
t:validateCreditCard
t:validateEmail
t:validateEqual
t:validateRegExpr
Core Tags
f:actionListener
f:attribute
f:converter
f:convertDateTime
f:convertNumber
f:facet
f:loadBundle
f:param
f:selectitem
f:selectitems
f:subview
f:validateDoubleRange
f:validateLength
f:validateLongRange
f:validator
f:valueChangeListener
f:verbatim
f:view
HTML Tags
h:column
h:commandButton
h:commandLink
h:dataTable
h:form
h:graphicImage
h:inputHidden
h:inputSecret
h:inputText
h:inputTextarea
h:message
h:messages
h:outputFormat
h:outputLabel
h:outputLink
h:outputText
h:panelGrid
h:panelGroup
h:selectBooleanCheckbox
h:selectManyCheckbox
h:selectManyListbox
h:selectManyMenu
h:selectOneListbox
h:selectOneMenu
h:selectOneRadio
Tomahawk
t:aliasBean
t:aliasBeansScope
t:buffer
t:checkbox
t:collapsiblePanel
t:column
t:columns
t:commandButton
t:commandLink
t:commandNavigation
t:commandNavigation2
t:commandSortHeader
t:dataList
t:dataScroller
t:dataTable
t:div
t:document
t:documentBody
t:documentHead
t:dojoInitializer
t:graphicImage
t:headerLink
t:htmlTag
t:iconProvider
t:inputCalendar
t:inputDate
t:inputFileUpload
t:inputHidden
t:inputHtml
t:inputSecret
t:inputText
t:inputTextHelp
t:inputTextarea
t:jsValueChangeListener
t:jsValueSet
t:jscookMenu
t:message
t:messages
t:navigationMenuItem
t:navigationMenuItems
t:newspaperTable
t:outputLabel
t:outputText
t:panelGrid
t:panelGroup
t:panelLayout
t:panelNavigation
t:panelNavigation2
t:panelStack
t:panelTab
t:panelTabbedPane
t:popup
t:radio
t:saveState
t:schedule
t:selectBooleanCheckbox
t:selectItems
t:selectManyCheckbox
t:selectManyListbox
t:selectManyMenu
t:selectOneCountry
t:selectOneLanguage
t:selectOneListbox
t:selectOneMenu
t:selectOneRadio
t:stylesheet
t:swapImage
t:tabChangeListener
t:tree
t:tree2
t:treeCheckbox
t:treeColumn
t:treeSelectionListener
t:updateActionListener
t:validateCreditCard
t:validateEmail
t:validateEqual
t:validateRegExpr
Core Tags
f:actionListener
f:attribute
f:converter
f:convertDateTime
f:convertNumber
f:facet
f:loadBundle
f:param
f:selectitem
f:selectitems
f:subview
f:validateDoubleRange
f:validateLength
f:validateLongRange
f:validator
f:valueChangeListener
f:verbatim
f:view
HTML Tags
h:column
h:commandButton
h:commandLink
h:dataTable
h:form
h:graphicImage
h:inputHidden
h:inputSecret
h:inputText
h:inputTextarea
h:message
h:messages
h:outputFormat
h:outputLabel
h:outputLink
h:outputText
h:panelGrid
h:panelGroup
h:selectBooleanCheckbox
h:selectManyCheckbox
h:selectManyListbox
h:selectManyMenu
h:selectOneListbox
h:selectOneMenu
h:selectOneRadio
Tomahawk
t:aliasBean
t:aliasBeansScope
t:buffer
t:checkbox
t:collapsiblePanel
t:column
t:columns
t:commandButton
t:commandLink
t:commandNavigation
t:commandNavigation2
t:commandSortHeader
t:dataList
t:dataScroller
t:dataTable
t:div
t:document
t:documentBody
t:documentHead
t:dojoInitializer
t:graphicImage
t:headerLink
t:htmlTag
t:iconProvider
t:inputCalendar
t:inputDate
t:inputFileUpload
t:inputHidden
t:inputHtml
t:inputSecret
t:inputText
t:inputTextHelp
t:inputTextarea
t:jsValueChangeListener
t:jsValueSet
t:jscookMenu
t:message
t:messages
t:navigationMenuItem
t:navigationMenuItems
t:newspaperTable
t:outputLabel
t:outputText
t:panelGrid
t:panelGroup
t:panelLayout
t:panelNavigation
t:panelNavigation2
t:panelStack
t:panelTab
t:panelTabbedPane
t:popup
t:radio
t:saveState
t:schedule
t:selectBooleanCheckbox
t:selectItems
t:selectManyCheckbox
t:selectManyListbox
t:selectManyMenu
t:selectOneCountry
t:selectOneLanguage
t:selectOneListbox
t:selectOneMenu
t:selectOneRadio
t:stylesheet
t:swapImage
t:tabChangeListener
t:tree
t:tree2
t:treeCheckbox
t:treeColumn
t:treeSelectionListener
t:updateActionListener
t:validateCreditCard
t:validateEmail
t:validateEqual
t:validateRegExpr
Core Tags
f:actionListener
f:attribute
f:converter
f:convertDateTime
f:convertNumber
f:facet
f:loadBundle
f:param
f:selectitem
f:selectitems
f:subview
f:validateDoubleRange
f:validateLength
f:validateLongRange
f:validator
f:valueChangeListener
f:verbatim
f:view
HTML Tags
h:column
h:commandButton
h:commandLink
h:dataTable
h:form
h:graphicImage
h:inputHidden
h:inputSecret
h:inputText
h:inputTextarea
h:message
h:messages
h:outputFormat
h:outputLabel
h:outputLink
h:outputText
h:panelGrid
h:panelGroup
h:selectBooleanCheckbox
h:selectManyCheckbox
h:selectManyListbox
h:selectManyMenu
h:selectOneListbox
h:selectOneMenu
h:selectOneRadio

  ALSO SEE :

About Us | Our Mission | Terms of use | Author Terms |    Search        | Contact Us | Advertise With Us | Link to Us | Sitemap
Copyright © 2016 developersBOOK.COM. All rights reserved.