netzke / netzke-core

Framework for Sencha Ext JS + Ruby on Rails client-server components
http://netzke.org
Other
263 stars 77 forks source link

quest about netzke_init #18

Closed lolomarx closed 13 years ago

lolomarx commented 13 years ago

the helper can generate above code ,but no rake task can help to generate /netzke/ext.js and /netzke/ext.js . In my view , the core.js must need, but also no task to generate it in the /netzke folder and the netzke_init doesn't include it.

I follow below document but not work: https://github.com/skozlov/netzke-core/wiki/Installation https://github.com/skozlov/netzke-core/wiki/Hello-world-extjs my

lolomarx commented 13 years ago

the error msg is : xt is not defined: xt.TabPanel.prototype.idDelimiter = "___";

lolomarx commented 13 years ago

first error msg is : Netzke is not defined http://h.bugutang.com/netzke/core.js?1293618927 Line 10

mxgrn commented 13 years ago

Did you add the "netzke" route? /netzke/ext.js is dynamically generated.

lolomarx commented 13 years ago

yes, I add the route as below: Hotel::Application.routes.draw do resources :news

get "home/index" netzke after the page renderd.I am try to access the "/netzke/ext.js" but only "404" page returned.

The test page is http://h.bugutang.com/

thx

mxgrn commented 13 years ago

Are you using Netzke gems straight from GitHub?

mxgrn commented 13 years ago

I looked at your test page, and it's strange that the netzke/ext.js page is trying to be served by nginx, NOT by rails. You may want to check your nginx configuration.

mxgrn commented 13 years ago

You may have luck asking on http://groups.google.com/group/netzke/.