template:parameter

Defines a parameter to be passed on to a template with the "call" tag. The id defines the name of the parameter, and one of name, value or page must be specified to define the value of the parameter.

See also

template:call

Syntax
<template:parameter
   key="..."
   name="..."?
   property="..."?
   scope="..."?
   value="..."?>
   ...
</template:parameter>
Attributes
key, mandatory

The name of the parameter that is to be passed to the called template.

name

The name of the attribute to use as the value of this parameter. The rules for pageContext.findAttribute will be used if the "scope" attribute is set to null.

property

Property to get from the specified bean with the name attribute. This attribute can not be used without the name attribute.

scope

The scope in which to search for when using the "name" parameter. This optional parameter defaults to a value which means that all scopes will be searched. The scope attribute may be set to "page", "request", "session", "application", or nothing.

Default the scope is set to "request".

value

The value of the parameter to be passed to the parameter. This is a simple way of passing strings to templates.