process_registration

NAML documentation   Watch a video
   Usages of this macro
... in register.naml
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<macro name="process_registration">
    <n.catch_exception
Binary
Namespace: BasicNamespace
Parameters: id, do
. id="save-block">
        <n.validate_registration_form
Macro
/>
        <n.check_captcha
Binary
Namespace: ServletNamespace
/>
 
        <n.registration
Binary
Namespace: ServletNamespace
Parameters: password, user_name, next_url, do, email
>
            <user_name><n.user_name_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></user_name>
            <email><n.email_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></email>
            <password><n.password_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></password>
            <next_url><n.nextUrl_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/></next_url>
            <do>
                <n.send_registration_email
Macro
Parameters: next_url, email, key
                    email="[n.email_field
Macro
Parameters: do
.value
Binary
Namespace: FieldNamespace
/]"
                    next_url="[n.nextUrl_field.value/]"
                    key="[n.key
Binary
Namespace: RegistrationNamespace
/]"
                />
                <n.redirect_to
Binary
Namespace: ServletNamespace
Parameters: url
.registering_page_path
Macro
/>
            </do>
        </n.registration>
    </n.catch_exception.>
</macro>