[google-appengine] Re: Ajax Updater parameters transfer

2008-12-14 Thread djidjadji
>javascript:updateTags(mark) what is mark in this function call? > '/update_tags' + mark this url will not be matched by > ('/update_tags', UpdateTags), Add some logging statements to see if you get inside the handler and what the value of certain variables is. 2008/12/13 Shay Ben Dov : > > Hi,

[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 Andy Freeman
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', UpdateTags)? And, once you get a form that matches, how are you planning to extract the original value of mark? On Dec 14, 3:13 am, Shay Ben Dov w

[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 Matija
For '/update_tags/mark365' Url mapping cloud be: ('/update_tags/(.*)', UpdateTags), And class: class UpdateTags(BaseRequestHandler): def get(self, mark): Javascript: function updateTags(mark){ new Ajax.Updater('tagging_area', '/update_tags/' + mark, { method: 'get' }); } For '

[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