Uses of Interface
org.apache.wicket.ajax.AjaxRequestTarget
-
-
Uses of AjaxRequestTarget in org.apache.wicket.ajax
Classes in org.apache.wicket.ajax that implement AjaxRequestTarget Modifier and Type Class Description class
AjaxRequestHandler
A request target that produces ajax response envelopes used on the client side to update component markup as well as evaluate arbitrary javascript.Methods in org.apache.wicket.ajax with parameters of type AjaxRequestTarget Modifier and Type Method Description default void
AjaxRequestTarget.IListener. onAfterRespond(Map<String,Component> map, AjaxRequestTarget target)
Triggered after the target has written components.default void
AjaxRequestTarget.IListener. onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
Triggered before the target begins writing components.protected void
AjaxClientInfoBehavior. onClientInfo(AjaxRequestTarget target, WebClientInfo clientInfo)
A callback method invoked when the client info is collected.protected void
AjaxOnDomReadyClientInfoBehavior. onClientInfo(AjaxRequestTarget target, WebClientInfo clientInfo)
A callback method invoked when the client info is collected.protected abstract void
AjaxEventBehavior. onEvent(AjaxRequestTarget target)
Listener method for the ajax eventprotected void
AjaxPreventSubmitBehavior. onEvent(AjaxRequestTarget target)
protected void
AjaxNewWindowNotifyingBehavior. onNewWindow(AjaxRequestTarget target)
A callback method that is called when a new window/tab is opened for a page instance which is already opened in another window/tab.protected void
AjaxSelfUpdatingTimerBehavior. onPostProcessTarget(AjaxRequestTarget target)
Give the subclass a chance to add something to the target, like a javascript effect call.void
AjaxRequestTarget.ITargetRespondListener. onTargetRespond(AjaxRequestTarget target)
Invoked when AjaxRequestTarget is about to respond.protected abstract void
AbstractAjaxTimerBehavior. onTimer(AjaxRequestTarget target)
Listener method for the AJAX timer event.protected void
AjaxClientInfoBehavior. onTimer(AjaxRequestTarget target)
protected void
AjaxSelfUpdatingTimerBehavior. onTimer(AjaxRequestTarget target)
protected void
AbstractAjaxTimerBehavior. respond(AjaxRequestTarget target)
protected abstract void
AbstractDefaultAjaxBehavior. respond(AjaxRequestTarget target)
protected void
AjaxEventBehavior. respond(AjaxRequestTarget target)
protected void
AjaxNewWindowNotifyingBehavior. respond(AjaxRequestTarget target)
protected void
AjaxOnDomReadyClientInfoBehavior. respond(AjaxRequestTarget target)
Method parameters in org.apache.wicket.ajax with type arguments of type AjaxRequestTarget Modifier and Type Method Description static void
AjaxUtils. executeIfAjax(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> ajaxAction)
Runs action if current request is of type "AJAX".static AjaxClientInfoBehavior
AjaxClientInfoBehavior. onClientInfo(org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxRequestTarget,WebClientInfo> onClientInfo)
Creates anAjaxClientInfoBehavior
based on lambda expressionsstatic AjaxOnDomReadyClientInfoBehavior
AjaxOnDomReadyClientInfoBehavior. onClientInfo(org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxRequestTarget,WebClientInfo> onClientInfo)
Creates anAjaxOnDomReadyClientInfoBehavior
based on lambda expressionsstatic AjaxEventBehavior
AjaxEventBehavior. onEvent(String eventName, org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onEvent)
Creates anAjaxEventBehavior
based on lambda expressionsstatic AjaxNewWindowNotifyingBehavior
AjaxNewWindowNotifyingBehavior. onNewWindow(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onNewWindow)
Creates anAjaxNewWindowNotifyingBehavior
based on lambda expressionsstatic AjaxSelfUpdatingTimerBehavior
AjaxSelfUpdatingTimerBehavior. onSelfUpdate(Duration interval, org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onTimer)
Creates anAbstractAjaxTimerBehavior
based on lambda expressionsstatic AbstractAjaxTimerBehavior
AbstractAjaxTimerBehavior. onTimer(Duration interval, org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onTimer)
Creates anAbstractAjaxTimerBehavior
based on lambda expressions -
Uses of AjaxRequestTarget in org.apache.wicket.ajax.form
Methods in org.apache.wicket.ajax.form with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxFormValidatingBehavior. addFeedbackPanels(AjaxRequestTarget target)
Adds all feedback panels on the page to the ajax request target so they are updatedprotected void
AjaxFormSubmitBehavior. onAfterSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.protected void
AjaxFormValidatingBehavior. onAfterSubmit(AjaxRequestTarget target)
protected void
AjaxFormComponentUpdatingBehavior. onError(AjaxRequestTarget target, RuntimeException e)
Called to handle any error resulting from updating form component.protected void
AjaxFormSubmitBehavior. onError(AjaxRequestTarget target)
Listener method invoked when the form has been processed and errors occurredprotected void
AjaxFormValidatingBehavior. onError(AjaxRequestTarget target)
protected void
AjaxFormComponentUpdatingBehavior. onEvent(AjaxRequestTarget target)
protected void
AjaxFormSubmitBehavior. onEvent(AjaxRequestTarget target)
protected void
AjaxFormSubmitBehavior. onSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.protected void
AjaxFormValidatingBehavior. onSubmit(AjaxRequestTarget target)
protected abstract void
AjaxFormComponentUpdatingBehavior. onUpdate(AjaxRequestTarget target)
Listener invoked on the ajax request.Method parameters in org.apache.wicket.ajax.form with type arguments of type AjaxRequestTarget Modifier and Type Method Description static OnChangeAjaxBehavior
OnChangeAjaxBehavior. onChange(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onChange)
Creates anOnChangeAjaxBehavior
based on lambda expressionsstatic AjaxFormSubmitBehavior
AjaxFormSubmitBehavior. onSubmit(String eventName, org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onSubmit)
Creates anAjaxFormSubmitBehavior
based on lambda expressionsstatic AjaxFormComponentUpdatingBehavior
AjaxFormComponentUpdatingBehavior. onUpdate(String eventName, org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdate)
Creates anAjaxFormComponentUpdatingBehavior
based on lambda expressionsstatic AjaxFormChoiceComponentUpdatingBehavior
AjaxFormChoiceComponentUpdatingBehavior. onUpdateChoice(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdateChoice)
Creates anAjaxFormChoiceComponentUpdatingBehavior
based on lambda expressions -
Uses of AjaxRequestTarget in org.apache.wicket.ajax.markup.html
Methods in org.apache.wicket.ajax.markup.html with parameters of type AjaxRequestTarget Modifier and Type Method Description abstract void
AjaxLink. onClick(AjaxRequestTarget target)
Listener method invoked on the ajax request generated when the user clicks the linkvoid
IAjaxLink. onClick(AjaxRequestTarget target)
Listener method invoked on the ajax request generated when the user clicks the linkMethod parameters in org.apache.wicket.ajax.markup.html with type arguments of type AjaxRequestTarget Modifier and Type Method Description abstract void
AjaxFallbackLink. onClick(Optional<AjaxRequestTarget> target)
Callback for the onClick event. -
Uses of AjaxRequestTarget in org.apache.wicket.ajax.markup.html.form
Methods in org.apache.wicket.ajax.markup.html.form with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxButton. onAfterSubmit(AjaxRequestTarget target)
Listener method invoked on form submit with no errors, afterForm.onSubmit()
.protected void
AjaxSubmitLink. onAfterSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.protected void
AjaxButton. onError(AjaxRequestTarget target)
Listener method invoked on form submit with errorsprotected void
AjaxSubmitLink. onError(AjaxRequestTarget target)
Listener method invoked on form submit with errors.protected void
AjaxButton. onSubmit(AjaxRequestTarget target)
Listener method invoked on form submit with no errors, beforeForm.onSubmit()
.protected void
AjaxSubmitLink. onSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.protected abstract void
AjaxCheckBox. onUpdate(AjaxRequestTarget target)
Listener method invoked on an ajax update callMethod parameters in org.apache.wicket.ajax.markup.html.form with type arguments of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxFallbackButton. onAfterSubmit(Optional<AjaxRequestTarget> target)
Callback for the onClick event.protected void
AjaxFallbackButton. onError(Optional<AjaxRequestTarget> target)
Listener method invoked on form submit with errors.protected void
AjaxFallbackButton. onSubmit(Optional<AjaxRequestTarget> target)
Callback for the onClick event. -
Uses of AjaxRequestTarget in org.apache.wicket.ajax.markup.html.navigation.paging
Methods in org.apache.wicket.ajax.markup.html.navigation.paging with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxPagingNavigator. onAjaxEvent(AjaxRequestTarget target)
Override this method to specify the markup container where your IPageable is part of.void
AjaxPagingNavigationIncrementLink. onClick(AjaxRequestTarget target)
Performs the actual action of this component, performing a non-ajax fallback when there was no AjaxRequestTarget available.void
AjaxPagingNavigationLink. onClick(AjaxRequestTarget target)
Performs the actual action of this component, performing a non-ajax fallback when there was no AjaxRequestTarget available.protected void
AjaxPagingNavigationBehavior. onEvent(AjaxRequestTarget target)
The ajax event handler. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax
Methods in org.apache.wicket.extensions.ajax with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxDownloadBehavior. onDownloadCompleted(AjaxRequestTarget target)
A callback executed when the download of the resource finished successfully or with a failure.protected void
AjaxDownloadBehavior. onDownloadFailed(AjaxRequestTarget target)
A callback executed when the download of the resource failed for some reason, e.g.protected void
AjaxDownloadBehavior. onDownloadSuccess(AjaxRequestTarget target)
A callback executed when the download of the resource finished successfully.protected void
AjaxFileDropBehavior. onError(AjaxRequestTarget target, org.apache.commons.fileupload.FileUploadException fux)
Hook method called to handle any error during uploading of the file.protected void
AjaxFileDropBehavior. onEvent(AjaxRequestTarget target)
protected void
AjaxFileDropBehavior. onFileUpload(AjaxRequestTarget target, List<FileUpload> files)
Hook method called after a file was uploaded.protected void
AjaxDownloadBehavior. respond(AjaxRequestTarget target)
-
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html
Methods in org.apache.wicket.extensions.ajax.markup.html with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxEditableLabel. onCancel(AjaxRequestTarget target)
Invoked when the label is in edit mode, and received a cancel event.void
AjaxEditableLabel. onEdit(AjaxRequestTarget target)
Called when the label is clicked and the component is put in edit mode.protected void
AjaxEditableLabel. onError(AjaxRequestTarget target)
Invoked when the label is in edit mode, received a new input, but that input didn't validateprotected void
AjaxEditableLabel.LabelAjaxBehavior. onEvent(AjaxRequestTarget target)
protected void
AjaxEditableLabel. onSubmit(AjaxRequestTarget target)
Invoked when the editor was successfully updated.protected void
AjaxEditableLabel.EditorAjaxBehavior. respond(AjaxRequestTarget target)
Method parameters in org.apache.wicket.extensions.ajax.markup.html with type arguments of type AjaxRequestTarget Modifier and Type Method Description static <T> IndicatingAjaxLink<T>
IndicatingAjaxLink. onClick(String id, org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxLink<T>,AjaxRequestTarget> onClick)
protected void
AjaxLazyLoadPanel. onContentLoaded(T content, Optional<AjaxRequestTarget> target)
Called after the loading component was replaced with the lazy loaded content.static IndicatingAjaxButton
IndicatingAjaxButton. onSubmit(String id, org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxButton,AjaxRequestTarget> onSubmit)
-
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html.autocomplete
Methods in org.apache.wicket.extensions.ajax.markup.html.autocomplete with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
AbstractAutoCompleteBehavior. respond(AjaxRequestTarget target)
-
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html.modal
Methods in org.apache.wicket.extensions.ajax.markup.html.modal with parameters of type AjaxRequestTarget Modifier and Type Method Description ModalDialog
ModalDialog. close(AjaxRequestTarget target)
Close this dialog.void
ModalWindow.WindowClosedCallback. onClose(AjaxRequestTarget target)
Called after the window has been closed.boolean
ModalWindow.CloseButtonCallback. onCloseButtonClicked(AjaxRequestTarget target)
Methods invoked after the button has been clicked.ModalDialog
ModalDialog. open(AjaxRequestTarget target)
Open the dialog.ModalDialog
ModalDialog. open(Component content, AjaxRequestTarget target)
Open the dialog with a content.protected void
ModalWindow.CloseButtonBehavior. respond(AjaxRequestTarget target)
-
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html.repeater
Methods in org.apache.wicket.extensions.ajax.markup.html.repeater with parameters of type AjaxRequestTarget Modifier and Type Method Description <T extends Component>
TAjaxListPanel. append(T component, AjaxRequestTarget target)
Append a component.<T extends Component>
TAjaxListPanel. delete(T component, AjaxRequestTarget target)
Delete a component. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html.repeater.data.sort
Methods in org.apache.wicket.extensions.ajax.markup.html.repeater.data.sort with parameters of type AjaxRequestTarget Modifier and Type Method Description protected abstract void
AjaxFallbackOrderByBorder. onAjaxClick(AjaxRequestTarget target)
abstract void
AjaxOrderByLink. onClick(AjaxRequestTarget target)
Callback method when an ajax click occurs. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.ajax.markup.html.tabs
Method parameters in org.apache.wicket.extensions.ajax.markup.html.tabs with type arguments of type AjaxRequestTarget Modifier and Type Method Description protected void
AjaxTabbedPanel. onAjaxUpdate(Optional<AjaxRequestTarget> target)
A template method that lets users add additional behavior when ajax update occurs. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.markup.html.repeater.tree.content
Methods in org.apache.wicket.extensions.markup.html.repeater.tree.content with parameters of type AjaxRequestTarget Modifier and Type Method Description protected void
CheckedFolder. onUpdate(AjaxRequestTarget target)
Hook method to be notified of an update of the checkbox.Method parameters in org.apache.wicket.extensions.markup.html.repeater.tree.content with type arguments of type AjaxRequestTarget Modifier and Type Method Description protected void
Folder. onClick(Optional<AjaxRequestTarget> targetOptional)
Toggle the node'sAbstractTree.State
on click.protected void
StyledLinkLabel. onClick(Optional<AjaxRequestTarget> target)
Hook method to be notified of a click on the link. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.markup.html.repeater.util
Methods in org.apache.wicket.extensions.markup.html.repeater.util with parameters of type AjaxRequestTarget Modifier and Type Method Description void
TreeModelProvider. update(AbstractTree<T> tree, AjaxRequestTarget target)
Call this method after all change to the wrappedTreeModel
being initiated viaAjaxRequestTarget
. -
Uses of AjaxRequestTarget in org.apache.wicket.extensions.rating
Method parameters in org.apache.wicket.extensions.rating with type arguments of type AjaxRequestTarget Modifier and Type Method Description protected abstract void
RatingPanel. onRated(int rating, Optional<AjaxRequestTarget> target)
Notification of a click on a rating star. -
Uses of AjaxRequestTarget in org.apache.wicket.markup.html.form
Methods in org.apache.wicket.markup.html.form with parameters of type AjaxRequestTarget Modifier and Type Method Description void
FormComponent. updateAutoLabels(AjaxRequestTarget target)
Deprecated, for removal: This API element is subject to removal in a future version.method in favor of the one receivingIPartialPageRequestHandler
void
AutoLabelResolver.AutoLabelMarker. updateFrom(FormComponent<?> component, AjaxRequestTarget target)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of AjaxRequestTarget in org.apache.wicket.markup.html.form.upload
Methods in org.apache.wicket.markup.html.form.upload with parameters of type AjaxRequestTarget Modifier and Type Method Description protected abstract void
FilesSelectedBehavior. onSelected(AjaxRequestTarget target, List<FileDescription> fileDescriptions)
Called when a file, at client side is selected.protected void
FilesSelectedBehavior. onUpdate(AjaxRequestTarget target)
Method parameters in org.apache.wicket.markup.html.form.upload with type arguments of type AjaxRequestTarget Modifier and Type Method Description static FilesSelectedBehavior
FilesSelectedBehavior. onSelected(org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxRequestTarget,List<FileDescription>> select)
Creates anFilesSelectedBehavior
based on lambda expressions -
Uses of AjaxRequestTarget in org.apache.wicket.protocol.http
Methods in org.apache.wicket.protocol.http that return AjaxRequestTarget Modifier and Type Method Description AjaxRequestTarget
WebApplication. newAjaxRequestTarget(Page page)
Creates a new ajax request target used to control ajax responsesMethods in org.apache.wicket.protocol.http that return types with arguments of type AjaxRequestTarget Modifier and Type Method Description Function<Page,AjaxRequestTarget>
WebApplication. getAjaxRequestTargetProvider()
Returns the provider forAjaxRequestTarget
objects.Methods in org.apache.wicket.protocol.http with parameters of type AjaxRequestTarget Modifier and Type Method Description void
MultipartFormComponentListener. onAfterRespond(Map<String,Component> map, AjaxRequestTarget target)
void
AjaxEnclosureListener. onBeforeRespond(Map<String,Component> map, AjaxRequestTarget target)
Try to find Enclosures that have their controllers added already, and add them to the target.Method parameters in org.apache.wicket.protocol.http with type arguments of type AjaxRequestTarget Modifier and Type Method Description Application
WebApplication. setAjaxRequestTargetProvider(Function<Page,AjaxRequestTarget> ajaxRequestTargetProvider)
Sets the provider forAjaxRequestTarget
objects.
-