Parameters
Description
Declaration of a default set of parameters to assign to the component model. The <parameters> element may contain 0..n <param> elements where each <param> element is defining a named value pair within a Parameters constructor argument.
Params Element Attributes
| name | The parameter name (required). |
| value | The parameter value. |
Example
The following example demonstrates the creation of a parameters directive that will be assigned to the intial component model.
<component xmlns="dpml:metro" dest="target/test/params.part" test="true" activation="true"
type="net.dpml.test.params.ParameterizableComponent" collection="hard">
<parameters>
<param name="name" value="fred"/>
<param name="size" value="1024"/>
</parameters>
</component>