sonar 3.0 removed some clases(Sonar::TreemapBuilder?)

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
Report Content as Inappropriate

sonar 3.0 removed some clases(Sonar::TreemapBuilder?)


will result error  with message "We're sorry, but something went wrong."

But it works with sonar 2.11  pefectly.   I think  soanr removed some clases. Thn which are the replacement class.            
 My target  is display directory and folders in tree structure.   please help me..

This post has NOT been accepted by the mailing list yet.
This post was updated on .
I am trying  the following code in .erb  file    with sonar 3.0  to show folders in tree structure.

        <%= select_tag 'size_metric', options_from_collection_for_select(
          Sonar::TreemapBuilder.size_metrics, :key, :short_name, Sonar::TreemapBuilder.default_size_metric.key),
          :id => 'select_size_metric', :class => 'small',:onchange => "load_treemap(current_resource_key);" %>
        <%= select_tag 'color_metric', options_from_collection_for_select(
            Sonar::TreemapBuilder.color_metrics, :key, :short_name, Sonar::TreemapBuilder.default_color_metric.key),
            :id => 'select_color_metric', :class => 'small', :onchange => "load_treemap(current_resource_key);" %>