Questions tagged [netzke]

Netzke is an elegant and powerful architectural solution to several known problems that accompany development of complex AJAX-driven RIA (Rich Internet Applications). No matter how complex your application is, Netzke will help you keep your code maintainable and clean.

Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Sorting data in Rails by own SQL query

I'm working on a Rails application with gem Netzke. I have GridPanel from Netzke::Basepack with my own buttons. How do I make actions for them to filter the table of GridPanel by my own SQL query? I ...
user avatar
1 vote
1 answer
144 views

My checkbox columns don't work for associations in Netzke?

Ive setup a many-to-many relationship through a join table, with components similar to the boss_clerks demo. (Ive included a contrived example). Everything works except the CheckColumn on the ...
jsn's user avatar
  • 13
0 votes
1 answer
117 views

Add action in netzke rails3

I wrote this docs at https://github.com/netzke/netzke/wiki/Adding-custom-actions-to-a-component But I do not understand this. undefined method `js_method' Full component code class Airports < ...
user3081809's user avatar
0 votes
2 answers
338 views

Rails Netzke v0.10.1 - Refreshing grid panel within a tabpanel

I try to make a Netzke component with one master grid and subgrids in the south region of a Panel. When a row in the maingrid is selected then should the subgrids be filtered with records related to ...
TomG's user avatar
  • 81
0 votes
1 answer
415 views

Grid won't render on first page load (Netzke + Rails 4 + extjs)

I experience a weird behavior using netzke + rails 4 + extjs-4.2.1 Every time the page load at first time the div is displayed but the grid is not loaded until I refresh the page. I can't reproduce ...
ELavicount's user avatar
0 votes
1 answer
235 views

How to write sorting scope for netzke grid column?

When I am trying to implement sorting scope for one of my grid columns it always throws an error as NoMethodError (undefined methodto_sym' for #)` My code is { :name => :id, :text => "...
ejo's user avatar
  • 446
0 votes
1 answer
120 views

Netzke change form header title

def preconfigure_record_window(c) super c.header = true c.width = 600 c.draggable = false c.title = "New Title" end In this code I want to change the form title. Whatever I am trying it ...
ejo's user avatar
  • 446
0 votes
1 answer
197 views

Netzke can not work

I follow this tutorial step by step. My ruby version is 1.9.3, and rails version is 3.2.16. But still can not work. throw me an error: NameError undefined local variable or method `netzke' for #<...
user3160143's user avatar
0 votes
1 answer
145 views

configuring netzke javascript code using inheritance (defining js code in a parent class with parameters)

I have two netzke grid components with action columns (and more on the way). The action columns are nearly identical, depending on the type. The only difference is the action to be done when clicking ...
nathanvda's user avatar
  • 49.6k
0 votes
1 answer
224 views

make panel scrollable in accordion using netzke

I have a netzke application, with a sidebar and a main area. In the main area I show a map. In the sidebar I have an accordion. In the accordion I have a menu, and when clicking on a menu-item, I ...
nathanvda's user avatar
  • 49.6k
0 votes
1 answer
256 views

Netzke Has many relation and rails fields_for

I have a simple has_many relation that can be implemented by rails fields_for. I am looking for the same behavior for Netzke. Here is the classes: class Question < ActiveRecord::Base ...
Nazar Hussain's user avatar
0 votes
1 answer
251 views

netzke 0.8 not working with rails 4.0

I am using netzke gem - ~> 0.8.0 version with rails 4.0 and ruby 2.0 I am getting an error when I start the rails server. Basically, my routes code is like this: RailsApp::Application.routes.draw do ...
VNarasimhaM's user avatar
  • 1,452
0 votes
1 answer
279 views

Netzke Grid filtering

I have an issue related to filtering data in Netzke Grid. column :user_id do |c| c.editor = {xtype: :combobox, editable: false, min_chars: 2} end It is mentioned in the doc that, A ...
ejo's user avatar
  • 446
0 votes
2 answers
336 views

How to get the values of a table columns other than primary key

For getting the value of the primary key of the selected row, we can use record.get('id') in extjs. How to get the values of other columns (Say, if I have a column named name or t_id). In my case when ...
ejo's user avatar
  • 446
0 votes
0 answers
121 views

Netzke Grid rows from the result of a DB query

I need to create an interface which contains a Form and an empty Grid. When I select the values in the Form and submits a query needs to created using 3 DB tables and the result of the query should be ...
ejo's user avatar
  • 446
0 votes
0 answers
82 views

Netzke column locking

I saw a feature in Ext JS document - http://dev.sencha.com/deploy/ext-4.0.1/examples/grid/locking-grid.html. We can lock a column by set the option "locked" according the document, but when I did this ...
ejo's user avatar
  • 446
1 vote
1 answer
177 views

Secure netzke rails components

I have a components, cruid for my app, with Netzke class Services < Netzke::Basepack::Grid and view where I run them <%= netzke services %> I secured a controller for this view with ...
Arturas Lapinskas's user avatar
2 votes
1 answer
120 views

Netzke extending actions

I want to extend the behavior of apply action in netzke grid. While applying changes in the grid I want to display a confirmation message (same as in delete action). What I have done is given below. ...
ejo's user avatar
  • 446
0 votes
1 answer
124 views

Netzke confirmation popup

In Netzke Grid while deleting a record a confirmation is asked. How can we implement the same for apply and save actions. Thanks.
ejo's user avatar
  • 446
1 vote
1 answer
745 views

How to filter a combobox which depends on the other combobox in a grid or form(netzke)?

The domain models: type1, type2, type3 and plant. $ rails g model type1 name:string $ rails g model type2 name:string $ rails g model type3 type1:references type2:references name:string $ rails g ...
douyw's user avatar
  • 4,014
0 votes
2 answers
295 views

Rails saving data from associated form

How can I get the data from an associated form and insert it to the associated table from the main model? class Supplier < ActiveRecord::Base has_one :account, foreign_key: "acc_sup_id", :...
ejo's user avatar
  • 446
1 vote
1 answer
370 views

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 ...
douyw's user avatar
  • 4,014
-1 votes
1 answer
142 views

Autosave issue in rails 3.2

In the given code, class Supplier < ActiveRecord::Base has_one :criteria, foreign_key: "crt_sup_id", :autosave => true self.primary_key = 'sup_id' end class Criteria < ...
ejo's user avatar
  • 446
0 votes
1 answer
91 views

bind 2 instances to a single form - netzke

I have designed a form using netzke. In the same page same form is repeated. While submitting this form both objects should saved to DB.
ejo's user avatar
  • 446
0 votes
1 answer
249 views

search functionality - netzke grid

I am using netzke for one of my projects. When I checked the search functionality in netzke grid it is not working for foreign keys. I have even checked the demo application "Yanit" and the same error ...
ejo's user avatar
  • 446
0 votes
1 answer
127 views

Netzke controller generation error

i'm new to Ruby and Rails and asking about error while generating simple controller http://writelesscode.com/blog/2012/10/20/extjs-rails-crud-application-in-7-minutes/ $ rails g controller welcome ...
sparta's user avatar
  • 1
0 votes
2 answers
314 views

Undefined method `new' Netzke Starting Tutorial

I followed the starting tutorial for Netzke, but when the page would show me the grid, I have an error : NoMethodError in Welcome#index undefined method `new' for Tasks:Module Extracted source (...
Arq's user avatar
  • 3
1 vote
1 answer
507 views

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 ...
Amala's user avatar
  • 1,718
0 votes
2 answers
425 views

Creating charts with Netzke

Does anyone knows the way to create ext js charts with Netzke? I guess there is no such component right know, but maybe someone have an idea. What are the basic steps to connect using Rails and EXT ...
jan_zapal's user avatar
0 votes
1 answer
182 views

Association among three models in Netzke

I have 3 models: Machine,Mouse,KeyBoard these are in association. class Machine has_many: mouses has_many: keyboards end class Mouse belongs_to: machine end class KeyBoard belongs_to: ...
Tekuri Sreenivasulu's user avatar
1 vote
1 answer
207 views

How to display three grid in netzke

How to display three grid in netzke. The tables I want display are, Boss => Clerk => Task has_many relation between Boss and Clerk and also, has_many relation between Clerk and Task. Please help ...
praveen k's user avatar
0 votes
1 answer
177 views

How to add single form in three tab using netzke tabpanel and only one save button

Please any one help me.. How to add single form in three tab using netzke tabpanel and only one save button. Thanks
praveen k's user avatar
1 vote
2 answers
616 views

Use params of loadNetzkeComponent in configuration

Is it possible to pass extra parameters to "loadNetzkeComponent" and use them in the compnent configuration? Example: JavaScript: this.loadNetzkeComponent({name: 'Erp::OrderPanel', container:...
Paul Spieker's user avatar
0 votes
1 answer
552 views

Sprockets::FileOutsidePaths error with netzke

I have rails 3.1.0 & ruby 1.9.2 playing around with netzke & extjs4. I couldn't get extjs integrated with rails. please help. I am following this tutorial I have defined the symbolic path ...
user1470006's user avatar
0 votes
1 answer
358 views

netzke extjs 4 rails Grid not visible

I'm playing with ExtJs 4.x and netzke gems (netzke-basepack (0.7.4) netzke-core (0.7.5) netzke-persistence (0.1.0) I've configured all correctly but of course, something must be wrong as I can't see ...
mongeta's user avatar
  • 2,301
2 votes
0 answers
184 views

Netzke basepack. Need advice with multi uploading fields

Is there any easy way to include the multiupload feature to NetzkeFormView or GridView(AddInForm)? My current image uloading field with carrierwave is: {:name => :image_link, :xtype => :...
sc00p's user avatar
  • 23
0 votes
1 answer
136 views

Cucumber with Extjs4 choose radio step not working

I'm Working on Ruby on rail 3.1 with Netzke 0.7.4 and Cucumber. I use Cucumber with Netzke it work great but I have found some problem on choose radio step. I use this step. When /^(?:|I )choose "([...
Rafaiel's user avatar
  • 302
0 votes
1 answer
173 views

using Cucumber with Netzke to call an action in Grid Panel

I'm working on Rails(3.1.3) with Netzke(0.7.3). I very new for Cucumber. add_account_for_user.feature Feature: Add Account For User Feature In order to add login account As an Administrator I want ...
Rafaiel's user avatar
  • 302
0 votes
2 answers
355 views

Using Ext JS Plugins in Netzke

https://github.com/rbartholomay/ExtJS.ux.HtmlEditor.Plugins is a group of ExtJS4 compatible plugins for a htmleditor field. What would be the best way of using these plugins in a Netzke form panel ...
beno1604's user avatar
  • 891
0 votes
1 answer
135 views

Extended search presets in grid panel

What is required to save extended search presets work? When I click on Save in Search window, popup say Preset successfully saved. I see parameters passed to savePreset method, but presets are ...
Dmytro's user avatar
  • 149
0 votes
1 answer
566 views

netzke FormPanel

I think i stucked here. I have a model (Test) with 3 fields: id, name, name2. So i want to write there something and click on Apply button on bottom and if all fields are filled and passed validation ...
remizpez's user avatar
0 votes
1 answer
278 views

Set popup error message duration in Netzke

Now I'm working on Rails 3.1.3 with Netzke now. And I want to config duration of the error message. that show when have field validation error in Grid Panel. Cause it's very fast fade away (around ...
Rafaiel's user avatar
  • 302
2 votes
0 answers
392 views

How to use set_result with transacion in endpoint (Netzke gem)

I have create an endpoint for create new Client. At first I have create Client and use transaction (see code below). It's work normally. # Before add set_result js_method :on_new_contact, <&...
Rafaiel's user avatar
  • 302
0 votes
1 answer
152 views

How to create helper for Netzke component?

I want to create helper method for netzke component. Because now I put that in netzke component class. And it's look ugly code for me I want to change it. Thanks!! :)
Rafaiel's user avatar
  • 302
0 votes
1 answer
715 views

How can I use devise helper in netzke?

I'm using Devise and Netzke gems. My rails version is 3.1.1 I want to access a devise helper (current_user) in netzke component. But it not in model or views. It in rails_root/app/component/...
Rafaiel's user avatar
  • 302
2 votes
1 answer
613 views

Rails 3.1 Netzke Asset Pipeline Issue

Walking through this tutorial and am having problems with Rails Asset Pipeline. http://blog.writelesscode.com/blog/2010/06/14/extjs-rails-crud-application-in-7-minutes/ I make the symlink: > ln -...
mikeborgh's user avatar
  • 1,182
1 vote
2 answers
523 views

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 ...
Brice's user avatar
  • 11
1 vote
1 answer
458 views

Netzke / ExtJS 4 - How to implement Dynamic number of Panels inside an Accordion Panel

I am trying to read strings off a table in the database and use them as titles in panels inside an accordion panel. In short the number of panels inside the accordion can change dynamically. Here is ...
CadJunkie's user avatar
4 votes
4 answers
1k views

Is anyone using Netzke in production?

I'm building an Ext.js application, and I'm planning on using rails for the backend. I'm trying to decide whether to use Netzke, or roll my own. Is anyone using Netzke in production?
nelstrom's user avatar
  • 18.7k