Entrar  Registre-se
Customized macros
Search macros
View logs

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 'handle_anonymous_submit' not found in [basic, nabble, servlet, node_page] stack = [basic, nabble, servlet, node, node_poll, node_page]
  in handle_anonymous_submit(custom_tweak:new_post:91) - <n.handle_anonymous_submit/>
  in catch_exception(custom_tweak:new_post:90) - <n.catch_exception. id="save-block"> - public void nabble.naml.namespaces.BasicNamespace.catch_exception(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in if(custom_tweak:new_post:4) - <n.if.not.is_submitted_form> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in do(nabble:utilities.naml:936) - <n.as_node_page.do/>
  in as_node_page(nabble:utilities.naml:936) - <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:941) - <n.get_node_from_request_parameter.do/>
  in get_node_from_request_parameter(nabble:utilities.naml:941) - <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:940) - <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:936) - <n.get_node_from_parameter.as_node_page.do/>
  in node_page(custom_tweak:new_post:2) - <n.node_page.>
  in new_post(nabble:reply.naml:2) - <n.new_post>
  in (nabble:reply.naml:1) - <macro name="reply" requires="servlet">
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "adv_search_page".
... 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.>
        <n.catch_exception. id="set-block">
            <n.if.is_submitted_form>
                <then>
                    <n.redirect_to.page_node.>
                        <n.search_path>
                            <query>
                                <n.compress.>
                                    <n.set_message_text_contains_group/>
                                    <n.set_message_subject_contains_group/>
                                    <n.set_author_name_group/>
                                    <n.set_any_message_part_contains_group/>
                                </n.compress.>
                            </query>
                            <days>
                                <n.get_int. default="0" exception="days_field_not_integer">
                                    <n.get_parameter 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>
            <head>
                <meta name="robots" content="noindex,nofollow"/>
                <n.title.><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/>
                <h1><t>Advanced Search</t></h1>
 
                <p><t>Use the options below to precisely specify your search criteria.</t></p>
 
                <n.form.>
                    <table class="advanced-search-table">
                        <n.message_text_contains_group/>
                        <n.message_subject_contains_group/>
                        <n.author_name_group/>
                        <n.any_message_part_contains_group/>
                        <n.message_date_group/>
                        <n.submit_button/>
                    </table>
                </n.form.>
            </body>
        </n.html>
    </n.node_page.>
</macro>