org.wicketstuff.jquery.datepicker
Class DatePickerBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.jquery.JQueryBehavior
org.wicketstuff.jquery.datepicker.DatePickerBehavior
- All Implemented Interfaces:
- Serializable, IBehaviorListener, IClusterable, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor
public class DatePickerBehavior
- extends JQueryBehavior
Add support of the datePicker.
- Author:
- David Bernard (dwayne)
- See Also:
- Serialized Form
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getChannel, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, throttleScript |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATE_JS
public static final ResourceReference DATE_JS
JQUERY_DATEPICKER_JS
public static final ResourceReference JQUERY_DATEPICKER_JS
DATEPICKER_CSS
public static final ResourceReference DATEPICKER_CSS
DatePickerBehavior
public DatePickerBehavior()
DatePickerBehavior
public DatePickerBehavior(DatePickerOptions options)
isIncludeJquery
public boolean isIncludeJquery()
setIncludeJquery
public void setIncludeJquery(boolean includeJquery)
renderHead
public void renderHead(Component component,
IHeaderResponse response)
- Specified by:
renderHead in interface IComponentAwareHeaderContributor- Overrides:
renderHead in class JQueryBehavior
getOnReadyScript
protected CharSequence getOnReadyScript()
- Description copied from class:
JQueryBehavior
- to be override by subclass if need to run script when dom is ready. The returned script is
wrapped by caller into <script> tag and the "$(document).ready(function(){...}"
- Overrides:
getOnReadyScript in class JQueryBehavior
- Returns:
- the script to execute when the dom is ready, or null (default)
onBind
protected void onBind()
- Overrides:
onBind in class AbstractDefaultAjaxBehavior
getDatePickerStyle
public Behavior getDatePickerStyle()
Copyright © 2013. All Rights Reserved.