section Tag Library
This tag library contains tags that work on the current or
specified section. The tags can get information from the section, expire
the surrounding jsp-cache, set a new default section or get different
Views. For more information about jsp-cache see
util Tag Library, about View see view Tag Library.
The essential tags in this taglib are:
All tags are working with a section-object, except
<section:parameter>. The default behavior
is that they will use the current section. This can be overridden by the
common attributes discussed below.
Syntax to import the section tag library:
<%@ taglib uri="http://www.escenic.com/taglib/escenic-section" prefix="section" %>
We usually use
section as prefix to this
The following tags has been removed because they either did not work or was not finished: <section:hasAgreement>, <section:validateAgreement> and <section:checkVirtual>. They may be reintroduced later on.
If you want to specify which section to work with instead of
using the default section, you can do so by using one our common
attributes. This is the possible attributes:
name/property. They are mutually
name/property you must
property is not mandatory.
Must be a
sectionexcludes the use of the attributes:
Stringin this attribute.
sectionIdexcludes the use of the attributes:
The unique name of the section.
uniqueNameexcludes the use of the attributes:
The key value to look up an existing bean. There is two ways of using this bean.
Either the bean must be of type
Or the bean must have a property to get the
Section. Then the attribute
propertymust be used.
nameexcludes the use of the attributes:
Identifies the JavaBeans property (of the bean identified by the
nameattribute) to get the
Sectionto be used by the tag. If not specified, the bean identified by the
nameattribute itself will be used as the value.
This attribute can not be used without the