search for: ajaxscaffold

Displaying 20 results from an estimated 35 matches for "ajaxscaffold".

2006 Aug 02
2
Ajax_Scaffold display from link table
...ts grif i want to display the corresponding catgory name and when it comes to adding a new category or editing the have a drop down list to select from. category.rb require ''ajax_scaffold'' class Category < ActiveRecord::Base belongs_to :document @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }) ] end document.rb require ''ajax_scaffold'' class Document < ActiveRecord::Base has_one :category @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }), Aja...
2006 Mar 04
4
AjaxScaffold 2.2.0 released with graceful JS degredation
Just wanted to let anyone know that might have checked out the generator before and couldn''t use it b/c you''re project required graceful degredation. Well its in there now. Thanks everyone and enjoy. Demo: http://ajaxscaffold.height1percent.com Release Notes: http://www.height1percent.com/articles/2006/03/04/ajaxscaffold-2-2-0-released-with-graceful-js-degredation -- Richard White Interface Designer Blog | www.height1percent.com Easy to use online calendar | www.kiko.com Keep in touch with relatives | www.youlookfamil...
2006 Jul 28
4
ajax scaffold
someone using ajax scaffold ?? I''m using @scaffold_columns = [ AjaxScaffold::ScaffoldColumn.new(self, { :name => "name" }) ] in my model... I have a column named "name", but it''s not working, When I click in "Create New" ajax indicator starts but not occurs . . . someone can help me? tks
2006 Apr 30
3
require "ajax_scaffold" in model error
Hi there, I''ve got installed ajax_scaffold_generator (3.1.2, 2.2.1) Anyway I''m following the example here <http://height1percent.com/ articles/2006/04/18/ajaxscaffold-3-1-0-released> which suggests the following in a model file: -------------------------------------------------------- require ''ajax_scaffold'' class Pet < ActiveRecord::Base belongs_to :person, :foreign_key => "owner_id" @scaffold_columns = [ Aj...
2006 Mar 24
6
login forms , redirect_to and ajax-scaffold problems
Hi, I have a standard type authentication technique direct from AWDWR, so there is a before_filter :authorize_employee, :except => :login in my employees_controller.rb the authorize_employee is in application.rb def authorize_employee unless session[:employee_id] flash[:notice] = "Please log in" # save the URL the user requested so we can hop
2006 May 04
1
Ajas Scaffolding and RJS Templates the same thing?
Hey all, I''m just starting in rails and am working on my first app. I need to do inline editing for 2-15 rows of data on a page. I found Ajax Scaffolding here: http://www.ajaxscaffold.com/ And it is EXACTLY what I want in my app. But I''ve also been trying to read a bit up on RJS Templates. Are they basically the same things except RJS is built into rails or is the Ajax scaffolding just built from the RJS templates? I''m wondering if I should just try and...
2006 Apr 12
8
Ajax Scaffold 3.0.0 released
Hey everyone, I just put up the 3.0.0 release notes. The major changes in this release are: * Everything has been converted to work with the newly released (Rails 1.1+) RJS templates * Sorting and Pagination have been added. http://www.height1percent.com/articles/2006/04/12/ajaxscaffold-3-0-0-released Thanks and enjoy. Rich -- Posted via http://www.ruby-forum.com/.
2006 Jul 21
3
Extending scaffold with plugin
I want to create a new scaffold. Would it be best to implement as a plugin? Any tips on how to get started? -- Best Regards, -Larry "Work, work, work...there is no satisfactory alternative." --- E.Taft Benson -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
...new version of the Ajax Scaffold Generator (for Ruby on Rails). The generator creates a scaffold page like the typical rails one, except adding, editing and deleting are all done inline. The generated scaffold is valid XHTML strict and fully styled right out of the box. Check out the demo: http://ajaxscaffold.height1percent.com/ And the how-to: http://www.height1percent.com/articles/2006/02/21/on-the-new-ajax-scaffold-generator Its a generates a much better starting point for an Ajax''ified application or for any application than the existing scaffold generator. I hope you guys find it useful....
2006 Jul 22
5
Prototype error. replace content inside a <TR> in IE
Does anyone know of a fix for the issue with prototype and replacing table rows in IE? render :update do |page| page.replace "row_#{params[:id]}", :partial => ''wireless_request/wrequest'', :locals => {:wrequest => @wrequest} end This ends up making IE throw an "rjs error [object error]" Searching around I found a couple of posts about
2006 May 17
4
NOOB: Representing linked objects in one form
Given two models: User :name :email :address_id # foreign key Address :line_1 :line_2 :city etc. I want to have a form allowing a user to register, in which she''d enter an address as well, but how do I go about combining both objects into the one form? I''m new to this and following along with the Agile Rails book from the Pragmatic Programmers, but it
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
...ogress({:action => ''upload''}, { :begin => "new Effect.Appear(''status'')", :finish => "$(''message'').innertHTML = arguments[0]; new Effect.BlindUp(''quick-resource'', {duration: 0.4}); AjaxScaffold.updateResources(request, ''resource''); return false;" }) %> <!--<label for="upload_filename">File:</label><br />--><%= file_field ''upload'', ''filename'' -%><br /> <div id="operation...
2006 Sep 08
2
rails equivalent to symfony admin generator?
...filters, custom fields, image uploads, one-to-many and many-to-many and several other things automatically. If I could find an equivalent to this in Rails, I think that''s all I would need to switch. Rails scaffolds is much too basic for an admin interface, and I''ve looked into ajaxscaffold and dry scaffold but they don''t seem quite as powerful as the generator in symfony. Is there anything like this in Rails? Or would it really be that hard to create an admin interface in Rails considering how easy it is supposed to be? -- Posted via http://www.ruby-forum.com/. --~--~...
2006 May 09
13
What is the license of generated code?
I''m trying to figure out what the software license would be for code (scaffolds, etc) generated by Rails. Basically, if I set up a Rails project, can or should I be able to claim copyright (and therefore have the ability to license under e.g. GPL) over the files generated by :- - The "rails" command that creates the initial tree of files - The output of "generate
2006 Aug 08
3
Updating a tr with RJS
I''m having a strange display issue when trying to update a tablerow using RJS. This is the code in the RJS template: page.replace_html "item_#{@item.id}", :partial => ''item_display'' So the existing <tr> has an id like item_1. When the update actions completes, it renders this template and effectively replaces the tr with item_display which as a
2006 Apr 26
2
HABTM with ajax_scaffold
has anyone managed to do this? It works great for has_one, belongs_to type stuff, but i cant seem to get a HABTM setup going. Any demo code or advice greatly appreciated. Excellent work on this tool by the way its really great work. adam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 May 21
1
How to install ActiveScaffold plugin?
I am upgrading to raills 2.3.2. I’m having problems with AjaxScaffold which has been deprecated. I am a linux novice. The web site http://activescaffold.com/ has the following command: script/plugin install git://github.com/activescaffold/active_scaffold.git I tried the above and also ruby script/plugin … Nothing happens. Any ideas?
2006 May 02
3
Ajax scaffolding respones are received, but not rendered in browser
Hi i installed the latest ajaxscaffolding gem and generated a scaffold. List works fine. Delete deletes, but the update doesn''t show and the busy icon spins indefinitely. Pressing new or edit also causes the busy icon to spin, but again the ui doesn''t update. my development.log indicates the request was handled and (u...
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> <title>My Demands</title> <%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %> <%=
2006 Apr 24
9
A Stylesheet for a database app
Hi to all, I''m a new subscriber of this list and a new user of RoR. I''m looking for a stylesheet to make a simple database app nicer, a css to start working with. I have to do some simple apps and I want them to be the more uniform on the presentation side. I know I can do it for myself, but a nice stylesheet is not so easy to perform for a non-grafic geek like me, and so