Phone taglib ver. 1.3

    Custom JSP tag. Yet another tool for mobile web development in JSP. Lets you create a hyperlink in your WML or XHTML code for activating phone call or adding a new entry to address book (so called wtai interface). Tag continues our line of custom JSP tags that are similar to WEB controls in .NET framework (Mobile Controls SDK in this case).

For example:
 


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

<call:phone number="1234567">Call me!</call:phone>

<call:addressbook number="1234567">Friend</call:addressbook>

or you may use phone number itself as a link
 


<call:phone number="1234567"/>

Tags are:

phone

Body tag, creates a callable link for mobile sites. Parameters are:

1) number Describes a phone number
2) cond Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (create a link)

addressbook

Body tag, creates a link for a new address book entry on mobile sites. Tag's body describes an entry. Parameters are:

1) number Describes a phone number
2) cond Optional attribute. Describes a boolean value tag's behavior depends on. Default value is true (create a link)

for downloading:

Library: phonetag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: