[web2py] Re: REF: Change order of fields in a form??!

2013-01-05 Thread weheh
Probably the easiest way to change order of fields in a form is change the order in which the fields are declared in the db.define_table(Field()...) model. On Friday, January 4, 2013 3:22:51 PM UTC+8, software.ted wrote: How do you change the order of the form after it has been created using:

Re: [web2py] geodal

2013-01-05 Thread Paolo valleri
Hi Massimo, I have just tried a few examples but there is a bug in the getPoint function, please find attached a simple patch to fix it. Paolo On Monday, December 24, 2012 7:21:12 PM UTC+1, Massimo Di Pierro wrote: Thank you Denes. Would you please check my changes. I do not think I broke

Re: [web2py] geodal

2013-01-05 Thread Alec Taylor
Thanks, will test it tomorrow. Examples with long/lat inserts, extracts and distance comparisons would also be handy for the book. On Sun, Dec 23, 2012 at 4:50 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I made some changes to the DAL geo APIs. This is an experimental feature so

[web2py] RESTful authentication with web2py?

2013-01-05 Thread Alec Taylor
How do I set the registration key on registration; or do I need to manually process the form and do it that way? The concept is to be able to grab data statelessly, i.e.: curl -X GET http://localhost/api/my_profile.json?token=stored in REST client from previous login or register Any suggestions

[web2py] Re: RESTful authentication with web2py?

2013-01-05 Thread dlypka
Try these 2 threads https://groups.google.com/forum/?fromgroups=#!topic/web2py/YVYQHRJmcos -- This is my PhoneGap to web2py experiment https://groups.google.com/forum/?fromgroups=#!topic/web2py/-QPh73Ge2tk -- Native Android to web2py discussion On Saturday, January 5, 2013 7:07:27 AM

[web2py] jQuery function not working in index.html

2013-01-05 Thread jonas
Hi when using the following functions in index.html only the last one works: {{extend 'layout.html'}} h2index.html/h2 div class=one id=aHello 2/d div class=two id=bWorld 2/d script jQuery('.one').click(function(){ jQuery('.two').slideToggle() }); /script div class=one id=a

[web2py] Re: Possible bug: DAL csv import unable to parse csv file near ): syntax error BUT NO ) in thefile

2013-01-05 Thread JoeCodeswell
This is a meta-comment regarding the behavior of this group. Last night, when i was answering Massimo's question, i noticed that my post that Massimo was asking about [Jan 4 Hi Derek, ...] showed a* blank line*between the *title item* and the beginning of the *data items* *for each *csv. I

[web2py] I installed instaqnt press runing win 8 , I get a page asking wh at i want to search for

2013-01-05 Thread jayvandal
I am running windows 8. I have web2py installed and can run some examples. I coded some basic examples and they run. I installed instant press. I get a page in instant press that tells me to enter some search words. When I do, it says it is not found. I cannot find a way to get theinstant

[web2py] Re: error in mysql ?

2013-01-05 Thread samuel bonilla
thank you all, I look more code to see where the problem originates https://github.com/rochacbruno/Movuca/blob/master/modules/datamodel/setup.py El jueves, 3 de enero de 2013 20:30:53 UTC-5, samuel bonilla escribió: this is the error class '_mysql_exceptions.IntegrityError' (1452, 'Cannot

[web2py] Re: jQuery function not working in index.html

2013-01-05 Thread jonas
solved the problem, missing /div closing statement, although I think that was included in the real code On Saturday, January 5, 2013 3:23:00 PM UTC+1, jonas wrote: Hi when using the following functions in index.html only the last one works: {{extend 'layout.html'}} h2index.html/h2 div

Re: [web2py] geodal

2013-01-05 Thread Massimo Di Pierro
I made some changes in trunk. Can you please try again? On Saturday, 5 January 2013 07:05:48 UTC-6, Paolo valleri wrote: Hi, I made a few more tests: from gluon.dal import geoPoint, geoLine, geoPolygon db.define_table('test_geo', Field('loc_test','geometry()'))

Re: [web2py] geodal

2013-01-05 Thread Massimo Di Pierro
If something still fails, can you place post the result of print db(...) _select(...) On Saturday, 5 January 2013 18:45:26 UTC-6, Massimo Di Pierro wrote: I made some changes in trunk. Can you please try again? On Saturday, 5 January 2013 07:05:48 UTC-6, Paolo valleri wrote: Hi, I made a

[web2py] Re: Possible bug: DAL csv import unable to parse csv file near ): syntax error BUT NO ) in thefile

2013-01-05 Thread Massimo Di Pierro
Hello Joe, I do not have an answer. I do not have the ability to edit posts therefore I assume none of the other managers has that ability either. I have found some strange behavior with google groups, for example some posts (including mine) have disappeared. In particular I responded to your

[web2py] Re: I installed instaqnt press runing win 8 , I get a page asking wh at i want to search for

2013-01-05 Thread Massimo Di Pierro
If you do not get an answer I suggest you email the author of InstanPress or submit a big report there. On Saturday, 5 January 2013 12:19:44 UTC-6, jayvandal wrote: I am running windows 8. I have web2py installed and can run some examples. I coded some basic examples and they run. I

[web2py] Re: preferred solution for parsing {xht,ht,x}ml

2013-01-05 Thread Massimo Di Pierro
page = a keypress=1 href=kp1.htmlThis is some text 1/a a keypress=2 href=kp2.htmlThis is some text 2/a a keypress=3 href=kp3.htmlThis is some text 3/a html = TAG(page) print html.element('a',_keypress=1)[0] print html.element('a',_keypress=2)[0] print html.element('a',_keypress=3)[0] This

[web2py] Re: Running web2py on Hostgator Shared hosting!

2013-01-05 Thread Abdiel Cruz Robaina
Sorry revive so late the post, but I need help, I want to run web2py in a subdomain from a dedicated server in Hostgator, now how make to configure a virtualhost with mod_wsgi ? if anyone has any idea how I would appreciate help Thank --

[web2py] Re: Possible bug: DAL csv import unable to parse csv file near ): syntax error BUT NO ) in thefile

2013-01-05 Thread JoeCodeswell
Dear Massimo, Thanks for the reply. Strange behavior indeed. O well. At least we all as individuals seem communicate on this group clearly and respectfully. Thanks for your leadership, Massimo. Love and peace, Joe. On Friday, January 4, 2013 9:14:53 AM UTC-8, JoeCodeswell wrote: Dear

[web2py] Re: Possible bug: DAL csv import unable to parse csv file near ): syntax error BUT NO ) in thefile

2013-01-05 Thread JoeCodeswell
Dear Massimo, Thanks for the reply. Strange behavior indeed. O well. At least we all as individuals seem communicate on this group clearly and respectfully. Thanks for your leadership, Massimo. Love and peace, Joe. On Saturday, January 5, 2013 4:50:04 PM UTC-8, Massimo Di Pierro wrote: