[web2py] Sitemap

2014-11-25 Thread Gael Princivalle
Hi all. Just a post for giving you my interpretation of how making a sitemap. Base code is in this post : https://groups.google.com/forum/#!searchin/web2py/sitemap/web2py/TUMn6R3BJ10/TRSLCY_JQ8UJ With a lot of URLs, in my case more than 2000 (a lot of products), Google Webmaster turns me back

Re: [web2py] Re: Sticky sessions in a distributed environment

2014-11-25 Thread Louis Amon
I've been in contact with Heroku's support regarding this issue, and here is what they told me : This doesn't appear to be a problem coming from our platform. Any request coming into your app will have session cookies passed. The way sessions stored on databases work is by setting a cookie

[web2py] web2py and post data

2014-11-25 Thread Anthony
Just do token = request.post_vars.token. If that value is None, then you don't have a POST request. Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)

[web2py] are expired session files deleted automatically?

2014-11-25 Thread Robin Manoli
Hi! I noticed that when I'm working alone on a project, the session folder creates quite a lot of sessions. I wonder if web2py deletes expired automatically? Or is there a way to delete them? It wouldn't be so nice to have expired sessions of thousands of users when the site is in production

Re: [web2py] Re: multiple select plugin and list reference

2014-11-25 Thread Kevin Bethke
I haven't fixed the issue jet. Regards Am 25.11.2014 02:47 schrieb Dennis Jacobs jcbs.d...@gmail.com: Hi TSmith, I'm experiencing the exact same issue! Were you able to resolve this issue? And if so, how exactly did you do so? Regards, Dennis. On Wednesday, November 27, 2013 5:14:25 PM

[web2py] Re: are expired session files deleted automatically?

2014-11-25 Thread Anthony
http://web2py.com/books/default/chapter/29/13/deployment-recipes#Cleaning-up-sessions On Tuesday, November 25, 2014 6:10:17 AM UTC-5, Robin Manoli wrote: Hi! I noticed that when I'm working alone on a project, the session folder creates quite a lot of sessions. I wonder if web2py deletes

Re: [web2py] Re: Sticky sessions in a distributed environment

2014-11-25 Thread Anthony
I checked into my browser's development tools to check cookies and found that indeed, there are two cookies : session_id_APPNAME and session_id_admin. These cookies and their values are persistent through requests, even with multiple dynos. I now wonder about web2py's session

[web2py] Re: multiple select plugin and list reference

2014-11-25 Thread Leonel Câmara
This is working fine for me. db.define_table('fruit', Field('name'), ) db.define_table('cocktail', Field('fruit','list:reference fruit'), ) from plugin_multiselect_widget import ( hmultiselect_widget, vmultiselect_widget, rhmultiselect_widget, rvmultiselect_widget, )

Re: [web2py] after_update

2014-11-25 Thread Alex Glaros
answering my own question, I mistakenly reversed table names. Here is correct, working version: # Update objectDisplayName in db.SuperObject whenever db.Suggestion.suggestionTitle is updated def update_SuggestionDisplayName(set, ufields): table = 'Suggestion' if ('suggestionTitle' in

[web2py] Re: Java Client for web2py SOAP web service

2014-11-25 Thread Dave S
On Monday, November 24, 2014 12:24:25 PM UTC-8, Pengfei Yu wrote: Hi Dave, Thanks very much for your reply! Could you give a more detailed example for an implementation for Java client? A block of java codes from your Java client talking to web2py service will be perfect. Even with the

[web2py] Re: Java Client for web2py SOAP web service

2014-11-25 Thread Dave S
On Tuesday, November 25, 2014 11:26:47 AM UTC-8, Dave S wrote stuff. Obviously I didn't get everything generic-ized. The logger calls reference the class holding the main() function. /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Hardcoded Drop Down Menu In Form

2014-11-25 Thread Pablo Cruise
I'm a novice Web2py programmer and I've searched the net but can't figure this out. I've got a simple webpage with this form: *form = FORM(TABLE(TR(TH('BEG PLAN START DATE'), INPUT(_name='begpstrtdt', _class='date', requires=IS_DATE(), _value=t0, _style=width:

[web2py] Re: RSVP: Massimo @ Bay Area web2py meetup (refreshments) -- 12/5/2014, 6:30PM - 9:00PM -- BE THERE!!!

2014-11-25 Thread weheh
Done. And to Ruby and Django meetup groups. Any others? On Friday, November 21, 2014 11:19:09 AM UTC-8, Joe Barnhart wrote: Has anyone notified the BayPiggies list of our event? Should we? -- Joe On Wednesday, November 5, 2014 11:48:14 PM UTC-8, weheh wrote: Hi Bay Area web2py'ers. Get

Re: [web2py] Hardcoded Drop Down Menu In Form

2014-11-25 Thread Johann Spies
On 26 November 2014 at 01:47, Pablo Cruise pal...@gmail.com wrote: I'm a novice Web2py programmer and I've searched the net but can't figure this out. I've seen many example using SQLFORM but I don't have a need for these fields to be saved or retrieved to/from a database. Why don't you

[web2py] assign users to default group on register?

2014-11-25 Thread LoveWeb2py
Hello, Is there an easy way to assign users to a default group when registering? I'm going through the Auth source code and didn't see anything for the class developed. Any advice appreciated -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -