xowiki::BootstrapNavbarDropdownMenuItem instproc render (public)
<instance of xowiki::BootstrapNavbarDropdownMenuItem> render
Defined in /var/www/openacs.org/packages/xowiki/tcl/bootstrap-procs.tcl
doku
- 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