The code for SQLFORM is in gluon/sqlhtml.py but, did you follow the discussions on http://groups.google.com/group/web2py/browse_thread/thread/82fad17e26e1739a/588b2e8f0226beee#588b2e8f0226beee
Did you look into http://www.web2py.com/events/default/index Are you looking at something different? Massimo On Apr 4, 11:27 pm, Steve Shepherd <[email protected]> wrote: > Where can i get a look at the source code for the SQLFORM Class > I am interested in making an ajax equivalent. > > On Fri, Apr 3, 2009 at 5:45 PM, mdipierro <[email protected]> wrote: > > > not sure what you are asking me. > > > Massimo > > > On Apr 2, 10:21 pm, Steve Shepherd <[email protected]> wrote: > > > @Brian > > > Thanks for your code. > > > As Massimo described preloading the page is dangerous using xml also this > > is > > > SLOW. > > > By using ajax calls you make a round trip to the server to retrieve the > > > content needed and replace the innerhtml of a div . > > > This means the server loads a list of departments quickly. > > > Then as the person edits a department the ajax call loads the edit form. > > > Then as they save or cancel the callback saves the changes and resets the > > > div contents. > > > This way you only make small data requests as needed and really improves > > > user perception of functional speed. > > > > @Massimo > > > Is it possible to review the SQLFORM class as I am interested in building > > a > > > AJAXFORM class that would do all I need and could be published as part of > > > your project. > > > > Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

