editor_quote_button

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 'anonymous_name_control' not found in [basic, nabble, servlet, node_page, html] stack = [basic, nabble, servlet, node, node_poll, node_page, html]
  in anonymous_name_control(custom_tweak:captcha5posts:4) - <then.anonymous_name_control/>
  in if(custom_tweak:captcha5posts:3) - <n.if.not.visitor.is_registered> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in reply_form(nabble:reply.naml:90) - <n.reply_form />
  in content(nabble:utilities.naml:915) - <n.content/>
  in form(nabble:reply.naml:87) - <n.form. onsubmit="return singleSubmit(this)">
  in if(nabble:reply.naml:85) - <n.if.not.global_is_var_set name="sent"> - public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)
  in body(custom_tweak:html:9) - <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(custom_tweak:html:2) - <n.html_impl>
  in html(nabble:reply.naml:54) - <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:reply.naml:16) - <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
... in text_editor.naml
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<macro name="editor_quote_button" parameters="original_text">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_empty
Binary
Namespace: BasicNamespace
Parameters: value
.original_text>
        <then>
            <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
                <script type="text/javascript">
                    Nabble.quoteOriginal = function(f) {
                        var $m = $("[name='message']");
                        $m.val($m.val() + $('#original').val());
                        $m.focus();
                    };
                </script>
            </n.put_in_head.>
            <td class="nowrap">
                <input type="hidden" id="original" name="original" value="[n.encode
Binary
Namespace: BasicNamespace
Parameters: text
.original_text/]"/>
                <button type="button" onclick="Nabble.quoteOriginal()" class="toolbar" title="[t]Quote the original message[/t]">
                    <img src="/images/quote.png" border="0" height="12" alt="Quote" style="vertical-align:middle"/>
                    <t>Quote</t>
                </button>
                <n.tooltip
Macro
Parameters: use_title, delay, contents, position
 use_title="true"/>
            </td>
        </then>
    </n.if.not.is_empty.original_text>
</macro>