Hello, I'm using the AlertManager service along with the Alerts component to display messages. For non ajax requests it behaves like I prefer, but for ajax requests messages are appended to the alerts list and "old" ones are only cleared when the whole page is refreshed. This is of course consistent with the source documentation for Duration.SINGLE: "...displayed to the user a single time; once the page updates, the alert will not be presented to the user...." For me it means that changing functionality that does not need a full page refresh, to use ajax, implicitly changes what the user sees. Question: Does it make sense that the behavior is different depending whether the request is ajax or not? Alternatively, would Duration.REQUEST make sense? (displaying the alert only until next request - ajax or not).
I'm using Tapestry 5.3.2 Best regards, Jacob Poder