SPARK UI Toolkit is a boon for IBM BPM developers as it's improving day by day and IBM will be accepting it as official toolkit and merge the controls in their System Data toolkit.
In this post I'll share some simple tips to use the SPARK Alert controls apart from those which are not mentioned in Salient Process JS Docs.
These are few additional guidelines to use the SPARK Alert component in more effective way.
In this post I'll share some simple tips to use the SPARK Alert controls apart from those which are not mentioned in Salient Process JS Docs.
These are few additional guidelines to use the SPARK Alert component in more effective way.
- You can reuse the alert instance to change the style, text, and title of it
- To do this, first use the getAlert(id) to get the alert object*. Now you can use setText(text), setTitle(title), setStyle(style) to change the desired thing in the existing alert.
- You can close the selected alert from the list of alerts.
- To do this, use the getAlert(id) to get the alert object*. Now you can use close() function to close that alert.
* You need to assign the id in appendAlert() while creating new alert message.
Cheers,
Saroj
Comments
Post a Comment