xowiki::BootstrapNavbarDropdownMenuItem instproc render (public)

 <instance of xowiki::BootstrapNavbarDropdownMenuItem[i]> render

Defined in packages/xowiki/tcl/bootstrap-procs.tcl

doku

Partial Call Graph (max 5 caller/called nodes):
%3 test_create_folder_with_page create_folder_with_page (test xowf) xowiki::BootstrapNavbarDropdownMenuItem instproc render xowiki::BootstrapNavbarDropdownMenuItem instproc render test_create_folder_with_page->xowiki::BootstrapNavbarDropdownMenuItem instproc render test_create_workflow_with_instance create_workflow_with_instance (test xowf) test_create_workflow_with_instance->xowiki::BootstrapNavbarDropdownMenuItem instproc render template::add_event_listener template::add_event_listener (public) xowiki::BootstrapNavbarDropdownMenuItem instproc render->template::add_event_listener

Testcases:
create_folder_with_page, create_workflow_with_instance
Source code:
set disabledClass [expr {${:href} eq "" ? "disabled" : ""}]
html::li -class [string trimright "nav-item $disabledClass"] {
  set :CSSclass [string trimright "dropdown-item $disabledClass"]
  html::a [:get_attributes target href title id {CSSclass class}] {
    html::t ${:text}
  }
}
html::t \n
if {[info exists :listener] && ${:listener} ne ""} {
  lassign ${:listener} type body
  template::add_event_listener -event $type -id ${:id}  -preventdefault=false -script $body
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: