Group taglib ver. 1.4

    Custom JSP taglib lets you port Windows GUI applications to Web. Body tag group lets you create a bordered box with the caption. For example:
 


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

<c:group width="400px" height="200px">
   <c:caption backgroundColor="teal"><center><i>My caption</i></center></c:caption>
   <c:body> <br><br>your HTML code is here</c:body>
</c:group>

and you will get some like this:



your HTML code is here
My caption

 

Tags are:

group

Body tag defines a bordered box with some caption. Parameters are:

1) width describes a width for your box
2) height describes a height for your box
3) border Optional parameter. Describes a width for the border. Default value is 1px.
4) borderColor Optional parameter. Describes a color for the border. Default value is black.
5) backgroundColor Optional parameter. Describes a color for the background. Default value is transparent.

caption

Body tag describes a caption (title) for the box. Parameters are:

1) width Optional parameter. Describes a width for your caption. Default value is 90px
2) height Optional parameter. Describes a height for your caption. Default value is 30px
3) backgroundColor Optional parameter. Describes a color for the background. Default value is white.

body

Body tag describes a content for the box. Parameters are: none

for downloading:

Library: grouptag.jar    Description: taglib.tld

© Coldbeans      Comments?

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