if

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">
Calls the "then" block if the 'condition' (dot_parameter) is true. Otherwise, calls the "else" block (if available).

Parameters

condition Condition to be tested dot parameter
else Block for the false case optional
then Block for the true case optional

Requires

basic

Binary Details

public static void nabble.naml.namespaces.BasicNamespace._if(nabble.naml.compiler.IPrintWriter,nabble.naml.compiler.Interpreter)

Other Binary Commands in basic

append   block   both   call_depth   capitalize   catch_exception   command_exists   command_is_binary   command_name   command_source_name   contains_substring   crlf   either   encode   ends_with   equal   exit   global_is_var_set   global_set_var   global_var   gt   has_exception   hide_null   is_empty   is_in_command   is_null   lt   no_output   nop   not   prepend   random   regex   regex_quote   regex_replace_all   set_var   space   starts_with   substring   throw_runtime_exception   throw_template_exception   to_lower_case   trim   uplevel_set_var   uplevel_var   use_html_encoder   use_text_encoder   use_url_encoder   var