TagLib: AddressBook

get

Description

The get tag retrieves the specified property. This tag operates exactly like the <util:get> tag and is imported into the ab taglib for convenience. See the util:get tag description for usage details.

Tag Body

util:get

Restrictions

util:get

Attributes

util:get

Properties

util:get

Example(s)

<%@ page errorPage="/jsp/errorpage.jsp" %>
<%@ taglib uri="/taglibs/ips_taglib_ab.jar" prefix="ab" %>

       <ab:context/>
        <ab:fetch ln="$(ln)" fn="$(fn)" bp="$(bp)" em="$(em)" hp="$(
hp)" fp="$(fp)" mp="$(mp)" pp="$(pp)" sb="ln" sd="up">
          Error in Looking up address book.
        </ab:fetch>
        Number of Address Book entries:
        <ab:context>
           <ab:get property="numEntries"/>
        </ab:context>
        <ab:entries>
                       
           <ab:entry>
             Entry Id: <ab:get property="entryid"/>
             First Name: <ab:get property="fn"/>
             Last Name: <ab:get property="ln"/>
             Email: <ab:get property="em"/>
           </ab:entry>
        </ab:entries>