Hi Hamilton,
I'd like to generate a yui menu with the ajaxhelper proc ah::yui::menu_from_list and so far I have:
- installed ajaxhelper from HEAD
- changed blnk-master.tcl and blank-master.adp following the instructions in the docs
- created a testyui.tcl :
set menu_list [list [list "Yahoo" "http://www.yahoo.it"] [list "Google" "http://www.google.it"] [list "Vestasoft" "http://www.vestasoft.com"]]
ah::yui::menu_from_list \
-varname mymenu \
-id actions \
-menulist $menu_list \
-arrayname yuimenuset script_show $yuimenu(show)
set script_render $yuimenu(render)
but now I'm stuck because I don't know how to proceed with the adp part. I tried to load the rendering script declaring it within the header_stuff property, and actually it is loaded but I get a JS error telling
Error: missing : after property idCould you kindly provide a working example?