Tag Library

The Calyxo Base custom tag library contains tags to link or send a form to an action. In a JSP file, just associate the prefix you want to use for the tags with URI http://calyxo.odysseus.de/jsp/base:

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
  xmlns:base="http://calyxo.odysseus.de/jsp/base">
  ...
</jsp:root>

Since the tag library descriptor is contained in the Calyxo Base jar file, it is already available to applications. The container will automatically find it. For documentation purposes, a copy is located in CALYXO_HOME/calyxo-base/conf/share/calyxo-base.tld.

All attributes may be expressed using runtime expressions. Most of the attributes are optional. If an attribute is required for a specific tag, this is mentioned in the corresponding attribute description (and indicated by an attribute name printed in bold).

General Tags

NameDescription
access Install the Calyxo accessors hierarchy in request scope.

HTML Tags

NameDescription
a Render an HTML a tag that links to an action.
form Render an HTML form tag to send form data to an action.

Attribute Groups

We use the following abbreviations to refer to groups of HTML attributes. They have the same meaning as in the HTML 4.01 specification.

AbbreviationHTML Attributes
%coreattrs id, class, style, title
%i18n lang, dir
%events onclick, ondblclick
onmousedown, onmouseup, onmouseover, onmousemove, onmouseout
onkeydown, onkeyup, onkeypress

All of them are mapped to the HTML attribute of the same name.