Flash message taglib ver. 1.2

    Custom JSP taglib. Lets you create messages in your applications that fades into view, stays on the screen for the some time and then fades away automatically. For example, you can flash some confirmation message and hide it automatically by the timer. For example:
 


<html>
<%@ taglib uri="taglib.tld" prefix="m" %>
<m:FlashMessage delay="7000">Message appears and disappears</m:FlashMessage>
</html>

and you will get some like this (refresh the page for the simulation):

Tags are:

FlashMessage.

Body tag creates automatically faded messages. Attributes are:

1) delay - Optional attribute. Describes a delay for the message (in milliseconds). Default value is 5000 (5 seconds)
2) cond - Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (fade)

for downloading:

Library: flashmsgtag.jar     Description: taglib.tld

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: