Package | Description |
---|---|
org.apache.wicket.feedback |
Classes related to showing user feedback, generally as the
result of form submission and/or validation.
|
org.apache.wicket.markup.html.form.validation |
Support for form validation.
|
org.apache.wicket.markup.html.panel |
Panel components.
|
org.apache.wicket.settings | |
org.apache.wicket.util.tester |
A package with utility classes to ease unit testing of Wicket applications without the need for
a servlet container.
|
Modifier and Type | Class and Description |
---|---|
class |
ComponentFeedbackMessageFilter
Filter for accepting feedback messages for a particular component.
|
class |
ContainerFeedbackMessageFilter
Filter for child-of relationship
|
class |
DefaultCleanupFeedbackMessageFilter
The default message filter used to cleanup feedback messages.
|
class |
ErrorLevelFeedbackMessageFilter
Filter for accepting feedback messages with minimum level.
|
class |
ExactLevelFeedbackMessageFilter
Filter for accepting feedback messages of a certain error level.
|
Modifier and Type | Field and Description |
---|---|
static IFeedbackMessageFilter |
IFeedbackMessageFilter.ALL
Filter that returns simply all available messages.
|
static IFeedbackMessageFilter |
IFeedbackMessageFilter.NONE
Filter that does not match any message
|
Modifier and Type | Method and Description |
---|---|
IFeedbackMessageFilter |
FeedbackMessagesModel.getFilter() |
Modifier and Type | Method and Description |
---|---|
int |
FeedbackMessages.clear(IFeedbackMessageFilter filter)
Clears all messages that are accepted by the filter.
|
List<FeedbackMessage> |
FeedbackCollector.collect(IFeedbackMessageFilter filter)
Collects all feedback messages that match the specified
filter |
protected List<FeedbackMessage> |
FeedbackMessagesModel.collectMessages(Component pageResolvingComponent,
IFeedbackMessageFilter filter)
Collects feedback messages
|
boolean |
FeedbackMessages.hasMessage(IFeedbackMessageFilter filter) |
List<FeedbackMessage> |
FeedbackMessages.messages(IFeedbackMessageFilter filter)
Gets a list of messages from the page using a filter.
|
FeedbackMessagesModel |
FeedbackMessagesModel.setFilter(IFeedbackMessageFilter filter) |
int |
FeedbackMessages.size(IFeedbackMessageFilter filter)
Gets the number of messages.
|
Constructor and Description |
---|
FeedbackMessagesModel(Page page,
IFeedbackMessageFilter filter)
Constructor.
|
FencedFeedbackPanel(String id,
Component fence,
IFeedbackMessageFilter filter)
Creates a fenced feedback panel with a filter.
|
FencedFeedbackPanel(String id,
IFeedbackMessageFilter filter)
Creates a catch-all instance with a filter.
|
Modifier and Type | Method and Description |
---|---|
protected IFeedbackMessageFilter |
FormComponentFeedbackIndicator.getFeedbackMessageFilter() |
protected IFeedbackMessageFilter |
FormComponentFeedbackBorder.getMessagesFilter() |
Modifier and Type | Method and Description |
---|---|
IFeedbackMessageFilter |
FeedbackPanel.getFilter() |
Modifier and Type | Method and Description |
---|---|
FeedbackPanel |
FeedbackPanel.setFilter(IFeedbackMessageFilter filter)
Sets a filter to use on the feedback messages model
|
Constructor and Description |
---|
FeedbackPanel(String id,
IFeedbackMessageFilter filter) |
Modifier and Type | Method and Description |
---|---|
IFeedbackMessageFilter |
ApplicationSettings.getFeedbackMessageCleanupFilter()
Returns the cleanup feedback message filter.
|
Modifier and Type | Method and Description |
---|---|
ApplicationSettings |
ApplicationSettings.setFeedbackMessageCleanupFilter(IFeedbackMessageFilter filter)
Sets the cleanup feedback message filter.
|
Modifier and Type | Method and Description |
---|---|
void |
WicketTester.assertComponentFeedbackMessage(Component component,
String key,
IModel<?> model,
IFeedbackMessageFilter filter)
Asserts that there is a feedback message provided by a given component
|
void |
WicketTester.assertFeedbackMessages(IFeedbackMessageFilter filter,
Serializable... expectedMessages)
Assert there are feedback messages accepted by the provided filter.
|
protected void |
BaseWicketTester.cleanupFeedbackMessages(IFeedbackMessageFilter filter)
Cleans up feedback messages given the specified filter.
|
List<FeedbackMessage> |
BaseWicketTester.getFeedbackMessages(IFeedbackMessageFilter filter)
Retrieves
FeedbackMessages . |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.