xowiki::YUIContextMenu instproc render (public)

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

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

http://developer.yahoo.com/yui/menu/#contextmenu

Partial Call Graph (max 5 caller/called nodes):
%3 html::div html::div html::script html::script html::t html::t html::ul html::ul security::csp::nonce security::csp::nonce (public) xowiki::YUIContextMenu instproc render xowiki::YUIContextMenu instproc render xowiki::YUIContextMenu instproc render->html::div xowiki::YUIContextMenu instproc render->html::script xowiki::YUIContextMenu instproc render->html::t xowiki::YUIContextMenu instproc render->html::ul xowiki::YUIContextMenu instproc render->security::csp::nonce

Testcases:
No testcase defined.
Source code:
append :CSSclass " yuimenu"
html::div [:get_attributes id {CSSclass class}] {
  html::div -class "bd" {
    html::ul -class yuicm {
      foreach li [:children] {$li render}
    }
  }
  html::script -nonce [security::csp::nonce] -type "text/javascript" {
    html::t "var [:js_name] = new YAHOO.widget.ContextMenu('[:id]', { trigger: '${:trigger}' } );"
    html::t "[:js_name].render(document.body);"
  }
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: