generic_paging

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 'report_inappropriate_content_panel' not found in [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node_page, html] stack = [basic, nabble, servlet, classic_view_namespace, forum_topic_namespace, node, node_poll, node_page, html]
  in report_inappropriate_content_panel(custom_tweak:topic_html:59) - <n.report_inappropriate_content_panel/>
  in body(nabble:topic.naml:146) - <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:topic.naml:141) - <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:topic.naml:138) - <n.node_page.>
  in topic_min_html(custom_tweak:topic_html:2) - <n.topic_min_html>
  in topic_html(nabble:topic.naml:59) - <n.topic_html/>
  in topic_html_page(nabble:topic.naml:46) - <n.topic_html_page/>
  in do(nabble:topic.naml:28) - <n.do/>
  in forum_topic_namespace(nabble:topic.naml:46) - <n.forum_topic_namespace.topic_html_page/>
  in do(nabble:topic.naml:29) - <n.do/>
  in classic_view_namespace(nabble:topic.naml:46) - <n.classic_view_namespace.forum_topic_namespace.topic_html_page/>
  in (nabble:topic.naml:45) - <subroutine name="classic_forum_topic" requires="basic,nabble,servlet">
   Usages of this macro
... in app.naml
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<macro name="generic_paging" requires="paging" parameters="margin,url">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_paging
Binary
Namespace: PagingNamespace
>
        <then>
            <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
                <style type="text/css">
                    span.current-page { padding: .1em .4em; }
                    span.page { padding: .1em; }
                    span.pages a { padding: .1em .4em; }
                    span.current-page { border-width:1px; border-style:solid; }
                    span.pages {
                        float:right;
                        white-space:nowrap;
                        font-weight:normal;
                    }
                </style>
            </n.put_in_head.>
            <n.remove_spaces_between_tags
Macro
Parameters: text
.>
                <span class="pages" style="padding:[n.margin/]">
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_at_beginning
Binary
Namespace: PagingNamespace
>
                        <then>
                            <n.first_page
Binary
Namespace: PagingNamespace
Parameters: do
.link
Macro
Requires: paging_page
Parameters: url
 url="[n.url/]" /> ...
                        </then>
                    </n.if.not.is_at_beginning>
                    <n.neighboring_pages
Binary
Namespace: PagingNamespace
Parameters: do
.show
Macro
Requires: paging_page
Parameters: url
 url="[n.url/]" />
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_at_end
Binary
Namespace: PagingNamespace
>
                        <then>
                            ... <n.last_page
Binary
Namespace: PagingNamespace
Parameters: do
.link
Macro
Requires: paging_page
Parameters: url
 url="[n.url/]" />
                        </then>
                    </n.if.not.is_at_end>
                </span>
            </n.remove_spaces_between_tags.>
        </then>
    </n.if.has_paging>
</macro>