If you use a persistant duration (eg Duration.UNTIL_DISMISSED) then tapestry
will send ajax requests back to the server when alerts are dismissed.
Tapestry will call AlertStorage.dismiss(long id) on the serverside.

You will need to plugin your own AlertStorage implementation to perform your
own logic.

AppModule.java
    public static void contributeApplicationStateManager(
        MappedConfiguration<Class, ApplicationStateContribution> config) {
        config.addInstance(AlertStorage.class, new
MyAlertStorageApplicationStateContibution.class);
   }

http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/services/ApplicationStateContribution.html





--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-know-when-an-Alert-is-dismissed-tp5714120p5714136.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to