install::xml::action::set-parameter (public)

 install::xml::action::set-parameter node

Defined in packages/acs-tcl/tcl/install-procs.tcl

Sets a package parameter.

<set-parameter name="parameter" [ package="package-key | url="package-url" ] type="[id|literal]" value="value" />

Parameters:
node (required)

Partial Call Graph (max 5 caller/called nodes):
%3 apm_attribute_value apm_attribute_value (public) apm_required_attribute_value apm_required_attribute_value (public) install::xml::object_id::package install::xml::object_id::package (public) parameter::set_value parameter::set_value (public) install::xml::action::set-parameter install::xml::action::set-parameter install::xml::action::set-parameter->apm_attribute_value install::xml::action::set-parameter->apm_required_attribute_value install::xml::action::set-parameter->install::xml::object_id::package install::xml::action::set-parameter->parameter::set_value

Testcases:
No testcase defined.
Source code:
    variable ::install::xml::ids

    set name [apm_required_attribute_value $node name]
    set type [apm_attribute_value -default "literal" $node type]
    set value [apm_attribute_value -default {} $node value]

    set package_ids [install::xml::object_id::package $node]

    foreach package_id $package_ids {
        switch -- $type {
            literal {
                parameter::set_value -package_id $package_id  -parameter $name  -value $value
            }

            id {
                parameter::set_value -package_id $package_id  -parameter $name  -value $ids($value)
            }
        }
    }
    return
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: