Hello--
I?m using Builder::XmlMarkup to create a menu tree and need to have some
gee-whizzy javascript to make the menus expand, fade, twirl and dance. Ok,
maybe not the last bit. Anyhow, because the html is generated mainly through
code like:
xm.li(:id=> ?menu_#{unique_id}?, :class => ?menu?){
xm << link_to_function(?menu name?, ?function_name?)
}
Unfortunately, link_to_function is in a helper and not accessible to my
controller code. Anyone know how better to accomplish this?
Thanks,
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060207/4f24ff04/attachment.html