Hi, On Mon, Oct 28, 2019 at 7:33 PM Entropy <blmulholl...@gmail.com> wrote:
> As part of a larger effort to improve our audit logs, I have been requested > to add the feedback messages that appear as part of validation to those > audits. So in the onError() of a button or form, where the validation has > failed, I need to gather (non-destructively) the feedback messages that > will > soon be displayed. > > How can I get this list? getPage().getFeedbackMessages() returns empty > because, I presume, the errors are on lower level controls. Is there an > API > that gathers the messages for me? > Yes, see FeedbackCollector class. > > -- > Sent from: > http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >