Module wicket.bootstrap.core
Class BootstrapAjaxPagingNavigationBehavior
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.apache.wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigationBehavior
de.agilecoders.wicket.core.markup.html.bootstrap.navigation.ajax.BootstrapAjaxPagingNavigationBehavior
- All Implemented Interfaces:
Serializable,IComponentAwareEventSink,IRequestListener,IComponentAwareHeaderContributor,IClusterable
A specialization of AjaxPagingNavigationBehavior that expects to have parent of type
BootstrapAjaxPagingNavigator- See Also:
-
Field Summary
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR -
Constructor Summary
ConstructorsConstructorDescriptionBootstrapAjaxPagingNavigationBehavior(IAjaxLink owner, IPageable pageable, String event) Attaches the navigation behavior to the owner link and drives the pageable component. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonEvent(AjaxRequestTarget target) The ajax event handler.protected voidupdateAjaxAttributes(AjaxRequestAttributes attributes) Methods inherited from class org.apache.wicket.ajax.markup.html.navigation.paging.AjaxPagingNavigationBehavior
onComponentTagMethods inherited from class org.apache.wicket.ajax.AjaxEventBehavior
getEvent, onEvent, renderHead, respondMethods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onBind, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesMethods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onUnbind, unbindMethods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
Constructor Details
-
Method Details
-
updateAjaxAttributes
- Overrides:
updateAjaxAttributesin classAjaxEventBehavior
-
onEvent
The ajax event handler. This will execute the event, and update the following components, when present: the navigator the owner link is part of, or when the link is a stand alone component, the link itself. Also the pageable's parent markup container is updated, so its contents can be replaced with the newly generated pageable.- Overrides:
onEventin classAjaxPagingNavigationBehavior- See Also:
-