Displaying 2 results from an estimated 2 matches for "dtestcontroller".
Did you mean:
testcontroller
2006 Mar 14
7
Starting with RJS - not working
...Cody Fauser''s tutorial
(http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates)
I''ve started by creating a new rails applications and executing
rake freeze_edge
rake rails:update:javascripts
rake rails:update:scripts
After that I''ve created a controller:
class DtestController < ApplicationController
def add
end
end
Created the files add.rhtml and add.rjs in views/dtest/ ,and
dtest.rhtml in views/layouts.
I''ve started my server and called my add action and nothing happends .
Can anyone explain me what I did wrong ?
My prototype version is 1.5.0_pre0
Tha...
2006 Mar 13
3
problem updating mulitple divs with ajax
i''m having some issues updating multiple divs via ajax. perhaps someone can
lend some assistance.
i''ve got 2 divs:
user_list and user_form.
when a person clicks the "edit this user" or "add new user" link the
user_form div is updated via an ajax call and the form is shown in the
user_form div.
this form is a remote form. it submits to either the update