set_parameter_if_found

NAML documentation   Watch a video
   Usages of this macro
... in url_mapper.naml
9
10
11
12
13
<macro name="set_parameter_if_found" parameters="name,group" requires="url_mapper,regex">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.did_find
Macro
Requires: regex
Parameters: group
 group="[n.group/]">
        <then.set_parameter_to_found
Macro
Requires: url_mapper, regex
Parameters: name, group
 name="[n.name/]" group="[n.group/]" />
    </n.if.did_find>
</macro>