list_current_groups

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 'mailing_list_information' not found in [basic, nabble, servlet, app_namespace, node_page, html, node, node_poll] stack = [basic, nabble, servlet, app_namespace, node, node_poll, node_page, html, node, node_poll]
  in mailing_list_information(custom_tweak:tweaks:10) - <n.mailing_list_information/>
  in page_node(custom_tweak:tweaks:6) - <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(responsive:responsive.naml:13) - <n.body/>
  in nabble_html(responsive:responsive.naml:9) - <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: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(nabble:app.naml:85) - <n.node_page.>
  in app_min_html(nabble:app.naml:67) - <n.app_min_html>
  in app_html(ads_manual_1:ads_manual_1.naml:92) - <n.app_html>
  in view_standard_page(custom_tweak:tweaks:2) - <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(custom_tweak:tweaks:2) - <n.apply_app_namespace.view_standard_page />
  in (custom_tweak:tweaks:1) - <override_subroutine name="view_standard" requires="basic,nabble,servlet">
   Usages of this macro
... in user_profile.naml
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<macro name="list_current_groups" requires="user">
    <!-- List the groups of the user-->
    <n.set_local_user
Macro
Parameters: user
.this_user
Binary
Namespace: UserNamespace
Parameters: do
 />
    <div style="margin-top:.4em">
        <strong><t>Groups</t>:</strong>
        <n.local_user
Macro
Parameters: do
.groups
Binary
Namespace: UserNamespace
Parameters: do
.>
            <n.sort
Binary
Namespace: StringList
/>
            <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_more_elements
Binary
Namespace: ListSequence
Parameters: n
>
                    <then><n.current_group
Binary
Namespace: GroupList
/>,&nbsp;</then>
                    <else><n.current_group
Binary
Namespace: GroupList
/></else>
                </n.if.has_more_elements>
            </n.loop.>
        </n.local_user.groups.>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.is_site_admin
Macro
Requires: user
>
            <then>
                <div style="margin-top:.3em">
                    <img src="/images/user_group.png" align="absmiddle" width="18" height="16"/>
                    <a href="[n.local_user
Macro
Parameters: do
.change_user_groups_path
Macro
Requires: user
/]"><t>Add / Remove Groups</t></a>
                    | <a href="[n.local_user
Macro
Parameters: do
.edit_profile_path
Macro
Requires: user
/]"><t>Edit Profile</t></a>
                </div>
            </then>
        </n.if.visitor.is_site_admin>
    </div>
</macro>