Re: Trigger Alert from javascript

"D. R." <[email protected]> Tue, 5 Mar 2019 06:42:24 +0100
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
ok, very easy:

include "t5/core/alert" as 'alert' and call:

var alertObject = {
   message: 'hi from javascript',
   severity: 'ERROR', // SUCCESS, INFO, WARN, ERROR
};
alert(alertObject);

Any concerns about that?

Kind regards
David

Am 05.03.19 um 06:23 schrieb D. R.:
> Hi,
>
> we want to trigger an t5-Alert from javascript, how can we do that?
>
> Kind regards
> David
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]