TagLib: Mail

folder

Description

This tag denotes a reference to the current folder"bean" within an enclosing <mail:folders> tag. The body of this tag may contain get tags that will generate output derived from the contents of this "bean" tag.

Tag Body

JSP

Tag Parent

<mailPrefix:folders>

Restrictions

None.

Attributes

The tag has the following attributes:

Attribute

Description

Req'd?

foldername Specifies the full name of the folder represented by this bean no
     

Properties

The tag provides the following bean properties:

Property

Description

Type

Access

folderExist
Boolean
Get
holdFolders
  Boolean
Get
holdMessages

Boolean
Get
name

String
Get
fullName

String
Get
numFolders

Integer
Get
numMsgs

Integer
Get
readWrite
the state and contents of this folder can be modified
Boolean
Get

Example(s)

<%-- folder tag example --%>
...
<mail:context/>
...
<mail:fetch collection="folders"/>
...
<mail:folders iterate="true">
<mail:folder> <p>Folder Name:<mail:get property="name"/> </mail:folder> </mail:folders>