public final class PluginRequestTarget extends Object implements org.apache.wicket.ajax.AjaxRequestTarget
AjaxRequestTarget
that filters the list of
Component
s that have been added.
This class used to handle the case that nested components were added to the request target. While necessary in Wicket-1.4.x, in Wicket-6, this is handled by the framework.
org.apache.wicket.ajax.AjaxRequestTarget.AbstractListener, org.apache.wicket.ajax.AjaxRequestTarget.IJavaScriptResponse, org.apache.wicket.ajax.AjaxRequestTarget.IListener, org.apache.wicket.ajax.AjaxRequestTarget.ITargetRespondListener
Constructor and Description |
---|
PluginRequestTarget(org.apache.wicket.ajax.AjaxRequestTarget upstream) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.wicket.Component... components)
Adds a component to this Ajax request, but only if it is still part of the page when this Ajax request
begins to respond.
|
void |
add(org.apache.wicket.Component component,
String markupId) |
void |
addChildren(org.apache.wicket.MarkupContainer parent,
Class<?> childCriteria) |
void |
addListener(org.apache.wicket.ajax.AjaxRequestTarget.IListener listener) |
void |
appendJavaScript(CharSequence javascript) |
void |
detach(org.apache.wicket.request.IRequestCycle requestCycle) |
boolean |
equals(Object obj) |
void |
focusComponent(org.apache.wicket.Component component) |
Collection<? extends org.apache.wicket.Component> |
getComponents() |
org.apache.wicket.markup.head.IHeaderResponse |
getHeaderResponse() |
String |
getLastFocusedElementId() |
org.apache.wicket.request.ILogData |
getLogData() |
org.apache.wicket.Page |
getPage() |
Class<? extends org.apache.wicket.request.component.IRequestablePage> |
getPageClass() |
Integer |
getPageId() |
org.apache.wicket.request.mapper.parameter.PageParameters |
getPageParameters() |
Integer |
getRenderCount() |
int |
hashCode() |
boolean |
isPageInstanceCreated() |
void |
prependJavaScript(CharSequence javascript) |
void |
registerRespondListener(org.apache.wicket.ajax.AjaxRequestTarget.ITargetRespondListener listener) |
void |
respond(org.apache.wicket.request.IRequestCycle requestCycle) |
public PluginRequestTarget(org.apache.wicket.ajax.AjaxRequestTarget upstream)
public void add(org.apache.wicket.Component component, String markupId)
add
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void add(org.apache.wicket.Component... components)
add
in interface org.apache.wicket.ajax.AjaxRequestTarget
components
- the components to addpublic void addChildren(org.apache.wicket.MarkupContainer parent, Class<?> childCriteria)
addChildren
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void addListener(org.apache.wicket.ajax.AjaxRequestTarget.IListener listener)
addListener
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void appendJavaScript(CharSequence javascript)
appendJavaScript
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void prependJavaScript(CharSequence javascript)
prependJavaScript
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void registerRespondListener(org.apache.wicket.ajax.AjaxRequestTarget.ITargetRespondListener listener)
registerRespondListener
in interface org.apache.wicket.ajax.AjaxRequestTarget
public Collection<? extends org.apache.wicket.Component> getComponents()
getComponents
in interface org.apache.wicket.ajax.AjaxRequestTarget
public void focusComponent(org.apache.wicket.Component component)
focusComponent
in interface org.apache.wicket.ajax.AjaxRequestTarget
public org.apache.wicket.markup.head.IHeaderResponse getHeaderResponse()
getHeaderResponse
in interface org.apache.wicket.ajax.AjaxRequestTarget
public String getLastFocusedElementId()
getLastFocusedElementId
in interface org.apache.wicket.ajax.AjaxRequestTarget
public org.apache.wicket.Page getPage()
getPage
in interface org.apache.wicket.ajax.AjaxRequestTarget
getPage
in interface org.apache.wicket.core.request.handler.IPageRequestHandler
public Integer getPageId()
getPageId
in interface org.apache.wicket.core.request.handler.IPageRequestHandler
public boolean isPageInstanceCreated()
isPageInstanceCreated
in interface org.apache.wicket.core.request.handler.IPageRequestHandler
public Integer getRenderCount()
getRenderCount
in interface org.apache.wicket.core.request.handler.IPageRequestHandler
public Class<? extends org.apache.wicket.request.component.IRequestablePage> getPageClass()
getPageClass
in interface org.apache.wicket.core.request.handler.IPageClassRequestHandler
public org.apache.wicket.request.mapper.parameter.PageParameters getPageParameters()
getPageParameters
in interface org.apache.wicket.core.request.handler.IPageClassRequestHandler
public void respond(org.apache.wicket.request.IRequestCycle requestCycle)
respond
in interface org.apache.wicket.request.IRequestHandler
public void detach(org.apache.wicket.request.IRequestCycle requestCycle)
detach
in interface org.apache.wicket.request.IRequestHandler
public org.apache.wicket.request.ILogData getLogData()
getLogData
in interface org.apache.wicket.request.ILoggableRequestHandler
Copyright © 2007–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.