adv_search_or_query

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
no macro found to override
  in (custom_tweak:adbayes_script:1) - <override_macro name="adbayes_script" parameters="params" requires="ad, servlet">
   Usages of this macro
... in adv_search.naml
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<macro name="adv_search_or_query" parameters="name,field">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="value"><n.trim
Binary
Namespace: BasicNamespace
Parameters: text
.get_parameter
Binary
Namespace: RequestNamespace
Parameters: name
 name="[n.name/]" /></n.set_var.>
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="field"><n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.append
Binary
Namespace: BasicNamespace
Parameters: text, suffix, except_if
 text="[n.field/]" suffix=":" /></n.set_var.>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_empty
Binary
Namespace: BasicNamespace
Parameters: value
.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="value">
        <then>
            <n.regex
Binary
Namespace: BasicNamespace
Parameters: pattern, text, do
. pattern='(".+?"|[^ "]+)' text="[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='value'/]">
                <n.no_output
Binary
Namespace: BasicNamespace
Parameters: text
.next_element
Binary
Namespace: RegexNamespace
/>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.has_more_elements
Binary
Namespace: RegexNamespace
>
                    <then>
                        <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="field"/><n.current_element
Binary
Namespace: RegexNamespace
/>
                    </then>
                    <else>
                        <n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="field"/>(<n.current_element
Binary
Namespace: RegexNamespace
/>
                        <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                            <n.nop
Binary
Namespace: BasicNamespace
/> OR <n.current_element
Binary
Namespace: RegexNamespace
/>
                        </n.loop.>)
                    </else>
                </n.if.not.has_more_elements>
            </n.regex.>
        </then>
    </n.if.not.is_empty.var>
</macro>