xowiki::YUIContextMenu instproc render (public)

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

Defined in /var/www/openacs.org/packages/xowiki/tcl/yui-procs.tcl

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

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: