Attributes |
Name | Required | Request-time | Type | Description |
name | true | true | java.lang.String |
name of the template param to evaluate
only used in template (_begin.jsp /
_end.jsp) - definition files!
|
defaultValue | false | true | java.lang.String |
default value to choose if no value
specified in paramList - attribute in the
db:style tag of the embedded jsp
|
dir | false | true | java.lang.String |
if the parameter describes a
ressource then
dir
should be set to the directory
containing thatresource. this
attribute notes RELATIVE to the
directory of the current template.
if your template is placed in
/templates/mytemplate/ and you have
images in a directory
/templates/mytemplate/img/than just
note dir as "img". if the
images (or other resources) are in
the /templates/mytemplateyou may set
dir to "."
if you skip this attribute, then no
directory will be written out. then
only the actual valueof the param
gets written out
(for example if the parameter is
"bgcolor=#343434" then you
definitly wouldnot want any
directories to be involved!!
|