Modifier and Type | Class and 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.
|
Modifier and Type | Method and Description |
---|---|
default void |
AjaxRequestTarget.IListener.onBeforeRespond(Map<String,Component> map,
AjaxRequestTarget target)
Triggered before ajax request target begins its response cycle
|
protected void |
AjaxClientInfoBehavior.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 event
|
protected void |
AjaxPreventSubmitBehavior.onEvent(AjaxRequestTarget target) |
protected void |
AjaxNewWindowNotifyingBehavior.onNewWindow(AjaxRequestTarget target)
A callback method 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 the respond.
|
protected void |
AjaxSelfUpdatingTimerBehavior.onTimer(AjaxRequestTarget target) |
protected void |
AjaxClientInfoBehavior.onTimer(AjaxRequestTarget target) |
protected abstract void |
AbstractAjaxTimerBehavior.onTimer(AjaxRequestTarget target)
Listener method for the AJAX timer event.
|
protected abstract void |
AbstractDefaultAjaxBehavior.respond(AjaxRequestTarget target) |
protected void |
AjaxEventBehavior.respond(AjaxRequestTarget target) |
protected void |
AjaxNewWindowNotifyingBehavior.respond(AjaxRequestTarget target) |
protected void |
AbstractAjaxTimerBehavior.respond(AjaxRequestTarget target) |
Modifier and Type | Method and Description |
---|---|
static AjaxClientInfoBehavior |
AjaxClientInfoBehavior.onClientInfo(org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxRequestTarget,WebClientInfo> onClientInfo)
Creates an
AjaxClientInfoBehavior based on lambda expressions |
static AjaxEventBehavior |
AjaxEventBehavior.onEvent(String eventName,
org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onEvent)
Creates an
AjaxEventBehavior based on lambda expressions |
static AjaxNewWindowNotifyingBehavior |
AjaxNewWindowNotifyingBehavior.onNewWindow(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onNewWindow)
Creates an
AjaxNewWindowNotifyingBehavior based on lambda expressions |
static AjaxSelfUpdatingTimerBehavior |
AjaxSelfUpdatingTimerBehavior.onSelfUpdate(Duration interval,
org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onTimer)
Creates an
AbstractAjaxTimerBehavior based on lambda expressions |
static AbstractAjaxTimerBehavior |
AbstractAjaxTimerBehavior.onTimer(Duration interval,
org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onTimer)
Creates an
AbstractAjaxTimerBehavior based on lambda expressions |
Modifier and Type | Method and Description |
---|---|
protected void |
AjaxFormValidatingBehavior.addFeedbackPanels(AjaxRequestTarget target)
Adds all feedback panels on the page to the ajax request target so they are updated
|
protected void |
AjaxFormValidatingBehavior.onAfterSubmit(AjaxRequestTarget target) |
protected void |
AjaxFormSubmitBehavior.onAfterSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
protected void |
AjaxFormValidatingBehavior.onError(AjaxRequestTarget target) |
protected void |
AjaxFormSubmitBehavior.onError(AjaxRequestTarget target)
Listener method invoked when the form has been processed and errors occurred
|
protected void |
AjaxFormComponentUpdatingBehavior.onError(AjaxRequestTarget target,
RuntimeException e)
Called to handle any error resulting from updating form component.
|
protected void |
AjaxFormComponentUpdatingBehavior.onEvent(AjaxRequestTarget target) |
protected void |
AjaxFormSubmitBehavior.onEvent(AjaxRequestTarget target) |
protected void |
AjaxFormValidatingBehavior.onSubmit(AjaxRequestTarget target) |
protected void |
AjaxFormSubmitBehavior.onSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
protected abstract void |
AjaxFormComponentUpdatingBehavior.onUpdate(AjaxRequestTarget target)
Listener invoked on the ajax request.
|
Modifier and Type | Method and Description |
---|---|
static OnChangeAjaxBehavior |
OnChangeAjaxBehavior.onChange(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onChange)
Creates an
OnChangeAjaxBehavior based on lambda expressions |
static AjaxFormSubmitBehavior |
AjaxFormSubmitBehavior.onSubmit(String eventName,
org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onSubmit)
Creates an
AjaxFormSubmitBehavior based on lambda expressions |
static AjaxFormComponentUpdatingBehavior |
AjaxFormComponentUpdatingBehavior.onUpdate(String eventName,
org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdate)
Creates an
AjaxFormComponentUpdatingBehavior based on lambda expressions |
static AjaxFormChoiceComponentUpdatingBehavior |
AjaxFormChoiceComponentUpdatingBehavior.onUpdateChoice(org.danekja.java.util.function.serializable.SerializableConsumer<AjaxRequestTarget> onUpdateChoice)
Creates an
AjaxFormChoiceComponentUpdatingBehavior based on lambda expressions |
Modifier and Type | Method and Description |
---|---|
void |
IAjaxLink.onClick(AjaxRequestTarget target)
Listener method invoked on the ajax request generated when the user clicks the link
|
abstract void |
AjaxLink.onClick(AjaxRequestTarget target)
Listener method invoked on the ajax request generated when the user clicks the link
|
Modifier and Type | Method and Description |
---|---|
abstract void |
AjaxFallbackLink.onClick(Optional<AjaxRequestTarget> target)
Callback for the onClick event.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AjaxSubmitLink.onAfterSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
protected void |
AjaxButton.onAfterSubmit(AjaxRequestTarget target)
Listener method invoked on form submit with no errors, after
Form.onSubmit() . |
protected void |
AjaxSubmitLink.onError(AjaxRequestTarget target)
Listener method invoked on form submit with errors.
|
protected void |
AjaxButton.onError(AjaxRequestTarget target)
Listener method invoked on form submit with errors
|
protected void |
AjaxSubmitLink.onSubmit(AjaxRequestTarget target)
Override this method to provide special submit handling in a multi-button form.
|
protected void |
AjaxButton.onSubmit(AjaxRequestTarget target)
Listener method invoked on form submit with no errors, before
Form.onSubmit() . |
protected abstract void |
AjaxCheckBox.onUpdate(AjaxRequestTarget target)
Listener method invoked on an ajax update call
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
AjaxRequestTarget |
DecoupledAjaxUpdatePage.CounterUpdate.getTarget() |
Constructor and Description |
---|
CounterUpdate(AjaxRequestTarget target)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
SelectableFolderContent.select(Foo foo,
AbstractTree<Foo> tree,
Optional<AjaxRequestTarget> targetOptional) |
protected void |
MultiSelectableFolderContent.toggle(Foo foo,
AbstractTree<Foo> tree,
Optional<AjaxRequestTarget> targetOptional) |
Modifier and Type | Method and Description |
---|---|
void |
AjaxDownloadBehavior.initiate(AjaxRequestTarget target)
Deprecated.
|
protected void |
AjaxDownloadBehavior.onBeforeDownload(AjaxRequestTarget target)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
AjaxEditableLabel.onCancel(AjaxRequestTarget target)
Invoked when the label is in edit mode, and received a cancel event.
|
protected void |
AjaxLazyLoadPanel.onComponentLoaded(Component component,
AjaxRequestTarget target)
Deprecated.
override
AjaxLazyLoadPanel.onContentLoaded(Component, Optional) instead - will be removed in Wicket 9 |
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 validate
|
protected 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractAutoCompleteBehavior.respond(AjaxRequestTarget target) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected void |
ModalWindow.CloseButtonBehavior.respond(AjaxRequestTarget target) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AjaxFallbackOrderByBorder.onAjaxClick(AjaxRequestTarget target) |
abstract void |
AjaxOrderByLink.onClick(AjaxRequestTarget target)
Callback method when an ajax click occurs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AjaxTabbedPanel.onAjaxUpdate(Optional<AjaxRequestTarget> target)
A template method that lets users add additional behavior when ajax update occurs.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CheckedFolder.onUpdate(AjaxRequestTarget target)
Hook method to be notified of an update of the checkbox.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Folder.onClick(Optional<AjaxRequestTarget> targetOptional)
Toggle the node's
AbstractTree.State on click. |
protected void |
StyledLinkLabel.onClick(Optional<AjaxRequestTarget> target)
Hook method to be notified of a click on the link.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeModelProvider.update(AbstractTree<T> tree,
AjaxRequestTarget target)
Call this method after all change to the wrapped
TreeModel being initiated via
AjaxRequestTarget . |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
RatingPanel.onRated(int rating,
Optional<AjaxRequestTarget> target)
Notification of a click on a rating star.
|
Modifier and Type | Method and Description |
---|---|
void |
FormComponent.updateAutoLabels(AjaxRequestTarget target)
Updates auto label css classes such as error/required during ajax updates when the labels may
not be directly repainted in the response.
|
void |
AutoLabelResolver.AutoLabelMarker.updateFrom(FormComponent<?> component,
AjaxRequestTarget target) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static FilesSelectedBehavior |
FilesSelectedBehavior.onSelected(org.danekja.java.util.function.serializable.SerializableBiConsumer<AjaxRequestTarget,List<FileDescription>> select)
Creates an
FilesSelectedBehavior based on lambda expressions |
Modifier and Type | Method and Description |
---|---|
AjaxRequestTarget |
WebApplication.newAjaxRequestTarget(Page page)
Creates a new ajax request target used to control ajax responses
|
Modifier and Type | Method and Description |
---|---|
Function<Page,AjaxRequestTarget> |
WebApplication.getAjaxRequestTargetProvider()
Returns the provider for
AjaxRequestTarget objects. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Application |
WebApplication.setAjaxRequestTargetProvider(Function<Page,AjaxRequestTarget> ajaxRequestTargetProvider)
Sets the provider for
AjaxRequestTarget objects. |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.