Chain taglib ver. 1.3

    Custom JSP taglib for UI development. This taglib lets you output a set of nodes (chunks of HTML code) with connectors. For example:
 


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

<c:chain direction="horizontal">
  <c:node> Node 1</c:node>
  <c:node> Node 2</c:node>
  <c:node box="true"> Node 3</c:node>
</c:chain>

and you will get the following picture:

Node 1
Node 2
Node 3

you can change the orientation:
 


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

<c:chain direction="vertical">
  <c:node> Node 1</c:node>
  <c:node> Node 2</c:node>
  <c:node box="true"> Node 3</c:node>
</c:chain>

and you will get this:

Node 1
Node 2
Node 3

Tags are:

chain

Body tag outputs a chain of nodes. Parameters are:

1) direction Optional parameter. Describes a direction. Possible values are horizontal or vertical. Default value is horizontal.
2) connectorClass Optional parameter. Describes your own CSS class for connectors.
3) connectorStyle Optional parameter. Describes your own CSS style for connectors.

node

Body tag describes a node for the chain. Parameters are:

1) box Optional parameter. Possible values are true or false. If this value is true tag will output a box around the node. Default value is false.

for downloading:

Library: chaintag.jar    Description: taglib.tld

© Coldbeans      Comments?

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