[google-appengine] Implement AJAX in App Engine

2008-10-12 Thread Shay Ben Dov
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 your HTML body like: <%= periodically_call_remote(:update=> 'alerts',

[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 > > &q

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

2008-10-24 Thread Shay Ben Dov
tion will be ready I'll let you know Again 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, [args])" > Calls the specified "func" (or a J

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

2008-10-24 Thread Shay Ben Dov
tion.http://www.javascriptkit.com/jsref/window.shtml > > On Oct 13, 1:00 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > > > On Sun, Oct 12, 2008 at 7:06 PM, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > > > > I wonder is there a way to implement AJAX i

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

2008-10-25 Thread Shay Ben Dov
fine. On Oct 25, 3:08 am, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > 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. >

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

2008-10-25 Thread Shay Ben Dov
lkit-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: > > > you write 1 line in the header to include  Javascript,

[google-appengine] AdSense and GAE Free Hosted Applications

2008-10-28 Thread Shay Ben Dov
the incentive to go on and spread the GAE mission. Regards, Shay Ben Dov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googl

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

2008-10-28 Thread Shay Ben Dov
://cmyquest.appspot.com See you all Shay Ben Dov On Oct 25, 4:38 pm, Shay Ben Dov <[EMAIL PROTECTED]> wrote: > 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 writ

[google-appengine] Formating floating point numbers in a template

2008-12-12 Thread Shay Ben Dov
I have db.Model with month_allocation = db.FloatProperty() I want to output it in an html template in the following formats: the number with 2 decimal places. An example and code -- how to write it is more than welcomed. Thanks --~--~-~--~~~---~--~~ You receive

[google-appengine] Ajax Updater parameters transfer

2008-12-13 Thread Shay Ben Dov
7;] = 'text/plain' self.response.out.write("this is new tag__" + mark) I hope I'm doing it right. Please let me know if I'm on the right track to implement it correctly. Thanks, Shay Ben Dov --~--~-~--~~~---~--~~ You received this messa

[google-appengine] Re: Ajax Updater parameters transfer

2008-12-14 Thread Shay Ben Dov
'/update_tags' + mark mark is name of the parameter I want to transfer to the following class: class UpdateTags(BaseRequestHandler): and I wish to process it according to the app requirements. Shay On Dec 14, 11:26 am, djidjadji wrote: > >javascript:updateTags(mark) > > what is mark in this

[google-appengine] Re: Ajax Updater parameters transfer

2008-12-14 Thread Shay Ben Dov
Hi, It should be '/update_tags/a' like when you use .?id={{ variable }} thanks, Shay On Dec 14, 11:51 pm, Andy Freeman wrote: > If mark == 'a', do you expect '/update_tags' + mark to be '/ > update_tagsa' or '/update_tags/a'? > > Which one do you think will match ('/update_tags', UpdateT

[google-appengine] Re: Ajax Updater parameters transfer

2008-12-15 Thread Shay Ben Dov
thanks, I'll implement it in the following week and let you know how it comes out. Shay On Dec 15, 11:29 am, Matija wrote: > For '/update_tags/mark365' > > Url mapping cloud be: > > ('/update_tags/(.*)', UpdateTags), > > And class: > > class UpdateTags(BaseRequestHandler): >    def get(self, ma

[google-appengine] use stored string key to get an entity

2008-12-22 Thread Shay Ben Dov
Hi this is the issue I have a Transaction model I do: transaction=Transaction() transaction.put() tr_key = str(transaction.key()) I want to store it in a second mode class Tag(db.Model): transaction = db.Key(encoded=None) tag = db.StringProperty(required=True) user = db.UserPropert

[google-appengine] Money sum formating

2008-12-23 Thread Shay Ben Dov
Hi, I know that if sum = 56.0 then {{ sum|floatformat:2 }} will display 56.00 How we get $560,000.00 Thanks, Shay Ben Dov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine&q

[google-appengine] Re: Money sum formating

2008-12-24 Thread Shay Ben Dov
Thanks for the answer. Merry Christmas & Happy New Year Shay On Dec 25, 12:49 am, Alexander Kojevnikov wrote: > You can also use the standard locale module: > > >>> import locale > >>> locale.setlocale(locale.LC_ALL, '') > >>> locale.format('%.2f', 1234.5678, True) > > '1,234.57' > > http://ww

[google-appengine] Re: Money sum formating

2008-12-25 Thread Shay Ben Dov
Alex Hi, if I want to use something like: {{money|local}} where do I put your input about import locale because I saw this snippet from django import template import locale locale.setlocale(locale.LC_ALL, '') register = template.Library() @register.filter() def currency(value): return l

[google-appengine] Re: Money sum formating

2008-12-28 Thread Shay Ben Dov
TINGS_MODULE is undefined.' strerror = None Every help is necessary. Thanks, Shay Ben Dov On Dec 26, 8:45 am, Alexander Kojevnikov wrote: > Shay, you can try this code: > > import locale > from django import template > > register = template.Library() >

[google-appengine] Re: Money sum formating

2008-12-28 Thread Shay Ben Dov
Hi, Forget currency How I inset comma in: {{ total_in|floatformat:2 }} to get : 32,525.75 for example Thanks, Shay Ben Dov On Dec 26, 8:45 am, Alexander Kojevnikov wrote: > Shay, you can try this code: > > import locale > from django import template > > register

[google-appengine] currency or comma in float numbers format

2009-01-02 Thread Shay Ben Dov
Hi, Anyone knows how to implement in GAE currency formating of floating numbers like: {{ value|floatformat:2 }} built_in filter Shay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post t

[google-appengine] Suggests based on user input

2009-01-05 Thread Shay Ben Dov
. Every assistance is appreciated. Thanks, Shay Ben Dov --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To u