[google-appengine] Re: Implement AJAX in App Engine

2008-10-13 Thread David Symonds
On Sun, Oct 12, 2008 at 7:06 PM, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > I wonder is there a way to implement AJAX in an application like the > easy way it is done in Rails: > > you write 1 line in the header to include Javascript, defaults and > other > > then you issue a simple command in yo

[google-appengine] Re: Implement AJAX in App Engine

2008-10-13 Thread Davide Rognoni
"Ajax Requests" http://docs.jquery.com/Ajax "setInterval(func, interval, [args])" Calls the specified "func" (or a JavaScript statement) repeatedly per the "interval" interval, in milliseconds (ie: 1000=every 1 second). "func" must be surrounded in quotations, as if it was a string. Use the optio

[google-appengine] Re: Implement AJAX in App Engine

2008-10-24 Thread Shay Ben Dov
If you can point to RIA source code that updates continuously the time or the status of inventory levels It will be very helpful thanks Shay Ben Dov On Oct 13, 9:21 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote: > "Ajax Requests"http://docs.jquery.com/Ajax > > "setInterval(func, interval, [arg

[google-appengine] Re: Implement AJAX in App Engine

2008-10-24 Thread Bill
There are at least two things you'd want to do in your case: 1) Figure out the necessary javascript to periodically issue AJAX calls. This will be dependent on the javascript framework (if any) you chose. 2) Setup a Django template helper to insert that javascript when the App Engine server par

[google-appengine] Re: Implement AJAX in App Engine

2008-10-24 Thread RIAgallery
You can use Echo3 (or GWT) http://riagallery.appspot.com On Oct 12, 10:06 am, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > I wonder is there a way to implement AJAX in an application like the > easy way it is done in Rails: > > you write 1 line in the header to include  Javascript, defaults and > o

[google-appengine] Re: Implement AJAX in App Engine

2008-10-24 Thread Shay Ben Dov
Thanks for the tip. I've developed what I've intended. I used the following: function functionName(){ new new Ajax.Updater('div id', '/action_name', { method: 'get' }); } setInterval("functionName()", 3000) When the application will be ready I'll let you know Again thanks Shay

[google-appengine] Re: Implement AJAX in App Engine

2008-10-24 Thread Shay Ben Dov
The method I used doesn't work on IE 6. If someone can verify that it works on IE 7 I'm not using it or if I can get a guidance to make it compatible with IE it will be excellent. The reference I used is: http://www.tutorialized.com/view/tutorial/Prototype-and-AJAX-Tutorial/35281 The example

[google-appengine] Re: Implement AJAX in App Engine

2008-10-25 Thread Shay Ben Dov
sorry in the example I made a mistake: It should be 1 new and not new new Ajax.Updater('div id', '/action_name', { now on IE 6 we don't get an error message but it is not doing the ajax stuff with the setInterval on Chrome Firefox and Flock it is working fine. On Oct 25, 3:08 am,

[google-appengine] Re: Implement AJAX in App Engine

2008-10-25 Thread Arun Shanker Prasad
Hi, Have you tried setTimeout()? It does the same thing and it works for me in most ie versions. On Oct 24, 11:58 pm, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > sorry in the example I made a mistake: > > It should be 1 new and not > new  new Ajax.Updater('div id', '/action_name', { >

[google-appengine] Re: Implement AJAX in App Engine

2008-10-25 Thread RIAgallery
I think the best way will be: "Google Web Toolkit 1.5" http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 Enjoy ;-) On Oct 12, 10:06 am, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > I wonder is there a way to implement AJAX in an application like the > easy way it is done in Rails: > >

[google-appengine] Re: Implement AJAX in App Engine

2008-10-25 Thread Shay Ben Dov
Thanks but to master GWT is not a joy. I think part of the problem is related to CSS compatibility issues in IE 6 you can spot that the program span wrote: > I think the best way will be: > > "Google Web Toolkit > 1.5"http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5 > > Enjoy ;-)

[google-appengine] Re: Implement AJAX in App Engine

2008-10-28 Thread Shay Ben Dov
Hi, The ajax implementation works on IE 6 when I access my application on the GAE and not on the dev_appserver.py probably timing problem on the dev pc whenever I was trying to run 2-3 different browsers on the same pc including IE. Thanks for the help from all of you. The application http://c