You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Marco Di Sabatino Di Diodoro <ma...@tirasa.net> on 2015/12/22 11:25:00 UTC

Delete old feedback messages

Hi all,

how can I delete old feedback messagesfor a new request?The previous 
feedback messages are not deleted from the list.

Regards
Marco

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: Delete old feedback messages

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.

Il 22/12/2015 13:01, Martin Grigorov ha scritto:
> Just set a default cleanup filter that clears all messages, not just the
> rendered ones.
Thanks for your help. It's works
Marco

> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Dec 22, 2015 at 12:54 PM, Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net> wrote:
>
>> Hi Martin,
>>
>> Il 22/12/2015 12:14, Martin Grigorov ha scritto:
>>
>>> Hi,
>>>
>>> By default Wicket removes all _rendered_ messages. If they are not
>>> rendered
>>> in the previous request cycle then they stay for the next one.
>>> See
>>> org.apache.wicket.settings.ApplicationSettings#setFeedbackMessageCleanupFilter()
>>> and org.apache.wicket.feedback.DefaultCleanupFeedbackMessageFilter
>>>
>> thanks for your help. but how can I force the cleaning. I saw the two
>> methods, but it's not clear to me how I should do.
>>
>> Marco
>>
>>
>> Martin Grigorov
>>> Wicket Training and Consulting
>>> https://twitter.com/mtgrigorov
>>>
>>> On Tue, Dec 22, 2015 at 11:25 AM, Marco Di Sabatino Di Diodoro <
>>> marco.disabatino@tirasa.net> wrote:
>>>
>>> Hi all,
>>>> how can I delete old feedback messagesfor a new request?The previous
>>>> feedback messages are not deleted from the list.
>>>>
>>>> Regards
>>>> Marco
>>>>
>>>> --
>>>> Dott. Marco Di Sabatino Di Diodoro
>>>> Tel. +39 3939065570
>>>>
>>>> Tirasa S.r.l.
>>>> Viale D'Annunzio 267 - 65127 Pescara
>>>> Tel +39 0859116307 / FAX +39 0859111173
>>>> http://www.tirasa.net
>>>>
>>>> Apache Syncope PMC Member
>>>> http://people.apache.org/~mdisabatino/
>>>>
>>>>
>>>>
>> --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>> http://people.apache.org/~mdisabatino/
>>
>>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Delete old feedback messages

Posted by Martin Grigorov <mg...@apache.org>.
Just set a default cleanup filter that clears all messages, not just the
rendered ones.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Dec 22, 2015 at 12:54 PM, Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net> wrote:

> Hi Martin,
>
> Il 22/12/2015 12:14, Martin Grigorov ha scritto:
>
>> Hi,
>>
>> By default Wicket removes all _rendered_ messages. If they are not
>> rendered
>> in the previous request cycle then they stay for the next one.
>> See
>> org.apache.wicket.settings.ApplicationSettings#setFeedbackMessageCleanupFilter()
>> and org.apache.wicket.feedback.DefaultCleanupFeedbackMessageFilter
>>
> thanks for your help. but how can I force the cleaning. I saw the two
> methods, but it's not clear to me how I should do.
>
> Marco
>
>
> Martin Grigorov
>> Wicket Training and Consulting
>> https://twitter.com/mtgrigorov
>>
>> On Tue, Dec 22, 2015 at 11:25 AM, Marco Di Sabatino Di Diodoro <
>> marco.disabatino@tirasa.net> wrote:
>>
>> Hi all,
>>>
>>> how can I delete old feedback messagesfor a new request?The previous
>>> feedback messages are not deleted from the list.
>>>
>>> Regards
>>> Marco
>>>
>>> --
>>> Dott. Marco Di Sabatino Di Diodoro
>>> Tel. +39 3939065570
>>>
>>> Tirasa S.r.l.
>>> Viale D'Annunzio 267 - 65127 Pescara
>>> Tel +39 0859116307 / FAX +39 0859111173
>>> http://www.tirasa.net
>>>
>>> Apache Syncope PMC Member
>>> http://people.apache.org/~mdisabatino/
>>>
>>>
>>>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
> http://people.apache.org/~mdisabatino/
>
>

Re: Delete old feedback messages

Posted by Marco Di Sabatino Di Diodoro <ma...@tirasa.net>.
Hi Martin,

Il 22/12/2015 12:14, Martin Grigorov ha scritto:
> Hi,
>
> By default Wicket removes all _rendered_ messages. If they are not rendered
> in the previous request cycle then they stay for the next one.
> See org.apache.wicket.settings.ApplicationSettings#setFeedbackMessageCleanupFilter()
> and org.apache.wicket.feedback.DefaultCleanupFeedbackMessageFilter
thanks for your help. but how can I force the cleaning. I saw the two 
methods, but it's not clear to me how I should do.

Marco

> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Tue, Dec 22, 2015 at 11:25 AM, Marco Di Sabatino Di Diodoro <
> marco.disabatino@tirasa.net> wrote:
>
>> Hi all,
>>
>> how can I delete old feedback messagesfor a new request?The previous
>> feedback messages are not deleted from the list.
>>
>> Regards
>> Marco
>>
>> --
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PMC Member
>> http://people.apache.org/~mdisabatino/
>>
>>

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Re: Delete old feedback messages

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

By default Wicket removes all _rendered_ messages. If they are not rendered
in the previous request cycle then they stay for the next one.
See org.apache.wicket.settings.ApplicationSettings#setFeedbackMessageCleanupFilter()
and org.apache.wicket.feedback.DefaultCleanupFeedbackMessageFilter

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Tue, Dec 22, 2015 at 11:25 AM, Marco Di Sabatino Di Diodoro <
marco.disabatino@tirasa.net> wrote:

> Hi all,
>
> how can I delete old feedback messagesfor a new request?The previous
> feedback messages are not deleted from the list.
>
> Regards
> Marco
>
> --
> Dott. Marco Di Sabatino Di Diodoro
> Tel. +39 3939065570
>
> Tirasa S.r.l.
> Viale D'Annunzio 267 - 65127 Pescara
> Tel +39 0859116307 / FAX +39 0859111173
> http://www.tirasa.net
>
> Apache Syncope PMC Member
> http://people.apache.org/~mdisabatino/
>
>