I thought the feedback messages were stored in the request by default? At
least I remember a thread from a week and a half ago about a person doing a
redirect and loosing his messages so he had to manually switch to saving
them in the Session...

On Fri, Mar 5, 2010 at 9:12 PM, Martin Makundi <
martin.maku...@koodaripalvelut.com> wrote:

> Maybe you are not really replacing the feedback using ajax. Look at
> wicket-debug popup.  Do you hae
> feedbackPanel.setOutputMarkupId(true);?
>
> **
> Martin
>
> 2010/3/5 Anna Simbirtsev <asimbirt...@gmail.com>:
> > It does not work for some reason.
> >
> > Session.get().cleanupFeedbackMessages();
> > target.addComponent(feedback);
> >
> > The message is still visible.
> >
> > On Fri, Mar 5, 2010 at 4:29 PM, Martin Makundi <
> > martin.maku...@koodaripalvelut.com> wrote:
> >
> >> session.cleanupfeedbackmessages.
> >>
> >> 2010/3/5 Anna Simbirtsev <asimbirt...@gmail.com>:
> >> > Hi,
> >> >
> >> > How can I clear FeedbackPanel messages?
> >> > I want to remove them from the page using target.addComponent(f);
> where f
> >> is
> >> > FeedbackPanel.
> >> > I just don't know how to set messages to null.
> >> >
> >> > Thanks,
> >> > Anna
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> >> For additional commands, e-mail: users-h...@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > Anna Simbirtsev
> > (416) 729-7331
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to