You can try grabbing the FeebackMessages via Session.get().getFeedbackMessages() or Session.get().getFeedbackMessages().messages(IFeedbackMessageFilter) and then call FeedbackMessage.markRendered().

On 3/5/2010 1:34 PM, Anna Simbirtsev wrote:
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<
[email protected]>  wrote:

session.cleanupfeedbackmessages.

2010/3/5 Anna Simbirtsev<[email protected]>:
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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to