similar to: Ajas Scaffolding and RJS Templates the same thing?

Displaying 20 results from an estimated 5000 matches similar to: "Ajas Scaffolding and RJS Templates the same thing?"

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 Apr 14
18
RJS Templates & Safari?
Hello, I tried Cody Fauser RJS tutorial (http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates) on my railsplayground dev site and got it to work when using Firefox, but when I tried it on Safari, nothing happens. Then I tried this tutorial - http://rewrite.rickbradley.com/articles/2006/02/06/rjs-templates Similarly, it works fine on Firefox... but with Safari the list is not
2006 Jun 20
4
Searching ActiveRecord sets
Hey all, I''m learning AR and I''m trying to find the best way to search an ActiveRecord set in order to make a conditional statement decision, something like .has_value?(value) but for a multi-dimensional array like an AR set of like 100 rows. I know I can do something like this: results = Table.find_by_sql("...") for result in results if
2006 Apr 07
5
RJS support "toggle" effect?
Does RJS inherently support the Element.toggle effect? I haven''t been able to call it the way you call "appear", "fade", etc... Jeff -- Posted via http://www.ruby-forum.com/.
2006 Aug 02
2
Ajax_Scaffold display from link table
Hi, Ive followed the pets/people ajax_scaffold example without any problem. I have a table documents and each document has a category. In the documents table i have a field called category_id. So in the documents 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
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 May 04
4
What do you use RJS for?
I''ve read an intro or two for RJS, but I don''t fully get what it may be used for - AJAX? Please post what you currently use RJS for. Thanks! Joe -- Posted via http://www.ruby-forum.com/.
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 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 25
2
Have a quick Gruff Graphing question
I have some graphs and everything is working great, but I''d like to set a minimum height so to speak on the vertical scale. Is there a method to do that with Gruff? I''ve tried looking through the docs but can''t seem to get it to work. So for example, if the highest datapoint in my graph was say 500, is it possible to have the minimum vertical scale on the left set
2006 Apr 20
7
AJAX/RJS Updating of Table Rows
I''m trying to update a table row (i.e. replace a <tr></tr>) using AJAX/RJS but of course this cannot be done in IE (works fine in Firefox). I have googled but have not found any solutions, only a lot of discussion. Does anyone have a solution to this problem? Cheers, Nicholas
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
2006 May 17
0
RJS referring to window.parent
Hi all, I''ve been doing some work on the Ajax Scaffold (http://www.ajaxscaffold.com/), to make it work with file uploads (more specifically, the file_upload plugin). The first logical step was to get rid of form_remote_tag, since it''s impossible to send files via XMLHTTPRequests (to my best knowledge). So I referred to the iframe hack, similar to the upload progress bar here
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
2006 Mar 31
3
RJS templates outputting bloated code?
I''m an RJS newbie. I just did the tutorial at http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates, and then used wget to look at the output the RJS template generates. This is what I got: try { new Insertion.Bottom("list", "<li>Fox</li>"); new Effect.Highlight("list",{duration:1}); Element.update("header", "RJS
2006 Feb 08
3
Using shared RJS templates
I''ve got an action in my application controller that needs to call a shared RJS template. Typically it''s actually being called by subclasses of the application controller. I''ve tried this.. def action ...code.. render :partial => "shared/template" end with ''_template.rjs'' existing in the shared folder. The problem that crops
2006 Jan 24
1
Liquid templates and RJS
Does anybody know whether Liquid templates can be combined with RJS ? -- Roberto Saccon - http://rsaccon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060124/edeafadc/attachment.html
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web framework I''ve tried. It blows the doors off catalyst (perl''s best framework). I even just wrote my first plugin (broomstick). Ruby''s ability to meta-program blew me away with it''s ease of use. I''ve been so impressed with the helpers that rails uses to make a lot of
2006 Feb 18
2
Effect queues with RJS templates and scriptaculous
Hi. I was wondering if it''s possible to combine effects for individual elements with RJS templates. I notice that scriptaculous has support for a concept called effect queues (http://www.railsdevelopment.com/2006/01/15/effectqueue/). Is there anyway to use these queues from rjs?
2006 Feb 08
3
RJS templates before, during and after
RJS templates are nifty. They let you put all sorts of fun effects all over your bland html pages without too much work. The link_to_remote function also lets you run scripts before, during, and after an AJAX call is run by using callbacks. There does not seem to be an equivalent method for running an RJS template before or during an action. Rendering it at the end is no problem. One