How might I go about customizing the scaffolding scripts? I''m thinking about converting them to AJAX. Any ideas? ___________________ Ben Jackson Diretor de Desenvolvimento ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org http://www.incomumdesign.com
I wanted to do this a while ago and was wondering the same thing. I was thinking the list view could be really cool if when you clicked on the edit link, the text fields in the entry you clicked on changed to form text fields and when you clicked save the modified text turned back into static text. This would basically eliminate the need for a separate edit page, or at least make it optional. On 5/24/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> How might I go about customizing the scaffolding scripts? I''m thinking > about converting them to AJAX. Any ideas? > ___________________ > Ben Jackson > Diretor de Desenvolvimento
Even better, if there was an option to do a combined new/edit page like in this article... wiki.rubyonrails.com/rails/show/HowToReuseEditViewsForNewViews On 25 May 2005, at 13:28, Carl Youngblood wrote:> I wanted to do this a while ago and was wondering the same thing. I > was thinking the list view could be really cool if when you clicked on > the edit link, the text fields in the entry you clicked on changed to > form text fields and when you clicked save the modified text turned > back into static text. This would basically eliminate the need for a > separate edit page, or at least make it optional. > > On 5/24/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: >> How might I go about customizing the scaffolding scripts? I''m thinking >> about converting them to AJAX. Any ideas? >> ___________________ >> Ben Jackson >> Diretor de Desenvolvimento > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 5/25/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote:> Even better, if there was an option to do a combined new/edit page like > in this article... > > wiki.rubyonrails.com/rails/show/HowToReuseEditViewsForNewViewsCurrently, the scaffolding uses the same _form partial for the new and edit view. So there''s not much difference between the two. Not sure when that change was introduced.> > On 25 May 2005, at 13:28, Carl Youngblood wrote: > > > I wanted to do this a while ago and was wondering the same thing. I > > was thinking the list view could be really cool if when you clicked on > > the edit link, the text fields in the entry you clicked on changed to > > form text fields and when you clicked save the modified text turned > > back into static text. This would basically eliminate the need for a > > separate edit page, or at least make it optional. > > > > On 5/24/05, Ben Jackson <ben-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org> wrote: > >> How might I go about customizing the scaffolding scripts? I''m thinking > >> about converting them to AJAX. Any ideas?