On 16.01.2013 06:27, mateen wrote:

> Now can can i clear the previous alerts, otherwise each time a transaction
> fails a user has to manually clear the error message. If he dosent all error
> messages stack up ? How can i do this ? 

For this purpose we wrote our own component for displaying alerts. When
all alerts are rendered, we clean them:

-----

@SessionState
private AlertStorage alertStorage;

void cleanupRender() {
        alertStorage.dismissAll();
}

-----

HTH
 Stephan

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to