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):
%3 Class ::xowf::test_item::Question_manager Class ::xowf::test_item::Question_manager (public) xowiki::bootstrap::modal_dialog_popup_button xowiki::bootstrap::modal_dialog_popup_button Class ::xowf::test_item::Question_manager->xowiki::bootstrap::modal_dialog_popup_button xowf::test_item::Question_manager instproc exam_configuration_popup xowf::test_item::Question_manager instproc exam_configuration_popup (public) xowf::test_item::Question_manager instproc exam_configuration_popup->xowiki::bootstrap::modal_dialog_popup_button

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
[ hide source ] | [ make this the default ]
Show another procedure: