xowiki::bootstrap::modal_dialog_popup_button (public)
xowiki::bootstrap::modal_dialog_popup_button -target target \ -label label [ -title title ] [ -CSSclass CSSclass ]
Defined in packages/xowiki/tcl/bootstrap-procs.tcl
Generic modal dialog wrapper.
- Switches:
- -target (required)
- ID of the target modal dialog
- -label (required)
- HTML markup for the modal popup label (can contain tags)
- -title (optional)
- title for the anchor (help popup), plain text
- -CSSclass (optional)
- Returns:
- HTML markup
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if {[::template::CSS toolkit] eq "bootstrap5"} { set data_attribute "data-bs" } else { set data_attribute "data" } return [ns_trim -delimiter | [subst { |<a class="$CSSclass" href="#" title="$title" | $data_attribute-toggle="modal" $data_attribute-target='#$target'> | $label |</a> }]]XQL Not present: Generic, PostgreSQL, Oracle