Re: adding FeedbackMessages in onBeforeRender()

2016-02-29 Thread Martin Grigorov
Hi, Try with Session.get().error(...) instead of component.error(). Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Feb 29, 2016 at 5:28 PM, Patrick Davids < patrick.dav...@nubologic.com> wrote: > Hi all, > is there any way to add a message when onBefor

adding FeedbackMessages in onBeforeRender()

2016-02-29 Thread Patrick Davids
Hi all, is there any way to add a message when onBeforeRender() is called? I have a behavior for a special use-case which does some checks and provides feedback to the user when a check is unsuccessfull. But I get a org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy a