Netzke on RAILS 3.1
I am newbe here about Netzke.. I am trying to follow the installation process in the Netzke web site http://www.netzke.org and also from the git Netzke-core site..
I just download the EXT JS 4.0.2 zip file from Sencha, extract it and try to symbolic link the ext JS code to <railsdir>public/extjs
directory..
and with the rails 3.1, I try also开发者_开发知识库 to link it to <railsdir>/app/assets/
javascripts and also <railsdir>/app/assets/stylesheets
..
But it still does not work, because it doesn't find the file /extjs/resources/css/ext-all.css
..
Please can you help which path or directory to link the EXT JS code to?
Linking the /code/sencha/EXT-4.0.2a to public/extjs , that what I have done, but no success..
set config.assets.debug = false in environment/development.rb file it will work with Netzke
I'm just newbie for Netzke too. I think your problem with model_name
method is that you Use GridPanel
without a config model to it. You should do something like this:
<% netzke :some_component, :class_name => "Netzke::Basepack::GridPanel", :model => "YourModel" %>
It should work :)
精彩评论