Core Tags
Tag tagdefarg


Defines an argument value this Tag definition expects. Argument values are passed to Tag definitions by declaring XML attributes on the includetagdef tag.

Example:
<pt:core.newtagdef pt:defid="newtagdef" />
<pt:core.tagdefarg pt:name="arg1" pt:desc="this is a required argument"/>
<pt:core.tagdefarg pt:name="arg2" pt:defaultval="0" pt:desc="this is an optional argument"/>
<pt:logic.value="$arg1">
<pt:logic.value="$arg2">
</pt:core.tagdef>
...
<pt:core.includetagdef pt:defid="newtagdef" arg1="value1" arg2="value2">


Tag Information
Tag Nametagdefarg
Required Parent Tagtagdef

Attributes
NameTypeRequiredDefault ValueDescription
namestringtruenullName of the Tag definition argument (name of tag variable).
descstringtruenullDescription of this tag def argument.
defaultvaluestringfalsenullThe Tag variable will use this value if no value was provided for this argument.


Copyright 2005 Plumtree Software, Inc.