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
Fernando wrote:> 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? tksThere''s a forum for Ajax Scaffold that might have the answer in it: http://groups.google.com/group/ajaxscaffold But for any ajax code, you''d do well to install Firebug or some other traffic monitor to see what responses your server is returning. -- Posted via http://www.ruby-forum.com/.
Fernando wrote:> someone using ajax scaffold ??... I have had a similar problem. If there aree no records in the table sometimes it balks. If this is the case, try putting a record in with SQL then see if works. -- Posted via http://www.ruby-forum.com/.
damon wrote:> Fernando wrote: >> someone using ajax scaffold ?? > ... > > I have had a similar problem. If there aree no records in the table > sometimes it balks. If this is the case, try putting a record in with > SQL then see if works.It should show a special grey row ''No entries'' if there are no rows. -- Posted via http://www.ruby-forum.com/.
there are values .... look
it not works.....
@scaffold_columns = [
AjaxScaffold::ScaffoldColumn.new(self, { :name => "name"
}),
AjaxScaffold::ScaffoldColumn.new(self, { :age => "nam2se"
}),
AjaxScaffold::ScaffoldColumn.new(self, { :name =>
"owner",
:eval => "pet.person.name", :sort_sql =>
"people.name" })
]
it works
@scaffold_columns = [
AjaxScaffold::ScaffoldColumn.new(self, { :name => "name"
}),
AjaxScaffold::ScaffoldColumn.new(self, { :name =>
"owner",
:eval => "pet.person.name", :sort_sql =>
"people.name" })
]
well I just add the column age and it''s stop working, and my table has
the column age...
Dr Nic escreveu:
damon wrote:
Fernando wrote:
someone using ajax scaffold ??
...
I have had a similar problem. If there aree no records in the table
sometimes it balks. If this is the case, try putting a record in with
SQL then see if works.
It should show a special grey row ''No entries'' if there are no
rows.
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails