Tag reference sheet

Tag library reference for the following tag libraries:

bb - version 1.2

General purpose utility tag library.

Namespace definition: xmlns:bb="http://www.ebi.ac.uk/biobabel"

Tags

  • include Includes a URL, not necessarily from the same application server, and not necessarily using the GET method
  • param This tag should be used inside the include tag, and defines parameters to be added to the included URL
  • writeHtmlSpace Writes an invisible image after dashes and brackets to ensure wrapping

Required attributes are marked with a*

<bb:include>

Includes a URL, not necessarily from the same application server, and not necessarily using the GET method.

Can contain:

Example

			<bb:include url="http://foo.com/bar"/>
			
			<bb:include url="http://foo.com/bar">
				<bb:param name="foo">1</bb:param>
				<bb:param name="bar">2</bb:param>
				<bb:param name="baz">3</bb:param>
			</bb:include>
			
			<bb:include url="http://foo.com/bar/json" method="post">
				<bb:param name="">
					{ "foo": { "bar": "2", "baz: 3 } }
				</bb:param>
			</bb:include>
			
		

Attributes

NameDescriptionType
method The HTTP method used for the request (only used if the URL is HTTP). Case-insensitive. Defaults to "GET". String
url*The URL of the included resource. Note that it must be a HTML fragment without <html> tag, otherwise the browser will not render the page properly.String

<bb:param>

This tag should be used inside the include tag, and defines parameters to be added to the included URL.

Can contain:

Attributes

NameDescriptionType
name*The parameter name.String

<bb:writeHtmlSpace>

Writes an invisible image after dashes and brackets to ensure wrapping.

Can contain:JSP

Attributes

NameDescriptionType
imageLocation**String
onlyAfterDashes*boolean
text**String