On Mon, Mar 27, 2017 at 7:54 AM, Trejkaz <[email protected]> wrote:
> On Mon, Mar 27, 2017 at 4:42 PM, Sebastien <[email protected]> wrote: > > Hi, > > > > Yes, the message is lost. For such a use case, you have to use > > Session.get().info(), so your message remains available after the > redirect. > > I see... so looking at the info() method itself, on v1.5, info() goes > into the session. But in v6, it goes into the component... which seems > like it would always be lost. > > Is there some way to rewire such that info() still stores it in the > session? > The only way I see is to override org.apache.wicket.Component#getFeedbackMessages() to delegate to org.apache.wicket.Session#getFeedbackMessages() but you will have to do this for each and every component ... Maybe it would be better to update your application code. > > TX > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
