forgot_password_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 'is_hidden_mailing_list' not found in [basic, nabble, servlet, app_namespace, node_page, html, node] stack = [basic, nabble, servlet, app_namespace, node, node_page, html, node]
  in is_hidden_mailing_list(custom_tweak:mailing_list_information:2) - <n.not.is_hidden_mailing_list/>
  in not(custom_tweak:mailing_list_information:2) - <n.not.is_hidden_mailing_list/> - public static void nabble.naml.namespaces.BasicNamespace.not(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in both(custom_tweak:mailing_list_information:2) - <n.if.both condition1="[n.is_associated_with_mailing_list_archive/]" condition2="[n.not.is_hidden_mailing_list/]"> - public static void nabble.naml.namespaces.BasicNamespace.both(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in if(custom_tweak:mailing_list_information:2) - <n.if.both condition1="[n.is_associated_with_mailing_list_archive/]" condition2="[n.not.is_hidden_mailing_list/]"> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in mailing_list_information(nabble:app.naml:237) - <n.mailing_list_information/>
  in page_node(nabble:app.naml:233) - <n.page_node.> - public void nabble.view.web.template.NodePageNamespace.page_node(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in app_body_header(nabble:app.naml:77) - <n.app_body_header/>
  in body(nabble:app.naml:93) - <n.body/>
  in body(nabble:utilities.naml:10) - <n.body/>
  in body(custom_tweak:html_impl:8) - <n.body/>
  in nabble_html(custom_tweak:html_impl:4) - <n.nabble_html> - public void nabble.view.web.template.ServletNamespace.nabble_html(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.ScopedInterpreter)
  in html_impl(nabble:utilities.naml:4) - <n.html_impl>
  in html(nabble:app.naml:88) - <n.html>
  in do(nabble:utilities.naml:976) - <n.as_node_page.do/>
  in as_node_page(nabble:utilities.naml:976) - <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:981) - <n.get_node_from_request_parameter.do/>
  in get_node_from_request_parameter(nabble:utilities.naml:981) - <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:980) - <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:976) - <n.get_node_from_parameter.as_node_page.do/>
  in node_page(nabble:app.naml:85) - <n.node_page.>
  in app_min_html(nabble:app.naml:67) - <n.app_min_html>
  in app_html(custom_tweak:view_standard_page:3) - <n.app_html>
  in view_standard_page(nabble:view_standard.naml:6) - <n.view_standard_page/>
  in do(nabble:app.naml:36) - <n.do/>
  in do(nabble:app.naml:32) - <n.do/>
  in app_namespace(nabble:app.naml:36) - <n.app_namespace.do/>
  in apply_app_namespace(nabble:view_standard.naml:6) - <n.apply_app_namespace.view_standard_page />
  in (nabble:view_standard.naml:5) - <subroutine name="view_standard" requires="basic,nabble,servlet">
   Usages of this macro
... in forgot_password.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
<macro name="forgot_password_page" requires="servlet">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
 name="error" value="[n.false
Binary
Namespace: BasicNamespace
/]" />
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_submitted_form
Macro
Requires: servlet
>
        <then.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.exists_user_for_email
Binary
Namespace: NabbleNamespace
Parameters: email
.email_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
>
            <then>
                <n.set_local_user
Macro
Parameters: user
.get_user_from_email
Binary
Namespace: NabbleNamespace
Parameters: do, email
 email="[n.email_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/]" />
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.local_user
Macro
Parameters: do
.is_registered
Binary
Namespace: UserNamespace
>
                    <then>
                        <n.local_user
Macro
Parameters: do
.send_password_mail
Macro
Requires: user
/>
                        <n.password_mail_sent_page
Macro
Requires: servlet
/>
                    </then>
                    <else.unregistered_user_forgot_password_page
Macro
Requires: servlet
/>
                </n.if.local_user.is_registered>
                <n.exit
Binary
Namespace: BasicNamespace
/>
            </then>
            <else.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
 name="error" value="[n.true
Binary
Namespace: BasicNamespace
/]" />
        </then.if.exists_user_for_email.email_field.value>
    </n.if.is_submitted_form>
    <n.html
Macro
Parameters: head, body
>
        <head>
            <meta name="robots" content="noindex,nofollow"/>
            <n.title
Macro
Parameters: text
.><t>Forgot Password?</t></n.title.>
            <style type="text/css">
                div.field-title { margin-top: 0; }
            </style>
        </head>
        <body>
            <h1><t>Forgot Password?</t></h1>
 
            <p><t>Please enter the email address you used to register and click on "Submit".
                We will email you a link to reset your password.</t></p>
            <p>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.var
Binary
Namespace: BasicNamespace
Parameters: name
 name="error">
                    <then.format_error
Macro
Parameters: message, prompt
 message="[t]No registered user found with this email.[/t]" prompt="[t]Please enter a correct email address and try again.[/t]" />
                </n.if.var>
                <n.form
Macro
Requires: servlet
Parameters: macro, method, onsubmit, content
.>
                    <div class="second-font field-title"><t>Email</t></div>
                    <n.email_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 size="45" />
                    <input type="submit" value="[t]Submit[/t]" />
                </n.form.>
            </p>
            <n.show_email_warning
Macro
Requires: servlet
/>
        </body>
    </n.html>
</macro>