Re: Ajax

Chris Zumbrunn <[email protected]> Mon, 8 Oct 2007 12:59:40 +0200
Newsgroups gmane.comp.java.helma.general
Message-ID <31046495.329931191841035529.JavaMail.root@engine234.deployzone.net>
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