Uses of Class
org.apache.wicket.Component
Package
Description
The core Wicket package.
Contains classes that allow the user to specify authorization constraints
via IAuthorizationStrategy.
This package integrates bean validation framework into Wicket.
String utilities.
Classes that make debugging Wicket HTML applications easier.
Package for working with bread crumb components.
This package contains a panel based implementation of bread crumb participants.
Basic extensions.
Package for exporting data tables.
Package for working with tab panels.
Package for working with Wizard components.
Classes related to showing user feedback, generally as the
result of form submission and/or validation.
Base package for markup.
Base package of HTML markup.
Basic HTML components.
Border components.
HTML Forms and form components.
Support for upload forms (using multipart requests).
Support for form validation.
Image components.
Resource support for image components.
Components for including content from non-Wicket sources.
Link components.
List components for tabular data and such.
Default special purpose pages for error and feedback support.
Panel components.
Default parsing extensions.
Resolvers implement the
IComponentResolver
interface and must be registered with the
application.Transformers are able to post-process (transform) the output generated by a Component.
Core model support for Wicket components.
HTTP implementation.
This package contains all the classes to make your wicket components and other pojos @SpringBean annotation aware.
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
This package provides interfaces for Wicket's
validation support.
This package provides an implementation of Wicket's
validation support.
-
Uses of Component in org.apache.wicket
Modifier and TypeClassDescriptionclass
A MarkupContainer holds a map of child components.class
Abstract base class for pages.Modifier and TypeMethodDescriptionfinal <S extends Component,
R>
RMarkupContainer.visitChildren
(Class<?> clazz, IVisitor<S, R> visitor) Traverses all child components of the given class in this container, calling the visitor's visit method at each one.Modifier and TypeMethodDescriptionAdds a behavior modifier to the component.protected Component
MarkupContainer.findChildComponent
(ComponentTag tag) Search the child component for the given tag.DequeueContext.findComponentToDequeue
(ComponentTag tag) Searches the container stack for a component that can be dequeudeMarkupContainer.findComponentToDequeue
(ComponentTag tag) Queries this container to find a child that can be dequeued that matches the specified tag.Gets the component at the given path.final Component
Get a child component by looking it up with the given path.Removes behavior from componentComponent.replaceWith
(Component replacement) Replaces this component with another.protected final Component
Component.setAuto
(boolean auto) Component.setDefaultModel
(IModel<?> model) Sets the given model.IGenericComponent.setDefaultModel
(IModel<?> model) final Component
Component.setDefaultModelObject
(Object object) Sets the backing model object.IGenericComponent.setDefaultModelObject
(Object object) final Component
Component.setEnabled
(boolean enabled) Sets whether this component is enabled.final Component
Component.setEscapeModelStrings
(boolean escapeMarkup) Sets whether model strings should be escaped.protected final Component
Component.setFlag
(int flag, boolean set) THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.protected final Component
Component.setIgnoreAttributeModifier
(boolean ignore) If true, all attribute modifiers will be ignoredfinal Component
Component.setMarkup
(IMarkupFragment markup) Set the markup for the component.Component.setMarkupId
(String markupId) Sets this component's markup id to a user defined value.final <M extends Serializable>
ComponentComponent.setMetaData
(MetaDataKey<M> key, M object) Sets the metadata for this component using the given key.final Component
Component.setOutputMarkupId
(boolean output) Sets whether or not component will output id attribute into the markup.final Component
Component.setOutputMarkupPlaceholderTag
(boolean outputTag) Render a placeholder tag when the component is not visible.final Component
Component.setRenderBodyOnly
(boolean renderTag) If false the component's tag will be printed as well as its body (which is default).Component.setVersioned
(boolean versioned) final Component
Component.setVisibilityAllowed
(boolean allowed) Sets whether or not this component is allowed to be visible.final Component
Component.setVisible
(boolean visible) Sets whether this component and any children are visible.Modifier and TypeMethodDescriptionMarkupContainer.iterator()
Gives an iterator that allow you to iterate through the children of this markup container in the order the children were added.MarkupContainer.iterator
(Comparator<Component> comparator) Creates an iterator that iterates over children in the order specified by comparator.MarkupContainer.stream()
Returns a sequentialStream
with the direct children of this markup container as its source.MarkupContainer.streamChildren()
Returns a sequentialStream
with the all children of this markup container as its source.Modifier and TypeMethodDescriptionAdds the child component(s) to this container.protected void
MarkupContainer.addDequeuedComponent
(Component component, ComponentTag tag) Adds a dequeued component to this container.MarkupContainer.addOrReplace
(Component... children) Replaces a child component of this container with another or just adds it in case no child with the same id existed yet.final boolean
MarkupContainer.autoAdd
(Component component, MarkupStream markupStream) This method allows a component to be added by an auto-resolver such as AutoLinkResolver.protected void
Component.checkHierarchyChange
(Component component) Checks whether the hierarchy may be changed at all, and throws an exception if this is not the case.protected void
Page.componentChanged
(Component component, MarkupContainer parent) This method will be called for all components that are changed on the page So also auto components or components that are not versioned.final void
Page.componentRendered
(Component component) Adds a component to the set of rendered components.boolean
final void
Detach the value if it was aIDetachable
.void
IEventDispatcher.dispatchEvent
(Object sink, IEvent<?> event, Component component) Dispatches the even to the target componentstatic ChildToDequeueType
DefaultMarkupIdGenerator.generateMarkupId
(Component component, boolean createIfDoesNotExist) IMarkupIdGenerator.generateMarkupId
(Component component, boolean createIfDoesNotExist) Generates markup id for the given componentprotected String
Localizer.getCacheKey
(String key, Component component, Locale locale, String style, String variation) Gets the cache keyGet the markup of the child.Localizer.getString
(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue) Get the localized string using all of the supplied parameters.Localizer.getString
(String key, Component component, IModel<?> model, Locale locale, String style, IModel<String> defaultValue) Get the localized string using all of the supplied parameters.Localizer.getStringIgnoreSettings
(String key, Component component, IModel<?> model, String defaultValue) Localizer.getStringIgnoreSettings
(String key, Component component, IModel<?> model, Locale locale, String style, String defaultValue) This is similar toLocalizer.getString(String, Component, IModel, String)
except that the resource settings are ignored.void
MarkupContainer.internalAdd
(Component child) THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.final void
AttributeModifier.onComponentTag
(Component component, ComponentTag tag) default void
Called when component is being detached via a call todetach()
.void
Called when an event is sent to this behavior sinkQueues one or more components to be dequeued later.Removes a component from the children identified by thecomponent.getId()
Replaces a child component of this container with anotherfinal void
AttributeModifier.replaceAttributeValue
(Component component, ComponentTag tag) Checks the given component tag for an instance of the attribute to modify and if all criteria are met then replace the value of this attribute with the value of the contained model object.Component.replaceWith
(Component replacement) Replaces this component with another.final boolean
Component.sameInnermostModel
(Component component) Localizer.substitutePropertyExpressions
(Component component, String string, IModel<?> model) Helper method to handle property variable substitution in strings.final boolean
Page.wasRendered
(Component component) THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.Modifier and TypeMethodDescriptionMarkupContainer.iterator
(Comparator<Component> comparator) Creates an iterator that iterates over children in the order specified by comparator.final <R> R
MarkupContainer.visitChildren
(IVisitor<Component, R> visitor) Traverses all child components in this container, calling the visitor's visit method at each one. -
Uses of Component in org.apache.wicket.ajax
Modifier and TypeMethodDescriptionfinal Collection<? extends Component>
AjaxRequestHandler.getComponents()
Modifier and TypeMethodDescriptionIAjaxRegionMarkupIdProvider.getAjaxRegionMarkupId
(Component component) CancelEventIfAjaxListener.getBeforeHandler
(Component component) protected CharSequence
AbstractDefaultAjaxBehavior.getCallbackScript
(Component component) void
protected void
AbstractDefaultAjaxBehavior.postprocessConfiguration
(com.github.openjson.JSONObject attributesJson, Component component) Gives a chance to modify the JSON attributesJson that is going to be used as attributes for the Ajax call.protected final CharSequence
AbstractDefaultAjaxBehavior.renderAjaxAttributes
(Component component) { u: 'editable-label?6-1.IBehaviorListener.0-text1-label', // url m: 'POST', // method name.protected final CharSequence
AbstractDefaultAjaxBehavior.renderAjaxAttributes
(Component component, AjaxRequestAttributes attributes) void
AbstractAjaxTimerBehavior.renderHead
(Component component, IHeaderResponse response) void
AbstractDefaultAjaxBehavior.renderHead
(Component component, IHeaderResponse response) void
AjaxClientInfoBehavior.renderHead
(Component component, IHeaderResponse response) void
AjaxEventBehavior.renderHead
(Component component, IHeaderResponse response) void
AjaxNewWindowNotifyingBehavior.renderHead
(Component component, IHeaderResponse response) Overridden to initiate a request once the page was rendered.void
AjaxOnDomReadyClientInfoBehavior.renderHead
(Component component, IHeaderResponse response) Modifier and TypeMethodDescriptiondefault 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. -
Uses of Component in org.apache.wicket.ajax.attributes
Modifier and TypeMethodDescriptionAjaxCallListener.getAfterHandler
(Component component) default CharSequence
IAjaxCallListener.getAfterHandler
(Component component) The JavaScript that will be executed after the Ajax call.AjaxCallListener.getBeforeHandler
(Component component) default CharSequence
IAjaxCallListener.getBeforeHandler
(Component component) The JavaScript that will be executed before the Ajax call, as early as possible.AjaxCallListener.getBeforeSendHandler
(Component component) default CharSequence
IAjaxCallListener.getBeforeSendHandler
(Component component) The JavaScript that will be executed right before the execution of the the Ajax call, only if all preconditions pass.AjaxCallListener.getCompleteHandler
(Component component) default CharSequence
IAjaxCallListener.getCompleteHandler
(Component component) The JavaScript that will be executed after both successful and unsuccessful return of the Ajax call.AjaxCallListener.getDoneHandler
(Component component) default CharSequence
IAjaxCallListener.getDoneHandler
(Component component) The JavaScript that will be executed after the Ajax call is done, regardless whether it was sent or not.AjaxCallListener.getFailureHandler
(Component component) default CharSequence
IAjaxCallListener.getFailureHandler
(Component component) The JavaScript that will be executed after unsuccessful return of the Ajax call.AjaxCallListener.getInitHandler
(Component component) default CharSequence
IAjaxCallListener.getInitHandler
(Component component) The JavaScript that will be executed on initialization of the Ajax call, immediately after the causing event.AjaxCallListener.getPrecondition
(Component component) default CharSequence
IAjaxCallListener.getPrecondition
(Component component) A JavaScript function that is invoked before the request is being executed.AjaxCallListener.getSuccessHandler
(Component component) default CharSequence
IAjaxCallListener.getSuccessHandler
(Component component) The JavaScript that will be executed after successful return of the Ajax call.void
AjaxCallListener.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.ajax.form
Modifier and TypeMethodDescriptionvoid
void
AjaxFormValidatingBehavior.onConfigure
(Component component) -
Uses of Component in org.apache.wicket.ajax.markup.html
Modifier and TypeClassDescriptionclass
An ajax link that will degrade to a normal request if ajax is not available or javascript is disabled.class
AjaxLink<T>
A component that allows a trigger request to be triggered via html anchor tag -
Uses of Component in org.apache.wicket.ajax.markup.html.form
Modifier and TypeClassDescriptionclass
A button that submits the form via Ajax.class
A CheckBox which is updated via ajax when the user changes its valueclass
An ajax submit button that will degrade to a normal request if ajax is not available or javascript is disabled.class
A link that submits a form via ajax. -
Uses of Component in org.apache.wicket.application
Modifier and TypeMethodDescriptionvoid
ComponentOnAfterRenderListenerCollection.onAfterRender
(Component component) void
IComponentOnAfterRenderListener.onAfterRender
(Component component) Called right after the component was rendered.void
ComponentOnBeforeRenderListenerCollection.onBeforeRender
(Component component) void
IComponentOnBeforeRenderListener.onBeforeRender
(Component component) Called when the component is about to be renderedvoid
IOnComponentTagListener.onComponentTag
(Component component, ComponentTag tag) Called before Component#onComponentTag(ComponentTag)void
OnComponentTagListenerCollection.onComponentTag
(Component component, ComponentTag tag) void
ComponentOnConfigureListenerCollection.onConfigure
(Component component) void
IComponentOnConfigureListener.onConfigure
(Component component) Called for every component after itsComponent#onConfigure()
andBehavior.onConfigure(org.apache.wicket.Component)
methods have been executed).void
ComponentInitializationListenerCollection.onInitialize
(Component component) void
IComponentInitializationListener.onInitialize
(Component component) Called for every component after its Component#onInitialize method has been executed.void
ComponentInstantiationListenerCollection.onInstantiation
(Component component) void
IComponentInstantiationListener.onInstantiation
(Component component) Called for every component that is instantiated. -
Uses of Component in org.apache.wicket.authorization
Modifier and TypeMethodDescriptionboolean
IAuthorizationStrategy.AllowAllAuthorizationStrategy.isActionAuthorized
(Component c, Action action) boolean
IAuthorizationStrategy.isActionAuthorized
(Component component, Action action) Gets whether the given action is permitted.void
IUnauthorizedComponentInstantiationListener.onUnauthorizedInstantiation
(Component component) Called when an unauthorized component instantiation is about to take place (but before it happens).ModifierConstructorDescriptionUnauthorizedActionException
(Component component, Action action) Construct. -
Uses of Component in org.apache.wicket.authorization.strategies
Modifier and TypeMethodDescriptionfinal boolean
CompoundAuthorizationStrategy.isActionAuthorized
(Component component, Action action) -
Uses of Component in org.apache.wicket.authorization.strategies.action
Modifier and TypeMethodDescriptionboolean
IActionAuthorizer.authorizeAction
(Component component) Gets whether this action is authorized.boolean
ActionAuthorizationStrategy.isActionAuthorized
(Component component, Action action) -
Uses of Component in org.apache.wicket.authroles.authentication
Modifier and TypeMethodDescriptionfinal void
AuthenticatedWebApplication.onUnauthorizedInstantiation
(Component component) protected void
AuthenticatedWebApplication.onUnauthorizedPage
(Component page) Called when an AUTHENTICATED user tries to navigate to a page that they are not authorized to access. -
Uses of Component in org.apache.wicket.authroles.authentication.pages
Modifier and TypeClassDescriptionclass
A base class which provide standard functionality for sign in.class
Simple sign out page. -
Uses of Component in org.apache.wicket.authroles.authentication.panel
Modifier and TypeClassDescriptionclass
Reusable user sign in panel with username and password as well as support for persistence of the both.final class
Sign in form. -
Uses of Component in org.apache.wicket.authroles.authorization.strategies.role.annotations
Modifier and TypeMethodDescriptionboolean
AnnotationsRoleAuthorizationStrategy.isActionAuthorized
(Component component, Action action) -
Uses of Component in org.apache.wicket.authroles.authorization.strategies.role.metadata
Modifier and TypeMethodDescriptionfinal <T extends Component>
voidGives the given role permission to instantiate the given class.static <T extends Component>
voidAuthorizes the given role to create component instances of type componentClass.final <T extends Component>
voidInstantiationPermissions.authorizeAll
(Class<T> componentClass) Gives all roles permission to instantiate the given class.static <T extends Component>
voidMetaDataRoleAuthorizationStrategy.authorizeAll
(Class<T> componentClass) Grants permission to all roles to create instances of the given component class.final <T extends Component>
voidInstantiationPermissions.unauthorize
(Class<T> componentClass, Roles rolesToRemove) Removes permission for the given role to instantiate the given class.static <T extends Component>
voidMetaDataRoleAuthorizationStrategy.unauthorize
(Class<T> componentClass, String roles) Removes permission for the given roles to create instances of the given component class.static <T extends Component>
voidMetaDataRoleAuthorizationStrategy.unauthorizeAll
(Class<T> componentClass) Grants authorization to instantiate the given class to just the role NO_ROLE, effectively denying all other roles.Modifier and TypeMethodDescriptionstatic void
Authorizes the given role to perform the given action on the given component.static void
MetaDataRoleAuthorizationStrategy.authorizeAll
(Component component, Action action) Grants permission to all roles to perform the given action on the given component.boolean
MetaDataRoleAuthorizationStrategy.isActionAuthorized
(Component component, Action action) Uses component level meta data to match roles for component action execution.static void
MetaDataRoleAuthorizationStrategy.unauthorize
(Component component, Action action, String roles) Removes permission for the given role to perform the given action on the given component.static void
MetaDataRoleAuthorizationStrategy.unauthorizeAll
(Component component, Action action) Grants authorization to perform the given action to just the role NO_ROLE, effectively denying all other roles. -
Uses of Component in org.apache.wicket.bean.validation
Modifier and TypeMethodDescriptionvoid
void
void
PropertyValidator.onComponentTag
(Component component, ComponentTag tag) void
PropertyValidator.onConfigure
(Component component) -
Uses of Component in org.apache.wicket.behavior
Modifier and TypeMethodDescriptionprotected final Component
AbstractAjaxBehavior.getComponent()
Gets the component that this handler is bound to.InvalidBehaviorIdException.getComponent()
Modifier and TypeMethodDescriptionfinal void
AbstractAjaxBehavior.afterRender
(Component hostComponent) void
Behavior.afterRender
(Component component) Called when a component that has this behavior coupled was rendered.void
Behavior.beforeRender
(Component component) Called when a component is about to render.final void
Bind this handler to the given component.void
Bind this handler to the given component.boolean
Behavior.canCallListener
(Component component) Checks whether or not anIRequestListener
can be invoked on this behavior.void
Allows the behavior to detach any state it has attached during request processing.boolean
Behavior.getStatelessHint
(Component component) This method returns false if the behavior generates a callback url (for example ajax behaviors)boolean
Called when a components is rendering and wants to render this behavior.boolean
Behavior.isTemporary
(Component component) Specifies whether or not this behavior is temporary.boolean
OutputMarkupContainerClassNameBehavior.isTemporary
(Component component) final void
AbstractAjaxBehavior.onComponentTag
(Component component, ComponentTag tag) void
Behavior.onComponentTag
(Component component, ComponentTag tag) Called any time a component that has this behavior registered is rendering the component tag.void
OutputMarkupContainerClassNameBehavior.onComponentTag
(Component component, ComponentTag tag) void
Behavior.onConfigure
(Component component) Called immediately after the onConfigure method in a component.void
Called to notify the behavior about any events sent to the componentvoid
Behavior.onException
(Component component, RuntimeException exception) In case an unexpected exception happened anywhere between Behavior.onComponentTag(org.apache.wicket.Component, org.apache.wicket.markup.ComponentTag) and Behavior.afterRender(org.apache.wicket.Component), onException() will be called for any behavior.void
Called to notify that the component is being removed from its parentvoid
Behavior.renderHead
(Component component, IHeaderResponse response) Render to the web response whatever the component wants to contribute to the head section.final void
void
Notifies the behavior it is removed from the specified componentModifier and TypeMethodDescriptionstatic Behavior
Behavior.onTag
(org.danekja.java.util.function.serializable.SerializableBiConsumer<Component, ComponentTag> onTagConsumer) Creates aBehavior
that uses the givenSerializableConsumer consumer
to do something with the component's tag.ModifierConstructorDescriptionInvalidBehaviorIdException
(Component component, int behaviorId) Constructor -
Uses of Component in org.apache.wicket.cdi
Modifier and TypeMethodDescriptionvoid
AutoConversationManager.onBeforeRender
(Component component) void
ConversationExpiryChecker.onBeforeRender
(Component component) -
Uses of Component in org.apache.wicket.core.request.handler
Modifier and TypeMethodDescriptionCollection<? extends Component>
IPartialPageRequestHandler.getComponents()
Returns an unmodifiable collection of all components added to this targetModifier and TypeMethodDescriptionfinal void
final void
void
Adds components to the list of components to be rendered.void
Adds a component to the list of components to be renderedfinal void
AbstractPartialPageRequestHandler.focusComponent
(Component component) void
IPartialPageRequestHandler.focusComponent
(Component component) Sets the focus in the browser to the given component.ModifierConstructorDescriptionComponentRenderingRequestHandler
(Component component) Construct.ListenerInvocationNotAllowedException
(Component component, Behavior behavior, String message) Constructor -
Uses of Component in org.apache.wicket.core.util.string
Modifier and TypeMethodDescriptionstatic CharSequence
ComponentRenderer.renderComponent
(Component component) Collects the Html generated by rendering a component.static String
Creates a location stacktrace string representation for the component for reference when the render check fails.Modifier and TypeMethodDescriptionComponentRenderer.renderComponent
(Supplier<Component> component) Collects the Html generated by rendering a component. -
Uses of Component in org.apache.wicket.devutils
Modifier and TypeClassDescriptionclass
All pages in the wicket-devutils package should extend this page so that they automatically get checked to make sure that the utilities are enabled in the application debug settings.class
All panels in the wicket-devutils package should extend this panel so that they automatically get checked to make sure that the utilities are enabled in the application debug settings. -
Uses of Component in org.apache.wicket.devutils.debugbar
Modifier and TypeClassDescriptionclass
The debug bar is for use during development.class
A panel that adds a link to the inspector to the debug bar.class
A panel that adds a link to persisted pages to the debug bar.class
A panel for the debug bar that shows the session size and links to the page that shows more information about sessions.class
A standard looking debug panel with an img (optional) and a string of data, and the whole thing is a link.Modifier and TypeMethodDescriptionIDebugBarContributor.createComponent
(String id, DebugBar debugBar) VersionDebugContributor.createComponent
(String id, DebugBar debugBar) -
Uses of Component in org.apache.wicket.devutils.inspector
Modifier and TypeClassDescriptionfinal class
A Wicket panel that shows interesting information about a given Wicket session.final class
EnhancedPageView
which displays allComponent
s andBehavior
s of aPage
in aTableTree
representation.final class
A page that shows interesting attributes of the Wicket environment, including the current session and the component tree for the current page.class
class
final class
A Wicket panel that shows interesting information about a given Wicket session.Modifier and TypeMethodDescriptionprotected boolean
Filters which components' render performance should be measured.void
RenderPerformanceListener.onInstantiation
(Component component) -
Uses of Component in org.apache.wicket.devutils.pagestore
Modifier and TypeClassDescriptionclass
A page that shows the attributes (id, name, size) of the pages stored in the data stores. -
Uses of Component in org.apache.wicket.devutils.pagestore.browser
Modifier and TypeClassDescriptionclass
A panel that shows data aboutIPersistedPage
s in anIPersistentPageStore
. -
Uses of Component in org.apache.wicket.devutils.stateless
Modifier and TypeMethodDescriptionStatelessCheckFailureException.getComponent()
Get check failure componentModifier and TypeMethodDescriptionprotected boolean
Returnstrue
if checker must check given component,false
otherwise.void
StatelessChecker.onBeforeRender
(Component component) ModifierConstructorDescriptionStatelessCheckFailureException
(Component component, String reason) Construct. -
Uses of Component in org.apache.wicket.extensions.ajax
Modifier and TypeMethodDescriptionprotected String
AjaxDisableComponentListener.generateHandlerJavaScript
(Component component, boolean disabled) Generate the proper enable/disable JavaScript code for the given component.AjaxDisableComponentListener.getBeforeHandler
(Component component) AjaxDisableComponentListener.getCompleteHandler
(Component component) AjaxDisableComponentListener.getFailureHandler
(Component component) void
AjaxDownloadBehavior.renderHead
(Component component, IHeaderResponse response) void
AjaxFileDropBehavior.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html
Modifier and TypeClassDescriptionclass
AjaxLazyLoadPanel<T extends Component>
A panel which load lazily a single content component.Modifier and TypeClassDescriptionclass
An inplace editor much likeAjaxEditableLabel
, but instead of aTextField
aDropDownChoice
is displayed.class
An implementation of ajaxified edit-in-place component using aTextField
as it's editor.class
An inplace editor much likeAjaxEditableLabel
, but now with support for multi line content and atext area
as its editor.class
AjaxLazyLoadPanel<T extends Component>
A panel which load lazily a single content component.class
A variant of theAjaxButton
that displays a busy indicator while the ajax request is in progress.class
A variant of theAjaxFallbackLink
that displays a busy indicator while the ajax request is in progress.class
A variant of theAjaxLink
that displays a busy indicator while the ajax request is in progress.Modifier and TypeMethodDescriptionprotected final Component
AjaxEditableLabel.getLabel()
Gets the label component.AjaxLazyLoadPanel.getLoadingComponent
(String id) Create a loading component shown instead of the actual content until it isAjaxLazyLoadPanel.isContentReady()
.protected Component
AjaxEditableChoiceLabel.newLabel
(MarkupContainer parent, String componentId, IModel<T> model) Create a new form component instance to serve as label.protected Component
AjaxEditableLabel.newLabel
(MarkupContainer parent, String componentId, IModel<T> model) Create a new form component instance to serve as label.Modifier and TypeMethodDescriptionvoid
AjaxIndicatorAppender.afterRender
(Component component) final void
void
AjaxEditableLabel.EditorAjaxBehavior.renderHead
(Component component, IHeaderResponse response) void
AjaxIndicatorAppender.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.autocomplete
Modifier and TypeClassDescriptionclass
An implementation of a textfield with the autoassist ajax behaviorAutoCompleteBehavior
.class
AnAutoCompleteTextField
which automatically includes the default CSS for the suggestions.Modifier and TypeMethodDescriptionvoid
void
AbstractAutoCompleteBehavior.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.form.upload
Modifier and TypeClassDescriptionclass
A panel to show the progress of an HTTP upload. -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.modal
Modifier and TypeMethodDescriptionModalDialog.open
(Component content, AjaxRequestTarget target) Open the dialog with a content.void
TrapFocusBehavior.renderHead
(Component component, IHeaderResponse response) void
ModalDialog.setContent
(Component content) Set a content. -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.modal.theme
Modifier and TypeMethodDescriptionvoid
DefaultTheme.onComponentTag
(Component component, ComponentTag tag) void
DefaultTheme.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.repeater
Modifier and TypeClassDescriptionclass
An panel for anAjax-ified list of components.Modifier and TypeMethodDescription<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 Component in org.apache.wicket.extensions.ajax.markup.html.repeater.data.sort
Modifier and TypeClassDescriptionclass
Ajaxified version ofOrderByBorder
class
AjaxifiedOrderByLink
-
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.repeater.data.table
Modifier and TypeClassDescriptionclass
An implementation of the DataTable that aims to solve the 90% usecase by adding navigation, headers, an no-records-found toolbars to a standardDataTable
.class
AjaxifiedHeadersToolbar
class
Toolbar that displays (Ajax) links used to navigate the pages of the datatable as well as a message about which rows are being displayed and their total number in the data table. -
Uses of Component in org.apache.wicket.extensions.ajax.markup.html.tabs
Modifier and TypeClassDescriptionclass
AjaxTabbedPanel<T extends ITab>
Ajaxified version of the tabbed panel. -
Uses of Component in org.apache.wicket.extensions.breadcrumb
Modifier and TypeClassDescriptionclass
A component that renders bread crumbs.protected class
List view for rendering the bread crumbs.class
A link that when clicked will set the the activebread crumb participant
to the one that is returned byBreadCrumbLink.getParticipant(String)
.Modifier and TypeMethodDescriptionIBreadCrumbParticipant.getComponent()
Gets the participating component.protected Component
BreadCrumbBar.newBreadCrumbComponent
(String id, long index, int total, IBreadCrumbParticipant breadCrumbParticipant) Creates a new bread crumb component. -
Uses of Component in org.apache.wicket.extensions.breadcrumb.panel
Modifier and TypeClassDescriptionclass
A panel that participates with abread crumb model
.class
Bread crumb link specifically forbread crumb panels
.Modifier and TypeMethodDescriptionBreadCrumbPanel.getComponent()
The participating component == this.BreadCrumbParticipantDelegate.getComponent()
-
Uses of Component in org.apache.wicket.extensions.captcha.kittens
Modifier and TypeClassDescriptionclass
A unique and fun-to-use captcha technique I developed at Thoof. -
Uses of Component in org.apache.wicket.extensions.markup.html.basic
Modifier and TypeClassDescriptionclass
If you have email addresses or web URLs in the data that you are displaying, then you can automatically display those pieces of data as hyperlinks, you will not have to take any action to convert that data.class
If you have email addresses or web URLs in the data that you are displaying, then you can automatically display those pieces of data as hyperlinks, you will not have to take any action to convert that data. -
Uses of Component in org.apache.wicket.extensions.markup.html.form
Modifier and TypeClassDescriptionclass
A TextField that is mapped to ajava.util.Date
object. -
Uses of Component in org.apache.wicket.extensions.markup.html.form.datetime
Modifier and TypeClassDescriptionclass
A TextField that is mapped to ajava.time.LocalDate
object and that uses java.time time to parse and format values.class
Works on aLocalDateTime
object.class
A TextField that is mapped to ajava.time.LocalDateTime
object and that uses java.time time to parse and format values.class
A TextField that is mapped to ajava.time.LocalTime
object and that uses java.time time to parse and format values.class
Works on aLocalTime
object.class
Works on aZonedDateTime
object. -
Uses of Component in org.apache.wicket.extensions.markup.html.form.palette
Modifier and TypeClassDescriptionclass
Palette<T>
Palette is a component that allows the user to easily select and order multiple items by moving them from one select box into another.Modifier and TypeMethodDescriptionprotected Component
Palette.getChoicesComponent()
protected Component
Palette.getSelectionComponent()
protected Component
Palette.newAddAllComponent()
factory method for the addAll componentprotected Component
Palette.newAddComponent()
factory method for the addcomponentprotected Component
Palette.newAvailableHeader
(String componentId) factory method for the available items headerprotected Component
Palette.newChoicesComponent()
factory method for the available items componentprotected Component
Palette.newDownComponent()
factory method for the move down componentprotected Component
Palette.newRemoveAllComponent()
factory method for the removeAll componentprotected Component
Palette.newRemoveComponent()
factory method for the remove componentprotected Component
Palette.newSelectedHeader
(String componentId) factory method for the selected items headerprotected Component
Palette.newSelectionComponent()
factory method for the selected items componentprotected Component
Palette.newUpComponent()
factory method for the move up component -
Uses of Component in org.apache.wicket.extensions.markup.html.form.palette.component
Modifier and TypeClassDescriptionclass
Generates html option elements based on iterator specified by getOptionsIterator() and IChoiceRender specified by the paletteclass
Choices<T>
select box containing all available choices of the paletteclass
Recorder<T>
Component to keep track of selections on the html side.class
Selection<T>
select box containing selected choices of the palette -
Uses of Component in org.apache.wicket.extensions.markup.html.form.palette.theme
Modifier and TypeMethodDescriptionvoid
DefaultTheme.onComponentTag
(Component component, ComponentTag tag) void
DefaultTheme.renderHead
(Component component, IHeaderResponse response) Renders header contributions -
Uses of Component in org.apache.wicket.extensions.markup.html.form.select
Modifier and TypeClassDescriptionclass
Select<T>
Component that represents a<select>
box.class
SelectOption<T>
Component representing a single<option>
html elementclass
Component that makes it easy to produce a list of SelectOption components. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.data.grid
Modifier and TypeClassDescriptionclass
Acts as a base for data-grid views.class
DataGridView<T>
Simple concrete implementation ofAbstractDataGridView
-
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.data.sort
Modifier and TypeClassDescriptionclass
A component that wraps markup with an OrderByLink.class
OrderByLink<S>
A component that represents a sort header. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.data.table
Modifier and TypeClassDescriptionclass
A base class for data table toolbarsclass
A panel that renders <colgroup> with <col> elements inside it.class
class
DataTable<T,
S> A data table builds on data grid view to introduce toolbars.static class
A caption for the table.class
DefaultDataTable<T,
S> An implementation of the DataTable that aims to solve the 90% usecase by adding navigation, headers, an no-records-found toolbars to a standardDataTable
.class
Toolbars that displays column headers.class
Toolbar that displays links used to navigate the pages of the datatable as well as a message about which rows are being displayed and their total number in the data table.class
Label that provides Showing x to y of z message given for a DataTable.class
A toolbar that displays a "no records found" message when the data table contains no rows.Modifier and TypeMethodDescriptionReturns the component that will be used as the header for the column.protected Component
NavigationToolbar.newNavigatorLabel
(String navigatorId, DataTable<?, ?> table) Factory method used to create the navigator label. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.data.table.export
Modifier and TypeClassDescriptionclass
A toolbar that provides links to download the data represented by allIExportableColumn
s in the table exported to formats supported by theIDataExporter
s configured.Modifier and TypeMethodDescriptionprotected Component
AbstractExportableColumn.createDisplayComponent
(String componentId, IModel<?> dataModel) Creates aComponent
which will be used to display the content of the column in this row.protected Component
ExportToolbar.createExportLink
(String componentId, IDataExporter dataExporter) Creates a new link to the exported data for the providedIDataExporter
. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.data.table.filter
Modifier and TypeClassDescriptionclass
Base class for filters that provides some useful functionalityclass
ChoiceFilter<T>
Filter that can be represented by a drop down list of choicesclass
FilterForm<T>
A form with filter-related special functionality for its form components.class
Toolbar that creates a form to hold form components used to filter data in the data table.class
Filter component that generates a 'go' and 'clear' buttons.class
Filter component that generates a 'go' button that when pressed submits the filter formclass
Component used to represent a filter component when no filter is provided.class
TextFilter<T>
Filter that can be represented by a text fieldModifier and TypeMethodDescriptionChoiceFilteredPropertyColumn.getFilter
(String componentId, FilterForm<?> form) IFilteredColumn.getFilter
(String componentId, FilterForm<?> form) Returns the component used by user to filter the column.TextFilteredPropertyColumn.getFilter
(String componentId, FilterForm<?> form) Modifier and TypeMethodDescriptionfinal String
FilterForm.getFocusTrackingHandler
(Component component) Returns the javascript focus handler necessary to notify the form of focus tracking changes on the component Useful when components want to participate in focus tracking but want to add the handler their own way. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.tree
Modifier and TypeClassDescriptionclass
AbstractTree<T>
Abstract base class forNestedTree
andTableTree
.class
An implementation of the NestedTree that aims to solve the 90% usecase by usingFolder
s on a standardNestedTree
.class
DefaultTableTree<T,
S> class
NestedTree<T>
A tree with nested markup.class
Node<T>
Representation of a single node in the tree.class
TableTree<T,
S> A tree with tabular markup.Modifier and TypeMethodDescriptionprotected abstract Component
Node.createContent
(String id, IModel<T> model) Create the component to display the actual node's content.protected abstract Component
AbstractTree.newContentComponent
(String id, IModel<T> model) Create a new component for the content of a node.protected Component
DefaultNestedTree.newContentComponent
(String id, IModel<T> node) CreatesFolder
for each node.protected Component
DefaultTableTree.newContentComponent
(String id, IModel<T> model) CreatesFolder
for each node.AbstractTree.newNodeComponent
(String id, IModel<T> model) Create a new component for a node.NestedTree.newNodeComponent
(String id, IModel<T> model) Overridden to let the node output its markup id.NestedTree.newSubtree
(String id, IModel<T> model) Create a new subtree. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.tree.content
Modifier and TypeClassDescriptionclass
class
CheckFolder<T>
class
Folder<T>
A typical folder representation of nodes in a tree.class
A styled link with a label.Modifier and TypeMethodDescriptionprotected Component
CheckedFolder.newCheckBox
(String id, IModel<T> model) Hook method to create a new checkbox component.protected Component
StyledLinkLabel.newLabelComponent
(String id, IModel<T> model) Hook method to create a new label component. -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.tree.nested
Modifier and TypeClassDescriptionclass
BranchItem<T>
A branch is a container for a single node and its children inside aSubtree
.class
Subtree<T>
A subtree handles all children of a single node (or the root nodes if anull
node was given to the constructor). -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.tree.table
Modifier and TypeMethodDescriptionvoid
NodeBorder.afterRender
(Component component) void
NodeBorder.beforeRender
(Component component) void
NodeBorder.onComponentTag
(Component component, ComponentTag tag) -
Uses of Component in org.apache.wicket.extensions.markup.html.repeater.tree.theme
Modifier and TypeMethodDescriptionvoid
HumanTheme.onComponentTag
(Component component, ComponentTag tag) void
WindowsTheme.onComponentTag
(Component component, ComponentTag tag) void
HumanTheme.renderHead
(Component component, IHeaderResponse response) void
WindowsTheme.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.extensions.markup.html.tabs
Modifier and TypeClassDescriptionclass
TabbedPanel<T extends ITab>
TabbedPanel component represents a panel with tabs that are used to switch between different content panels inside the TabbedPanel panel. -
Uses of Component in org.apache.wicket.extensions.rating
Modifier and TypeClassDescriptionclass
Rating component that generates a number of stars where a user can click on to rate something. -
Uses of Component in org.apache.wicket.extensions.wizard
Modifier and TypeClassDescriptionclass
A bar of buttons for wizards utilizingAjaxFormSubmitBehavior
.class
Models a cancel button in the wizard.class
Models a cancel button in the wizard.class
Models a 'last' button in the wizard.class
Models a next button in the wizard.class
Models a previous button in the wizard.class
A wizard step that displays the provided static content without expecting any input.class
A wizard is a dialog component that takes users through a number of steps to complete a task.class
Base class for buttons that work withthe wizard component
.class
The default bar of button components for wizards.class
default implementation ofIWizardStep
.Modifier and TypeMethodDescriptionGets the header component for this step.Returns the current view this step is displaying.protected Component
Wizard.newButtonBar
(String id) Create a new button bar.protected Component
Wizard.newFeedbackPanel
(String id) Create a new feedback panel.protected Component
Wizard.newOverviewBar
(String id) Create a new overview bar.Modifier and TypeMethodDescriptionGets the header component for this step.Returns the current view this step is displaying. -
Uses of Component in org.apache.wicket.extensions.wizard.dynamic
-
Uses of Component in org.apache.wicket.feedback
Modifier and TypeClassDescriptionclass
A specialized feedback panel that only displays messages from inside a fence defined by a container component.Modifier and TypeMethodDescriptionfinal Component
FeedbackMessage.getReporter()
Gets the reporting component.Modifier and TypeMethodDescriptionfinal void
FeedbackMessages.add
(Component reporter, Serializable message, int level) Adds a messageprotected List<FeedbackMessage>
FeedbackMessagesModel.collectMessages
(Component pageResolvingComponent, IFeedbackMessageFilter filter) Collects feedback messagesfinal void
FeedbackMessages.debug
(Component reporter, Serializable message) Adds a new ui message with level DEBUG to the current messages.final void
FeedbackMessages.error
(Component reporter, Serializable message) Adds a new ui message with level ERROR to the current messages.final void
FeedbackMessages.fatal
(Component reporter, Serializable message) Adds a new ui message with level FATAL to the current messages.final void
FeedbackMessages.info
(Component reporter, Serializable message) Adds a new ui message with level INFO to the current messages.protected boolean
FeedbackCollector.shouldRecurseInto
(Component component) Determines whether or not recursive message collection should continue into the specified component.final void
FeedbackMessages.success
(Component reporter, Serializable message) Adds a new ui message with level SUCCESS to the current messages.final void
FeedbackMessages.warn
(Component reporter, Serializable message) Adds a new ui message with level WARNING to the current messages.ModifierConstructorDescriptionComponentFeedbackMessageFilter
(Component component) ConstructorFeedbackCollector
(Component component) Constructs a collector that will collect messages from the specifiedcontainer
FeedbackCollector
(Component component, boolean includeSession) Constructs a collector that will collect messages fromSession
and specifiedcontainer
FeedbackMessage
(Component reporter, Serializable message, int level) Construct using fields.FeedbackMessagesModel
(Component pageResolvingComponent) Constructor.FencedFeedbackPanel
(String id, Component fence) Creates a feedback panel that will only show messages if they original from, or inside of, thefence
component and not from any inner fence.FencedFeedbackPanel
(String id, Component fence, IFeedbackMessageFilter filter) Creates a fenced feedback panel with a filter. -
Uses of Component in org.apache.wicket.guice
Modifier and TypeMethodDescriptionvoid
GuiceComponentInjector.onInstantiation
(Component component) -
Uses of Component in org.apache.wicket.markup
Modifier and TypeMethodDescription<C extends Component>
voidComponentTag.setMarkupClass
(Class<C> wicketHeaderClass) Set the class of wicket component which contains the wicket:head tag.Modifier and TypeMethodDescriptionComponentTag.IAutoComponentFactory.newComponent
(MarkupContainer container, ComponentTag tag) Creates a new instance of auto component to be queuedModifier and TypeMethodDescriptionMarkupStream.getContainerClass()
Get the component/container's Class which is directly associated with the stream.ComponentTag.getMarkupClass()
In case of inherited markup, the base and the extended markups are merged and the information about the tags origin is lost.MarkupResourceStream.getMarkupClass()
Get the actual component class the markup is directly associated with.Modifier and TypeMethodDescriptionvoid
ComponentTag.onBeforeRender
(Component component, MarkupStream markupStream) For subclasses to override.void
HtmlSpecialTag.onBeforeRender
(Component component, MarkupStream markupStream) For subclasses to override. -
Uses of Component in org.apache.wicket.markup.head
Modifier and TypeMethodDescriptionstatic OnEventHeaderItem
OnEventHeaderItem.forComponent
(Component target, String event, CharSequence javaScript) Creates aOnEventHeaderItem
for the given parameters.ModifierConstructorDescriptionRecordedHeaderItemLocation
(Component renderBase, int indexInRequest) Construct. -
Uses of Component in org.apache.wicket.markup.head.filter
Modifier and TypeClassDescriptionclass
A container that renders the content that was bucketed into a certain bucket byFilteringHeaderResponse
. -
Uses of Component in org.apache.wicket.markup.html
Modifier and TypeClassDescriptionclass
AWebMarkupContainer
with typesafe getters and setters for the model and its underlying objectclass
AWebPage
with typesafe getters and setters for the model and its underlying objectfinal class
For each wicket:head tag a HeaderPartContainer is created and added to the HtmlHeaderContainer which has been added to the Page.class
A simple "transparent" markup container.class
Base class for simple HTML components which do not hold nested components.class
A container of HTML markup and components.class
Base class for HTML pages.Modifier and TypeMethodDescriptionprotected Component
TransparentWebMarkupContainer.findChildComponent
(ComponentTag tag) final Component
HeaderPartContainer.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) The tag must be resolved against the panel and not against the pageTransparentWebMarkupContainer.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) Modifier and TypeMethodDescriptionvoid
HTML5Attributes.onComponentTag
(Component component, ComponentTag tag) void
HTML5Attributes.InstantiationListener.onInstantiation
(Component component) AddsHTML5Attributes
to allFormComponent
s.void
IComponentAwareHeaderContributor.renderHead
(Component component, IHeaderResponse response) Render to the web response whatever the component-aware wants to contribute to the head section. -
Uses of Component in org.apache.wicket.markup.html.basic
Modifier and TypeClassDescriptionclass
<wicket:enclosure>
is nice and prevents that users have to add boilerplate to their application.class
A Label component that is used to render an enum value.class
A Label component replaces its body with the String version of its model object returned by getModelObjectAsString().class
A MultiLineLabel component replaces its body with the model object. -
Uses of Component in org.apache.wicket.markup.html.border
Modifier and TypeClassDescriptionclass
This is a simple Container component which can be used to build Border like components.class
A border component has associated markup which is drawn and determines placement of markup and/or components nested within the border component.class
The container to be associated with the <wicket:body> tagclass
Whereas a Panel replaces the body markup with the associated markup file, a BorderPanel assumes a that Body component renders the body markup including any number of Wicket Components.Modifier and TypeMethodDescriptionBorder.BorderBodyContainer.findComponentToDequeue
(ComponentTag tag) Border.findComponentToDequeue
(ComponentTag tag) Border.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) Try to resolve a component.Modifier and TypeMethodDescriptionThis is for all components which have been added to the markup like this:protected void
Border.addDequeuedComponent
(Component component, ComponentTag tag) Border.addOrReplace
(Component... children) Border.addToBorder
(Component... children) Adds children components to the Border itselfvoid
BorderBehavior.afterRender
(Component component) void
BorderBehavior.beforeRender
(Component component) Get the child markup which must be in between the <span wicktet:id="myBorder"> tagsSearch for the child markup in the file associated with the Border.Border.queueToBorder
(Component... children) Queues children components to the Border itselfBorder.removeFromBorder
(Component child) Removes child from the Border itselfBorder.replaceInBorder
(Component component) Replaces component in the Border itself -
Uses of Component in org.apache.wicket.markup.html.debug
Modifier and TypeClassDescriptionfinal class
This is a simple Wicket component that displays all components of a Page in a table representation. -
Uses of Component in org.apache.wicket.markup.html.form
Modifier and TypeClassDescriptionclass
Base class for all Javascript-based "select-all" checkboxes.class
AbstractChoice<T,
E> Abstract base class for all choice (html select) options.class
Abstract base class for single-select choices.class
Abstract class for links that are capable of submitting a form.class
Abstract base class for TextArea and TextField.protected static class
Component that is attached to the<label>
tag and takes care of writing out the label text as well as setting classes on the<label>
tagclass
A form button.class
Check<T>
Component representing a single checkbox choice in a org.apache.wicket.markup.html.form.CheckGroup.class
HTML checkbox input component.class
A choice subclass that shows choices via checkboxes.class
A Javascript-based "Select All" checkbox component that works withCheckBoxMultipleChoice
.class
A Javascript-based "Select All" checkbox component that works with a loose collection ofCheckBox
components.class
CheckGroup<T>
Component used to connect instances of Check components into a group.class
Selects and deselects all Check components under the same CheckGroup as itself.class
A choice implemented as a dropdown menu/list.class
ATextField
for HTML5 <input> with type email.class
Form<T>
class
An HTML form component knows how to validate itself.class
A component that represents HTML <label> tag.class
Panel (has it's own markup, defined between <wicket:panel> tags), that can act as a form component.class
HiddenField<T>
TextField doesn't permit the html so this is a simple subclass to allow this A HiddenField is useful when you have a javascript based component that updates the form state.class
<input type="image"> component - likeButton
only with an image.class
Default implementation ofILabelProvider
.class
ListChoice<T>
Essentially a drop down choice that doesn't drop down.class
A multiple choice list component.class
NumberTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type number.class
A password text field component.class
Radio<T>
Component representing a single radio choice in a org.apache.wicket.markup.html.form.RadioGroup.class
RadioChoice<T>
A choice subclass that shows choices in radio style.class
RadioGroup<T>
Component used to connect instances of Radio components into a group.class
RangeTextField<N extends Number & Comparable<N>>
ATextField
for HTML5 <input> with type range.class
A text field which automatically adds a Required.class
A form component label that replaces its body with the contents oflabelProvider's label
class
This StatelessForm is the same as a normal form but with the statelesshint default to true.class
A link which can be used exactly like a Button to submit a Form.class
TextArea<T>
Multi-row text editing component.class
TextField<T>
A simple text field.class
ATextField
for HTML5 <input> with type url.Modifier and TypeMethodDescriptionILabelProviderLocator.getAutoLabelComponent()
AutoLabelResolver.AutoLabel.getRelatedComponent()
AutoLabelResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) AutoLabelTextResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) IFormSubmittingComponent.setDefaultFormProcessing
(boolean defaultFormProcessing) Sets the defaultFormProcessing property.final Component
Form.setVersioned
(boolean isVersioned) Modifier and TypeMethodDescriptionfinal void
static Form<?>
static String
AutoLabelResolver.getLabelIdFor
(Component component) static String
Form.getRootFormRelativeId
(Component component) Utility method to assemble an id to distinct form components from different nesting levels.boolean
FormComponentUpdatingBehavior.getStatelessHint
(Component component) void
FormComponentUpdatingBehavior.renderHead
(Component component, IHeaderResponse response) static <R> R
FormComponent.visitComponentsPostOrder
(Component component, IVisitor<Component, R> visitor) Visits any form components inside component if it is a container, or component itself if it is itself a form componentstatic <R> R
FormComponent.visitFormComponentsPostOrder
(Component component, IVisitor<? extends FormComponent<?>, R> visitor) Visits any form components inside component if it is a container, or component itself if it is itself a form componentModifier and TypeMethodDescriptionstatic <R> R
FormComponent.visitComponentsPostOrder
(Component component, IVisitor<Component, R> visitor) Visits any form components inside component if it is a container, or component itself if it is itself a form component -
Uses of Component in org.apache.wicket.markup.html.form.upload
Modifier and TypeClassDescriptionclass
Form component that corresponds to a <input type="file">.class
Form component that allows the user to select multiple files to upload via a single <input type="file"/> field.Modifier and TypeMethodDescriptionvoid
FilesSelectedBehavior.renderHead
(Component component, IHeaderResponse response) -
Uses of Component in org.apache.wicket.markup.html.form.validation
Modifier and TypeClassDescriptionclass
A border that can be placed around a form component to indicate when the bordered child/children has a validation error.class
A panel that hides or shows itself depending on whether there are feedback messages for a given message filter.Modifier and TypeMethodDescriptionvoid
Can be bound toForm
s only.void
FormComponentFeedbackIndicator.setIndicatorFor
(Component component) -
Uses of Component in org.apache.wicket.markup.html.image
Modifier and TypeClassDescriptionclass
Provides a context-relative image.class
A component to display external images.class
A component which displays external images within a picture tag.class
An Image component displays localizable image resources.class
The inline image is used to embed the complete image content within a HTML document.class
A subclass ofImage
that always adds random noise to the url every request to prevent the browser from caching the image.class
A component which displays localizable image resources within source and image elements as responsive image.class
A component which displays localizable image resources within a picture tag.Modifier and TypeMethodDescriptionvoid
Allows the behavior to detach any state it has attached during request processing.void
ContextPathGenerator.onComponentTag
(Component component, ComponentTag tag) Called any time a component that has this behavior registered is rendering the component tag. -
Uses of Component in org.apache.wicket.markup.html.image.resource
-
Uses of Component in org.apache.wicket.markup.html.include
Modifier and TypeClassDescriptionclass
Component that includes/ renders the import result of an URL, much like JSP include. -
Uses of Component in org.apache.wicket.markup.html.internal
Modifier and TypeClassDescriptionclass
An Enclosure are automatically created by Wicket.class
The HtmlHeaderContainer is automatically created and added to the component hierarchy by a HtmlHeaderResolver instance.class
A specialization of HtmlHeaderContainer that doesn't render <head> and &l;/head> around the header contributions.class
An InlineEnclosure are automatically created by Wicket.Modifier and TypeMethodDescriptionprotected final Component
Enclosure.getChild()
Enclosure.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) -
Uses of Component in org.apache.wicket.markup.html.link
Modifier and TypeClassDescriptionclass
Base class that that contains functionality for rendering disabled links.class
Renders a stable link which can be cached in a web browser and used at a later time.class
A client-side image map implementation which allows you to "attach" the map to any existingImage
component.class
A link that streams a file to the client.class
A simple anchor link (<a href="http://url">) pointing to any URL.class
Implementation of an inline frame component.class
Link<T>
Implementation of a hyperlink component.class
Closes a popup window and cleans up any related session page map for the popup.static final class
ClosePopupPage closes the popup window.class
ResourceLink<T>
A link to any ResourceReference.class
This link is stateless that means that the url to this link could generate a new page before the link onClick is called.Modifier and TypeMethodDescriptionvoid
DisabledAttributeLinkBehavior.onComponentTag
(Component component, ComponentTag tag) Sets an anchor component. -
Uses of Component in org.apache.wicket.markup.html.list
Modifier and TypeClassDescriptionclass
A very simple Item.class
ListItem<T>
Container that holds components in a ListView.class
ListView<T>
A ListView is a repeater that makes it easy to display/work withList
s.class
A very simple loop component whose model is an Integer defining the number of iterations the loop should render.class
A very simple Item.class
ListItem that addsclass="odd"
orclass="even"
html attribute depending on its index.class
PageableListView is similar to ListView but provides in addition pageable views.class
Simple ListVew subclass that wraps its item models in aCompoundPropertyModel
.Modifier and TypeMethodDescriptionprotected final void
ListView.renderChild
(Component child) protected final void
Loop.renderChild
(Component child) -
Uses of Component in org.apache.wicket.markup.html.media
Modifier and TypeClassDescriptionclass
The media component is used to provide basic functionality to the video and audio component.class
The source of an audio or a video media componentclass
The track tag is used to provide subtitles, captions, descriptions, chapters, metadata to a video media component -
Uses of Component in org.apache.wicket.markup.html.media.audio
-
Uses of Component in org.apache.wicket.markup.html.media.video
-
Uses of Component in org.apache.wicket.markup.html.pages
Modifier and TypeClassDescriptionclass
A parent page for all pages that are used to show an error to the user.class
Page expired error page.class
Form for posting JavaScript properties.class
This page uses a form post right after the page has loaded in the browser, using JavaScript or alternative means to detect and pass on settings to the embedded form.class
Shows a runtime exception on a nice HTML page.class
Internal error display page.class
Page expired error page.class
Page that let the browser redirect. -
Uses of Component in org.apache.wicket.markup.html.panel
Modifier and TypeClassDescriptionclass
Convenience feedback panel that filters the feedback messages based on the component given in the constructor.final class
Panel that does absolutely nothing and that can be used to display an empty block.class
A panel that displaysFeedbackMessage
s in a list view.class
Usually you either have a markup file or a xml tag with wicket:id="myComponent" to associate markup with a component.class
GenericPanel<T>
APanel
with typesafe getters and setters for the model and its underlying objectclass
A panel is a reusable component that holds markup and other components.Modifier and TypeMethodDescriptionprotected Component
FeedbackPanel.newMessageDisplayComponent
(String id, FeedbackMessage message) Generates a component that is used to display the message inside the feedback panel.Modifier and TypeMethodDescriptionFragmentMarkupSourcingStrategy.chooseMarkup
(Component component) Get the markup stream which shall be used to search for the fragmentAssociatedMarkupSourcingStrategy.findMarkupInAssociatedFileHeader
(MarkupContainer container, Component child) Search the child's markup in the header section of the markupabstract IMarkupFragment
AbstractMarkupSourcingStrategy.getMarkup
(MarkupContainer container, Component child) AssociatedMarkupSourcingStrategy.getMarkup
(MarkupContainer parent, Component child) Search for the child's markup in the associated markup file.BorderMarkupSourcingStrategy.getMarkup
(MarkupContainer container, Component child) Return null and thus useBorder.getMarkup(child)
to provide the MarkupDefaultMarkupSourcingStrategy.getMarkup
(MarkupContainer container, Component child) Get the markup for the child component, which is assumed to be a child of 'container'.FragmentMarkupSourcingStrategy.getMarkup
(MarkupContainer container, Component child) Search for the child's markup in the fragment markup.IMarkupSourcingStrategy.getMarkup
(MarkupContainer container, Component child) Will replace the respective component's method.protected final MarkupContainer
FragmentMarkupSourcingStrategy.getMarkupProvider
(Component component) Returns markup provider associated with this fragmentvoid
AbstractMarkupSourcingStrategy.onComponentTag
(Component component, ComponentTag tag) Make sure we open up open-close tags to open-body-closevoid
AssociatedMarkupSourcingStrategy.onComponentTag
(Component component, ComponentTag tag) void
DefaultMarkupSourcingStrategy.onComponentTag
(Component component, ComponentTag tag) Nothing to add to the response by defaultvoid
IMarkupSourcingStrategy.onComponentTag
(Component component, ComponentTag tag) Will be called in addition toonComponentTag(ComponentTag)
and allows the strategy to modify the component's tag or any of the tag attributes.void
AbstractMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Skip the components body which is expected to be raw markup only (no wicket components).void
BorderMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) void
DefaultMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Invoke the component's onComponentTagBody().void
FragmentMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Skip the body markup associated with the 'component'.void
IMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Will replace the respective component's method.void
PanelMarkupSourcingStrategy.onComponentTagBody
(Component component, MarkupStream markupStream, ComponentTag openTag) Skip the panel's body markup which is expected to contain raw markup only (no wicket components) and which will be ignored / removed.protected final void
AssociatedMarkupSourcingStrategy.renderAssociatedMarkup
(Component component) Render the associated markup markupvoid
AbstractMarkupSourcingStrategy.renderHead
(Component component, HtmlHeaderContainer container) Empty.void
AssociatedMarkupSourcingStrategy.renderHead
(Component component, HtmlHeaderContainer container) Render the header from the associated markup filevoid
IMarkupSourcingStrategy.renderHead
(Component component, HtmlHeaderContainer container) Will be called in addition tointernalRenderHead(HtmlHeaderContainer)
and allows the strategy to contribute to the <head> section of the response.protected IMarkupFragment
AbstractMarkupSourcingStrategy.searchInNestedTransparentResolvers
(IMarkupFragment containerMarkup, Component child, List<MarkupContainer> componentResolvers) Search for the markup of a child that might be nested inside transparent siblings.protected IMarkupFragment
AbstractMarkupSourcingStrategy.searchMarkupInTransparentResolvers
(MarkupContainer container, IMarkupFragment containerMarkup, Component child) If the child has not been directly added to the container, but via a TransparentWebMarkupContainer, then we are in trouble. -
Uses of Component in org.apache.wicket.markup.parser.filter
Modifier and TypeMethodDescriptionEnclosureHandler.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) InlineEnclosureHandler.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) RelativePathPrefixHandler.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) WicketLinkTagHandler.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) WicketMessageTagHandler.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) Modifier and TypeMethodDescriptionvoid
WicketMessageTagHandler.AttributeLocalizer.onComponentTag
(Component component, ComponentTag tag) -
Uses of Component in org.apache.wicket.markup.renderStrategy
Modifier and TypeMethodDescriptionabstract void
abstract boolean
In order to find the deepest component, we traverse downwards starting from the root (e.g.protected abstract void
AbstractHeaderRenderStrategy.renderChildHeaders
(HtmlHeaderContainer headerContainer, Component rootComponent) Render the child hierarchy headers.protected void
ChildFirstHeaderRenderStrategy.renderChildHeaders
(HtmlHeaderContainer headerContainer, Component rootComponent) Render the child hierarchy headers.protected void
ParentFirstHeaderRenderStrategy.renderChildHeaders
(HtmlHeaderContainer headerContainer, Component rootComponent) void
AbstractHeaderRenderStrategy.renderHeader
(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent) void
ChildFirstHeaderRenderStrategy.renderHeader
(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent) void
IHeaderRenderStrategy.renderHeader
(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component component) Implements the render strategyprotected void
AbstractHeaderRenderStrategy.renderRootComponent
(HtmlHeaderContainer headerContainer, HtmlHeaderContainer.HeaderStreamState headerStreamState, Component rootComponent) Render the root component (e.g.Render the child hierarchy headers.Render the child hierarchy headers. -
Uses of Component in org.apache.wicket.markup.repeater
Modifier and TypeClassDescriptionclass
An abstract repeater view that provides paging functionality to its subclasses.class
Base class for repeaters.class
Item<T>
Container that holds components in a RefreshingView.class
OddEvenItem<T>
Item that sets class="even" or class="odd" attributes based on its indexclass
An abstract repeater view that provides refreshing functionality to its subclasses.class
A repeater view that renders all of its children, using its body markup, in the order they were added.Modifier and TypeMethodDescriptionAbstractRepeater.renderIterator()
Returns an iterator for the collection of child components to be rendered.RepeatingView.renderIterator()
Modifier and TypeMethodDescriptionprotected void
AbstractRepeater.renderChild
(Component child) Render a single child. -
Uses of Component in org.apache.wicket.markup.repeater.data
Modifier and TypeClassDescriptionclass
DataView<T>
DataView is a basic implementation ofAbstractPageableView
.class
DataViewBase<T>
Base class for data views.class
GridView<T>
A pageable DataView which breaks the data in the IDataProvider into a number of data-rows, depending on the column size. -
Uses of Component in org.apache.wicket.markup.resolver
Modifier and TypeClassDescriptionstatic final class
Autolink components delegate component resolution to their parent components.Modifier and TypeMethodDescriptionAutoLinkResolver.IAutolinkResolverDelegate.newAutoComponent
(String autoId, AutoLinkResolver.PathInfo pathInfo) Returns a new auto component based on the pathInfo object.protected final Component
AutoLinkResolver.AbstractAutolinkResolverDelegate.newPackageResourceReferenceAutoComponent
(String autoId, AutoLinkResolver.PathInfo pathInfo, String attribute) Creates a new auto component that references a package resource.AutoLinkResolver.AutolinkBookmarkablePageLink.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) final Component
AutoLinkResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) static Component
ComponentResolvers.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter) Attempts to resolve a component using resolvers.HtmlHeaderResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) IComponentResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) Try to resolve a component.WicketContainerResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) WicketMessageResolver.resolve
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) static Component
ComponentResolvers.resolveByApplication
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag, ComponentResolvers.ResolverFilter filter) Attempts to resolve a component via application registered resolvers.static Component
ComponentResolvers.resolveByComponentHierarchy
(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) Attempts to resolve a component via the component hierarchy using resolvers. -
Uses of Component in org.apache.wicket.markup.transformer
Modifier and TypeClassDescriptionclass
This abstract container provides the means to post-process the markup generated by its child components (excluding the containers tag)class
An implementation of an output transformer which does nothing.class
A container which output markup will be processes by a XSLT processor prior to writing the output into the web response.Modifier and TypeMethodDescriptionvoid
AbstractTransformerBehavior.afterRender
(Component component) void
AbstractTransformerBehavior.beforeRender
(Component component) void
void
void
XsltTransformerBehavior.onComponentTag
(Component component, ComponentTag tag) abstract CharSequence
AbstractOutputTransformerContainer.transform
(Component component, CharSequence output) abstract CharSequence
AbstractTransformerBehavior.transform
(Component component, CharSequence output) ITransformer.transform
(Component component, CharSequence output) Will be invoked after all child components have been processed to allow for transforming the markup generated.NoopOutputTransformerContainer.transform
(Component component, CharSequence output) XsltOutputTransformerContainer.transform
(Component component, CharSequence output) XsltTransformer.transform
(Component component, CharSequence output) Apply a XSL transformation to the markup generated by a component.XsltTransformerBehavior.transform
(Component component, CharSequence output) -
Uses of Component in org.apache.wicket.mock
-
Uses of Component in org.apache.wicket.model
Modifier and TypeMethodDescriptionboolean
protected T
Called when getObject is called in order to retrieve the detachable object.protected T
Returns the object from the model with the use of the component where it is attached to.protected String
protected String
CompoundPropertyModel.propertyExpression
(Component component) Returns the property expression that should be used against the target objectprotected void
Called when setObject is called in order to change the detachable object.protected void
Sets the model object for this model.ComponentDetachableModel.wrapOnAssignment
(Component comp) ComponentModel.wrapOnAssignment
(Component comp) ComponentPropertyModel.wrapOnAssignment
(Component component) IComponentAssignedModel.wrapOnAssignment
(Component component) This method is called when the component gets its model assigned.ResourceModel.wrapOnAssignment
(Component component) StringResourceModel.wrapOnAssignment
(Component component) <C> IWrapModel<C>
CompoundPropertyModel.wrapOnInheritance
(Component component) <W> IWrapModel<W>
IComponentInheritedModel.wrapOnInheritance
(Component component) ModifierConstructorDescriptionStringResourceModel
(String resourceKey, Component component) Creates a new string resource model using the supplied parameters.StringResourceModel
(String resourceKey, Component component, IModel<?> model) Creates a new string resource model using the supplied parameters. -
Uses of Component in org.apache.wicket.page
Modifier and TypeFieldDescriptionPartialPageUpdate.markupIdToComponent
The component instances that will be rendered/replaced.Modifier and TypeMethodDescriptionfinal Collection<? extends Component>
PartialPageUpdate.getComponents()
Modifier and TypeMethodDescriptionfinal void
Adds a component to be updated at the client side with its current markupprotected boolean
PartialPageUpdate.containsAncestorFor
(Component component) Checks if the target contains an ancestor for the given componentprotected boolean
PartialPageUpdate.prepareComponent
(Component component) Prepare a single componentprotected void
PartialPageUpdate.writeComponent
(Response response, String markupId, Component component, String encoding) Writes a single componentprotected void
PartialPageUpdate.writeHeaderContribution
(Response response, Component component) -
Uses of Component in org.apache.wicket.protocol.http
Modifier and TypeMethodDescriptionstatic boolean
AjaxEnclosureListener.isControllerOfEnclosure
(Component component, Enclosure enclosure) Check if a given component is the controlling child of a given enclosureModifier and TypeMethodDescriptionvoid
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. -
Uses of Component in org.apache.wicket.protocol.ws.api
Modifier and TypeMethodDescriptionCollection<? extends Component>
WebSocketRequestHandler.getComponents()
Modifier and TypeMethodDescriptionprotected String
BaseWebSocketBehavior.getContext
(Component component) Override to return a context.protected CharSequence
BaseWebSocketBehavior.getSessionId
(Component component) boolean
BaseWebSocketBehavior.getStatelessHint
(Component component) void
void
BaseWebSocketBehavior.renderHead
(Component component, IHeaderResponse response) ModifierConstructorDescriptionWebSocketRequestHandler
(Component component, IWebSocketConnection connection) -
Uses of Component in org.apache.wicket.resource.loader
Modifier and TypeMethodDescriptionprotected String
ComponentStringResourceLoader.getResourcePath
(Component component) get path for resource lookupprotected boolean
ComponentStringResourceLoader.isStopResourceSearch
(Component component) Check the supplied component to see if it is one that we shouldn't bother further searches up the component hierarchy for properties.final String
BundleStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) Get the requested string resource from the underlying resource bundle.ClassStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) ComponentStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) InitializerStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) IStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) Get the string resource for the given combination of component, resource key, locale and style.NestedStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) ValidatorStringResourceLoader.loadStringResource
(Component component, String key, Locale locale, String style, String variation) -
Uses of Component in org.apache.wicket.settings
Modifier and TypeMethodDescriptionvoid
FrameworkSettings.dispatchEvent
(Object sink, IEvent<?> event, Component component) Dispatches event to registered dispatchers -
Uses of Component in org.apache.wicket.spring.injection.annot
Modifier and TypeMethodDescriptionvoid
SpringComponentInjector.onInstantiation
(Component component) -
Uses of Component in org.apache.wicket.util.tester
Modifier and TypeClassDescriptionstatic class
A page that is used as the automatically created page forBaseWicketTester.startComponentInPage(Class)
and the other variations.class
A dummy home page, as required byWicketTester
.class
TestLink
class.class
A dummyPanel
Component.Modifier and TypeMethodDescriptionBaseWicketTester.isComponent
(String path, Class<C> expectedComponentClass) assert component classfinal <C extends Component>
CBaseWicketTester.startComponentInPage
(C component) Process a component.final <C extends Component>
CBaseWicketTester.startComponentInPage
(C component, IMarkupFragment pageMarkup) Process a component.final <C extends Component>
CBaseWicketTester.startComponentInPage
(Class<C> componentClass) Process a component.final <C extends Component>
CBaseWicketTester.startComponentInPage
(Class<C> componentClass, IMarkupFragment pageMarkup) Process a component.Modifier and TypeMethodDescriptionBaseWicketTester.assertExists
(String path) BaseWicketTester.getComponentFromLastRenderedPage
(String path) Gets the component with the given path from last rendered page.BaseWicketTester.getComponentFromLastRenderedPage
(String path, boolean wantVisibleInHierarchy) BaseWicketTester.getComponentFromLastRenderedPage
(String path, boolean wantVisibleInHierarchy, boolean failOnAbsent) Gets the component with the given path from last rendered page.Modifier and TypeMethodDescriptionBaseWicketTester.getAllComponentsByWicketId
(String wicketId) BaseWicketTester.getFirstComponentByWicketId
(String wicketId) Returns the firstComponent
(breadth-first search) matching the given Wicket-ID.Modifier and TypeMethodDescriptionvoid
WicketTester.assertComponentFeedbackMessage
(Component component, String key, IModel<?> model, IFeedbackMessageFilter filter) Asserts that there is a feedback message provided by a given componentvoid
WicketTester.assertComponentOnAjaxResponse
(Component component) Tests that aComponent
has been added to aAjaxRequestTarget
, usingIPartialPageRequestHandler.add(Component...)
.void
WicketTester.assertMarkupLocale
(Component component, Locale expectedLocale) Asserts that a component's markup has loaded with the given localevoid
WicketTester.assertMarkupStyle
(Component component, String expectedStyle) Asserts that a component's markup has loaded with the given style.void
WicketTester.assertMarkupVariation
(Component component, String expectedVariation) Asserts that a component's markup has loaded with the given variationvoid
WicketTester.assertUsability
(Component component) Checks whether a component is visible and/or enabled before usageprotected Result
BaseWicketTester.checkUsability
(Component component, boolean throwException) Checks whether a component is visible and/or enabled before usagevoid
void
BaseWicketTester.executeAjaxEvent
(Component component, String event) Simulates the firing of an Ajax event.void
BaseWicketTester.executeListener
(Component component) Simulates processing URL that invokes anIRequestListener
on a component.protected void
WicketTestCase.executeListener
(Component component, String filename) void
WicketTester.executeListener
(Class<?> testClass, Component component, String filename) void
WicketTester.executeTest
(Class<?> testClass, Component component, String filename) Use-Dwicket.replace.expected.results=true
to automatically replace the expected output file.static AjaxEventBehavior
WicketTesterHelper.findAjaxEventBehavior
(Component component, String event) Finds the first AjaxEventBehavior attached to the specified component with the specified event.static List<AjaxEventBehavior>
WicketTesterHelper.findAjaxEventBehaviors
(Component component, String event) Finds all AjaxEventBehavior's attached to the specified component with the specified event.static Behavior
WicketTesterHelper.findBehavior
(Component component, Class<? extends Behavior> behaviorClass) void
BaseWicketTester.invokeListener
(Component component) Simulates invoking anIRequestListener
on a component.void
BaseWicketTester.invokeListener
(Component component, Behavior behavior) Simulates invoking anIRequestListener
on a component.BaseWicketTester.isComponentOnAjaxResponse
(Component component) Tests that aComponent
has been added to aAjaxRequestTarget
, usingIPartialPageRequestHandler.add(org.apache.wicket.Component...)
.Simulates filling in a field on aForm
.A convenience method for submitting theForm
with an alternate button.Modifier and TypeMethodDescriptionvoid
WicketTester.assertComponent
(String path, Class<? extends Component> expectedComponentClass) Asserts aComponent
class. -
Uses of Component in org.apache.wicket.validation
Modifier and TypeMethodDescriptionvoid
CompoundValidator.afterRender
(Component component) void
CompoundValidator.beforeRender
(Component component) void
void
boolean
CompoundValidator.getStatelessHint
(Component component) void
CompoundValidator.onComponentTag
(Component component, ComponentTag tag) void
CompoundValidator.onConfigure
(Component component) void
void
CompoundValidator.onException
(Component component, RuntimeException exception) void
void
CompoundValidator.renderHead
(Component component, IHeaderResponse response) void
-
Uses of Component in org.apache.wicket.validation.validator
Modifier and TypeMethodDescriptionvoid
StringValidator.onComponentTag
(Component component, ComponentTag tag) -
Uses of Component in org.apache.wicket.velocity
Modifier and TypeMethodDescriptionvoid
Allows the behavior to detach any state it has attached during request processing.void
VelocityContributor.renderHead
(Component component, IHeaderResponse response) Render to the web response whatever the component wants to contribute to the head section.void
VelocityJavaScriptContributor.renderHead
(Component component, IHeaderResponse response) Render to the web response whatever the component wants to contribute to the head section.