Posted by Bryan Larsen on 2012-12-21
As of 2.0.0.pre6, Hobo can be used without jQuery-UI if you are using the
hobo_bootstrap theme along with the
hobo_bootstrap_ui provide various overlapping capabilities to Hobo. This post will describe what combinations are valid, which aren’t, and the capabilities provided.
You must include either
hobo_bootstrap_ui or both.
hobo_jquery_ui depends on
hobo_bootstrap_ui depends on
hobo_bootstrap_ui cannot be used with alternate themes, such as
If you are using
hobo_jquery_ui you may also remove
jQuery-UI from your system, but you will lose effects and spinner positioning.
As of Hobo 2.0.0.pre8, a default invocation of the Hobo generator includes all three items, with
hobo_bootstrap_ui loaded after
hobo_jquery_ui so that
hobo_bootstrap_ui is preferred when there is overlap.
If a theme other than
hobo_bootstrap is chosen,
hobo_bootstrap_ui is not included in the application but
jQuery-UI is always included by the Hobo generator.
If you are using both plugins, the plugin loaded last will provide these three tags. These tags are just aliases, though: the underlying implementations will still be available.
hobo_jquery_ui provides <sortable-collection> and <sortable-input-many>, which do not have equivalents in
hobo_bootstrap_ui. These tags are used by Hobo if you add the
acts_as_list plugin to a hobo model.
Both plugins provide other tags that you can use in your application, but which aren’t ever used automatically by Hobo.
hobo_bootstrap_ui contains fewer tags, although that is likely to grow in the future.
Consult the documentation for a full listing.
If you do not use
hobo_jquery_ui in your application, then jQuery-UI itself becomes optional. If you remove jQuery-UI you also lose the ability to use effects with part AJAX as well as the ability to position the AJAX spinner
hobo_jquery_ui from your application, remove references to it in
app/views/taglibs/*_site.dryml, and then run
hobo_jquery_ui is removed, you may remove jQuery-UI from your system by removing references to it in