Re: Delete old feedback messages

2015-12-22 Thread Martin Grigorov
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.disabat...@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 085973
> http://www.tirasa.net
>
> Apache Syncope PMC Member
> http://people.apache.org/~mdisabatino/
>
>


Delete old feedback messages

2015-12-22 Thread Marco Di Sabatino Di Diodoro

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 085973
http://www.tirasa.net

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



Re: Delete old feedback messages

2015-12-22 Thread Marco Di Sabatino Di Diodoro



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.disabat...@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.disabat...@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 085973
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 085973
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 085973
http://www.tirasa.net

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


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



Re: Delete old feedback messages

2015-12-22 Thread Marco Di Sabatino Di Diodoro

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.disabat...@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 085973
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 085973
http://www.tirasa.net

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



Re: Delete old feedback messages

2015-12-22 Thread Martin Grigorov
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.disabat...@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.disabat...@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 085973
>>> 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 085973
> http://www.tirasa.net
>
> Apache Syncope PMC Member
> http://people.apache.org/~mdisabatino/
>
>