Tweet this taglib ver. 1.1

    Custom JSP taglib. This taglib lets you generate Tweet this links. When clicking on the link the user is taken to the Twitter homepage with the message already preset so he/she can share your page on Twitter immediately.

 

<%@ taglib uri="taglib.tld" prefix="t" %>

<t:TweetLink/>

or with your graphics for example

<t:TweetLink><img src="tweetthis.gif" border="0" alt=""></t:TweetLink>

and you will get this:
 

Tweet this

or with your graphics for example

Tags are:

TweetLink

Body tag creates a link for sharing data on Twitter. Tag's body describes an anchor (text) for the link. By default it is Tweet this. Attributes are:

1) id Optional attribute. Describes a CSS/DHTML id for your block
2) className Optional attribute. Describes a CSS class.
3) style Optional attribute. Describes a CSS style.
3) title Optional attribute. Describes a title (text) for your link.
4) url Optional attribute. Describes an url. By default tag will use the current url.
5) cond Optional attribute. Describes a boolean attribute tag's behavior depends on. Default value is true (create link).
 

for downloading:

Library: tweetlinktag.jar    Description: taglib.tld

© Coldbeans Software      Comments?

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

Also in Coldtags: