Re: Ajax
Kevin Ethridge <[email protected]> Mon, 8 Oct 2007 20:30:56 -0400
| Newsgroups | gmane.comp.java.helma.general |
|---|---|
| Message-ID | <[email protected]> |
Chris, Thanks for pointing out the code. I was just trying to get a feel for how you guys coding ajax in your apps. I was just trying to find some examples what would be considered, "good coding style" for a helma app. I appreciate your time and the feedback. Kevin On Oct 8, 2007, at 6:59 AM, Chris Zumbrunn wrote: > > On Oct 6, 2007, at 2:26 , Kevin Ethridge wrote: > >> Could anyone point out some ajax examples using Helma? > > Hi Kevin, > > You'll probably need to be more specific about what it is you are > after. Due to the server-side use of Javascript and the built-in way > how Helma handles requests and sessions, there really is no need for > anything special on the helma server side. I can think of no ajax > specific trick that your question could be fishing for. > > Anyway, a simple example where ajax is used is in the shell action > that is part of the helmaTools module. In this case one action > handles both ajax and normal web requests and the code is a bit > convoluted in order to stay unobtrusive to the hosting app. Usually > you would probably split that and simply handle the ajax requests > with actions dedicated for that purpose. > > http://dev.helma.org/trac/helma/browser/apps/helmaTools/trunk/Global/ > helma.shell.skin > http://dev.helma.org/trac/helma/browser/apps/helmaTools/trunk/Global/ > helma.shell.js > > Chris > _______________________________________________ > Helma-user mailing list > [email protected] > http://helma.org/mailman/listinfo/helma-user