adv_search_page

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
macro or method for 'searchName' not found in [basic, nabble, servlet, node_page, html, user_list] stack = [basic, nabble, servlet, node, workgroup_node, node_poll, node_page, html, node, workgroup_node, node_poll, user_list]
  in searchName(custom_tweak:people_tabbed_pane:62) - <n.to_lower_case.searchName/>
  in to_lower_case(custom_tweak:people_tabbed_pane:62) - <n.to_lower_case.searchName/> - public void nabble.naml.namespaces.BasicNamespace.to_lower_case(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in contains_substring(custom_tweak:people_tabbed_pane:62) - <n.contains_substring string="[n.to_lower_case.current_user.name/]+[n.to_lower_case.current_user.user_email/]" substring="[n.to_lower_case.searchName/]"/> - public void nabble.naml.namespaces.BasicNamespace.contains_substring(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in filter(nabble:utilities.naml:903) - <n.if.not.filter>
  in not(nabble:utilities.naml:903) - <n.if.not.filter> - public static void nabble.naml.namespaces.BasicNamespace.not(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in if(nabble:utilities.naml:903) - <n.if.not.filter> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in do(nabble:utilities.naml:896) - <n.do/>
  in while(nabble:utilities.naml:894) - <n.while.next_element inc="[n.by/]"> - public void nabble.naml.namespaces.BasicNamespace._while(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in loop(nabble:utilities.naml:902) - <n.loop.>
  in filter_by(custom_tweak:people_tabbed_pane:62) - <n.filter_by.contains_substring string="[n.to_lower_case.current_user.name/]+[n.to_lower_case.current_user.user_email/]" substring="[n.to_lower_case.searchName/]"/>
  in site_users(custom_tweak:people_tabbed_pane:61) - <n.site_users. start="0" length="999"> - public void nabble.view.web.template.NabbleNamespace.site_users(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in searched_users_list(custom_tweak:people_tabbed_pane:51) - <n.searched_users_list.>
  in if(custom_tweak:people_tabbed_pane:49) - <n.if.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in people_search_list(custom_tweak:people_tabbed_pane:20) - <n.page_node.people_search_list.people_columns/>
  in page_node(custom_tweak:people_tabbed_pane:20) - <n.page_node.people_search_list.people_columns/> - public void nabble.view.web.template.NodePageNamespace.page_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in details(nabble:ui_components.naml:121) - <then.details/>
  in if(nabble:ui_components.naml:120) - <n.if.selected> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in if(nabble:ui_components.naml:115) - <n.if.is_horizontal_tab> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in add_horizontal_tab(custom_tweak:people_tabbed_pane:16) - <n.add_horizontal_tab
url="[n.page_node.people_path filter='list'/]"
text="[t]Search[/t]"
selected="[n.is_people_filter value='list'/]"
details="[n.page_node.people_search_list.people_columns/]"
/>
  in horizontal_tabs(nabble:ui_components.naml:100) - <n.horizontal_tabs/>
  in if(nabble:ui_components.naml:97) - <n.if.is_null.is_live> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in horizontal_tab_control(custom_tweak:people_tabbed_pane:3) - <n.horizontal_tab_control.>
  in people_tabbed_pane(nabble:people.naml:10) - <n.people_tabbed_pane/>
  in body(custom_tweak:html:14) - <n.body/>
  in body(nabble:utilities.naml:23) - <n.body/>
  in nabble_html(nabble:utilities.naml:19) - <n.nabble_html> - public void nabble.view.web.template.ServletNamespace.nabble_html(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in html_impl(custom_tweak:html:8) - <n.html_impl>
  in html(nabble:people.naml:4) - <n.html>
  in do(nabble:utilities.naml:967) - <n.as_node_page.do/>
  in as_node_page(nabble:utilities.naml:967) - <n.as_node_page.do/> - public void nabble.view.web.template.NodeNamespace.as_node_page(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in do(nabble:utilities.naml:972) - <n.get_node_from_request_parameter.do/>
  in get_node_from_request_parameter(nabble:utilities.naml:972) - <n.get_node_from_request_parameter.do/> - public void nabble.view.web.template.ServletNamespace.get_node_from_request_parameter(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter) throws java.io.IOException,javax.servlet.ServletException,nabble.naml.namespaces.TemplateException
  in catch_exception(nabble:utilities.naml:971) - <n.catch_exception. id="get-node-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in get_node_from_parameter(nabble:utilities.naml:967) - <n.get_node_from_parameter.as_node_page.do/>
  in node_page(nabble:people.naml:3) - <n.node_page.>
  in (nabble:people.naml:1) - <macro name="app_people" requires="servlet">
   Usages of this macro
... in adv_search.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<macro name="adv_search_page" requires="servlet">
    <n.node_page
Macro
Requires: servlet
Parameters: do
.>
        <n.catch_exception
Binary
Namespace: BasicNamespace
Parameters: id, do
. id="set-block">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
                <then>
                    <n.redirect_to
Binary
Namespace: ServletNamespace
Parameters: url
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.>
                        <n.search_path
Macro
Requires: node
Parameters: author, query, days, index_record, sort
>
                            <query>
                                <n.compress
Macro
Parameters: text
.>
                                    <n.set_message_text_contains_group
Macro
/>
                                    <n.set_message_subject_contains_group
Macro
/>
                                    <n.set_author_name_group
Macro
/>
                                    <n.set_any_message_part_contains_group
Macro
/>
                                </n.compress.>
                            </query>
                            <days>
                                <n.get_int
Binary
Namespace: NabbleNamespace
Parameters: exception, default, int
. default="0" exception="days_field_not_integer">
                                    <n.get_parameter
Binary
Namespace: RequestNamespace
Parameters: name
 name="days" />
                                </n.get_int.>
                            </days>
                        </n.search_path>
                    </n.redirect_to.page_node.>
                </then>
            </n.if.is_submitted_form>
        </n.catch_exception.>
        <n.html
Macro
Parameters: head, body
>
            <head>
                <meta name="robots" content="noindex,nofollow"/>
                <n.title
Macro
Parameters: text
.><t>Advanced Search</t></n.title.>
                <style type="text/css">
                    div.group-header {
                        padding: .2em;
                        margin-top:1em;
                        font-size: 120%;
                        font-weight: bold;
                    }
                    td.form-label {
                        white-space: nowrap;
                    }
                </style>
            </head>
            <body>
                <n.adv_search_exceptions
Macro
/>
                <h1><t>Advanced Search</t></h1>
 
                <p><t>Use the options below to precisely specify your search criteria.</t></p>
 
                <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
.>
                    <table class="advanced-search-table">
                        <n.message_text_contains_group
Macro
/>
                        <n.message_subject_contains_group
Macro
/>
                        <n.author_name_group
Macro
/>
                        <n.any_message_part_contains_group
Macro
/>
                        <n.message_date_group
Macro
/>
                        <n.submit_button
Macro
/>
                    </table>
                </n.form.>
            </body>
        </n.html>
    </n.node_page.>
</macro>