问题标签 [netzke]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
extjs - 使用 Netzke 创建图表
有谁知道用 Netzke 创建 ext js 图表的方法?我想没有这样的组件知道,但也许有人有一个想法。在没有 Netzke 的情况下,使用 Rails 和 EXT JS 进行连接的基本步骤是什么?
ruby-on-rails-3 - Netzke with file uploads, preferably carrierwave
I have a model with a single field with carrierwave for file upload. I searched the google group but don't find a straightforward way to add file uploads to netzke component. I will be happy with doing it in a panel view with a regular browser file upload, i don't need anything fancy.
I just saw one of the demos has a file upload, the Paging form with custom layout. I think I still need guidance how to put it into the Basepack Grid
ruby-on-rails - 未定义方法 `new' Netzke 入门教程
我按照Netzke 的入门教程进行操作,但是当页面显示网格时,出现错误:
Welcome#index 中的 NoMethodError
任务的未定义方法“新”:模块
提取的源代码(在第 1 行附近):
1: <%= netzke:tasks, height: 400 %>
我在教程中给出了完全相同的代码。
ruby-on-rails - Netzke 控制器生成错误
我是 Ruby 和 Rails 的新手,在生成简单控制器时询问错误 http://writelesscode.com/blog/2012/10/20/extjs-rails-crud-application-in-7-minutes/
/Library/Ruby/Gems/1.8/gems/netzke-core-0.8.2/lib/netzke/core/railz.rb:2:inrequire': /Library/Ruby/Gems/1.8/gems/netzke-core-0.8.2/lib/netzke/core/railz/routes.rb:18: syntax error, unexpected ':', expecting kEND (SyntaxError)
...refix}/:action(.:format)", to: controller.to_s, as: 'netzke'
^
/Library/Ruby/Gems/1.8/gems/netzke-core-0.8.2/lib/netzke/core/railz/routes.rb:18: syntax error, unexpected ':', expecting '='
...at)", to: controller.to_s, as: 'netzke'
^
from /Library/Ruby/Gems/1.8/gems/netzke-core-0.8.2/lib/netzke/core/railz.rb:2
from /Library/Ruby/Gems/1.8/gems/netzke-core-0.8.2/lib/netzke-core.rb:10:in
来自/Library/Ruby/Gems/1.8/gems/netzke-core- 0.8.2/lib/netzke-core.rb:10 来自 /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:inrequire'
from /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in
来自 /Library/Ruby/ Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:ineach'
from /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in
需要来自 /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb来自/Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler.rb:128:in require'的:55:in each'
from /Library/Ruby/Gems/1.8/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in
require'require'
from /Users/sparta/Work/rails/erp/config/application.rb:7
from /Library/Ruby/Gems/1.8/gems/railties-3.2.12/lib/rails/commands.rb:24:in
来自/Library/Ruby/Gems/1.8/gems/railties-3.2 .12/lib/rails/commands.rb:24 来自 script/rails:6:in `require' 来自 script/rails:6
也许路线有问题?我错过了什么?
ruby-on-rails - 搜索功能 - netzke 网格
我正在将 netzke 用于我的一个项目。当我检查 netzke 网格中的搜索功能时,它不适用于外键。我什至检查了演示应用程序“Yanit”,同样的错误(无法连接到服务器)也发生在那里。
另外我想知道我们如何从 netzke 网格中删除操作链接。请帮忙..
ruby-on-rails-3 - 将 2 个实例绑定到一个表单 - netzke
我使用 netzke 设计了一个表格。在同一页面中重复相同的表格。提交此表单时,两个对象都应保存到 DB。
ruby-on-rails-3 - rails 3.2中的自动保存问题
在给定的代码中,
提交表单时自动保存不起作用。创建供应商记录但不创建标准。
表格代码
控制器代码
ruby-on-rails - how to implement accordion per user using netzke?
Here is the requirement:
In a border layout UI, a user(staff) grid is at the west, while the accordion at the center will show the selected user's several collections(say, awards, etc) in each panel when one staff is selected.
The code:
The error is "NameError (uninitialized constant Awards)". Seems :awards component can not be found, even though it's already defined in the above.
Can one component be embedded in another one? Or how to solve it? Thanks.
ruby-on-rails-3 - Rails 从关联表单中保存数据
如何从关联表单中获取数据并将其从主模型插入到关联表中?
我有一个供应商和帐户的组合表格。当我提交时,我需要找到一种方法将相应的值插入到供应商和帐户中。问题是供应商值正确插入但不是帐户。
我在几个论坛、小组甚至堆栈中都问过同样的问题,但似乎没有人给出令人信服的答案。
ruby-on-rails - 如何过滤依赖于网格或表单(netzke)中其他组合框的组合框?
领域模型:type1、type2、type3 和植物。
在植物的网格面板中,将有三个组合框列:type1、type2 和 type3。Type3 取决于 type1 和 type2。选择type1和type2中的任何一个时如何过滤type3组合框?