开发者

Netzke on RAILS 3.1

开发者 https://www.devze.com 2023-04-11 06:33 出处:网络
I am newbe here about Netzke.. I am trying to follow the installation process in the Netzke web site http://www.netzke.organd also from the git Netzke-core site..

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 :)

0

精彩评论

暂无评论...
验证码 换一张
取 消