i using activeadmin , have file doing this: activeadmin.register role something--- end however, server gives me error: runtimeerror: circular dependency detected while autoloading constant role /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:461:in `load_missing_constant' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:184:in `const_missing' ~/desktop/boxfox/app/admin/role.rb:1:in `<top (required)>' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:424:in `load' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:424:in `block in load_file' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:616:in `new_constants_in' /library/ruby/gems/2.0.0/gems/activesupport-4.0.10/lib/active_support/dependencies.rb:423:in `load_file' /library/ruby/gems/2.0.0/gems/activesuppor...
i have designed checkbox treeviewer using jface when run program doesnot display thing on ui.i not able find issue is.please me whrer problem new jface. private void createtreemenu(composite parentcomposite){ /*treeitem = new treeitem(tree, swt.multi | swt.check | swt.virtual |swt.border ); treeitem.settext("(1)test session"); treeitem.setimage(new image(null, treeviewer.class.getclassloader().getresourceasstream("icons/folder-main.jpg")));*/ composite treemenu = new composite(parentcomposite, swt.border); treemenu.setlayout(new gridlayout(1, false)); treemenu.setlayoutdata(new griddata(griddata.fill, griddata.fill, true, true)); /*tree = new tree (treemenu, swt.multi | swt.check |swt.virtual ); griddata treegd = new griddata(swt.fill, griddata.fill, true, true); tree.setlayoutdata(treegd);*/ checkboxtreeviewer treeviewer=new checkboxtre...
Comments
Post a Comment