| |
|
| java.lang.Object org.apache.wicket.feedback.FeedbackMessagesModel
FeedbackMessagesModel | public class FeedbackMessagesModel implements IModel(Code) | | Model for extracting feedback messages.
author: Eelco Hillenius |
FeedbackMessagesModel | public FeedbackMessagesModel(Component component)(Code) | | Constructor. Creates a model for all feedback messages on the page.
Parameters: component - The component where the page will be get from for whichmessages will be displayed usually the same page as the onefeedbackpanel is attached to |
FeedbackMessagesModel | public FeedbackMessagesModel(Page page, IFeedbackMessageFilter filter)(Code) | | Constructor. Creates a model for all feedback messags accepted by the
given filter.
Parameters: filter - The filter to apply Parameters: page - Page for which messages will be displayed - usually the samepage as the one feedbackpanel is attached to |
getSortingComparator | final public Comparator getSortingComparator()(Code) | | The current sorting comparator |
processMessages | protected List processMessages(List messages)(Code) | | Override this method to post process to the FeedbackMessage list.
Parameters: messages - List of sorted and filtered FeedbackMessages for furtherprocessing The processed FeedbackMessage list |
setSortingComparator | final public FeedbackMessagesModel setSortingComparator(Comparator sortingComparator)(Code) | | Sets the comparator used for sorting the messages.
Parameters: sortingComparator - comparator used for sorting the messages this |
|
|
|