Custom JSP tags library lets you rotate chunks of texts (JSP code). Tag TextRotate
displays only one of JSP code chunks on the cyclical basic. You can rotate data on the global level
(application scope) or per user's requests (session scope). JSP code chunks described with the special tag
Text. E.g.:
<%@ taglib uri="taglib.tld" prefix="r" %> <r:TextRotate count="2" scope="application"> <r:Text> here is the first alternative ... </r:Text> <r:Text> here is the second alternative ... </r:Text> ... </r:TextRotate> Here tag TextRotate takes 2 (attribute count) chunks defined within its body and displays (executes) them on the cyclical basic. Tags are: TextRotate Body tag lets you display a chunk of text (JSP code) on the cyclical basic. Parameters are: 1) count Describes how many chunks will be used
Text Body tag describes a chunk of JSP code (alternative data). Parameters are: 1) cond Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (define a chunk). for downloading: Library: textrotatetag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|