Hello everybody I''m learning rails, buidling my first app and got stucked with one problem. I have some client model with institution select list. (Client belongs_to institution). Since I''m comming from desktop app world, I would like to build function for user to add new institution and refresh combo during client edit with ajax. With asp.net i''d use update panel. Here... really don''t know. Please help Tried with google but I''m not any smarter :) Using rails3. Thanks to everybody in advance -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Miros Malich wrote in post #972621:> Hello everybody > > I''m learning rails, buidling my first app and got stucked with one > problem. > > I have some client model with institution select list. (Client > belongs_to institution). Since I''m comming from desktop app world,[...] That''s sort of a bad reason to do something. Web apps generally shouldn''t work exactly like desktop apps. The Web medium is different from the desktop medium, both technically and in the UI idioms that have been established. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 5 January 2011 20:51, Miros Malich <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hello everybody > > I''m learning rails, buidling my first app and got stucked with one > problem. > > I have some client model with institution select list. (Client > belongs_to institution). Since I''m comming from desktop app world, I > would like to build function for user to add new institution and refresh > combo during client edit with ajax. With asp.net i''d use update panel. > Here... really don''t know. Please helpIf this is your first app I would suggest initially not using ajax until you have got the rest of it working. Where you might want to use ajax just update the whole page. However, if you really want to jump in at the deep end, do you understand the basics of Ajax? If not I suggest finding some tutorials and working through them, then work out how to apply it to your particular problem. I agree with Marnen, though, the paradigms used for the UI on desktop apps are not necessarily the best ones to use for a web app. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law wrote in post #972635:> On 5 January 2011 20:51, Miros Malich <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: >> Hello everybody >> >> I''m learning rails, buidling my first app and got stucked with one >> problem. >> >> I have some client model with institution select list. (Client >> belongs_to institution). Since I''m comming from desktop app world, I >> would like to build function for user to add new institution and refresh >> combo during client edit with ajax. With asp.net i''d use update panel. >> Here... really don''t know. Please help > > If this is your first app I would suggest initially not using ajax > until you have got the rest of it working.Agreed there too. IMHO no one should develop Ajax apps without having done non-Ajax Web development first -- it''s too easy to become overreliant on JavaScript. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Maybe Matching Threads
- Overriding <div class="fieldWithErrors">
- [PATCH v3 00/13] remove_conflicting_framebuffers() cleanup
- [PATCH v3 00/13] remove_conflicting_framebuffers() cleanup
- [PATCH 00/13] remove_conflicting_framebuffers() cleanup
- [PATCH 00/13] remove_conflicting_framebuffers() cleanup