[web2py] ssl on gae

2011-05-21 Thread RipRyness
"If you are serving your app off of a Google Apps domain, you must direct all secure traffic through your app's appspot domain." I'd like to be able to do this on a per page or a per controller basis. I'm assuming I'd need to put something in routes.py for this? An example of how I might do this w

[web2py] Re: Error trying to use PolyModel

2011-04-09 Thread RipRyness
grate', 'format', 'trigger_name', 'sequence_name']: On Apr 8, 10:33 pm, RipRyness wrote: > Dug up some code I did last summer.  Thought I'd dust it off and > upgrade it's web2py libraries.  It is a

[web2py] Error trying to use PolyModel

2011-04-08 Thread RipRyness
Dug up some code I did last summer. Thought I'd dust it off and upgrade it's web2py libraries. It is a GAE app. I am getting an error on the following code: db.define_table('regform', Field('form_type'), Field('url_id', requires=[IS_NOT_IN_DB(db, 'account.org_id', error_message=T('id ta

[web2py] Re: jQuery Tools

2010-10-29 Thread RipRyness
Note to self, reply posts don't show up immediately :) On Oct 28, 3:59 pm, RipRyness wrote: > I've been using jQuery UI but these look very cool. > > Thanks for the link. > > -Rip > > PS I must have hit "reply to author" on my previous try at respondi

[web2py] Re: jQuery Tools

2010-10-28 Thread RipRyness
I've been using jQuery UI but these look very cool. Thanks for the link. -Rip PS I must have hit "reply to author" on my previous try at responding to this post. On Oct 28, 1:23 pm, Bruno Rocha wrote: > I am using jQuery tools with web2py  I think it is the best/easiest way to > have a great v

[web2py] Re: jQuery Tools

2010-10-28 Thread RipRyness
I've been using jQuery UI stuff but these look like they are worth a try. Thanks for the link. On Oct 28, 1:23 pm, Bruno Rocha wrote: > I am using jQuery tools with web2py  I think it is the best/easiest way to > have a great visual style for tabs, menus, datepickers etc > > Could be useful for

[web2py] Re: OpenID supported with login method

2010-09-18 Thread RipRyness
I had issues with extended_login_form Line 89, "request = self.auth.environment.request", was throwing an exception. Since the example was passing in request it seemed weird it wasn't being used. So I changed init def __init__(self, request, auth,

[web2py] Re: Parent -> Child Models in a single form

2010-09-09 Thread RipRyness
Thinking about this I can't picture it. So do you render the parent- >child form on the server? If so do you just render inputs for one child? Or do you pick n number of child forms to render with the parent? I've done parent -> child on "one" form. At least it looked that way to the user. Bu

[web2py] Re: Date field represent not respected when for validation fails

2010-08-26 Thread RipRyness
This seems to have solved my problem. On Aug 26, 5:15 pm, mdipierro wrote: > just to clarify. does this solve the original or you still have a > problem? If you still have a problem, could you open a ticket on > google code? > > Massimo > > On Aug 26, 5:12 pm, RipRyness wr

[web2py] Re: Date field represent not respected when for validation fails

2010-08-26 Thread RipRyness
What I did was create an en-us.py file in the languages folder. { 'use format -mm-dd': 'use format m/d/', '%Y-%m-%d': '%m/%d/%Y', '%Y-%m-%d %H:%M:%S': '%m/%d/%Y %H:%M:%S' } in my model I had this ... Field('dob', 'date', requires=[IS_DATE(format=T('%Y-%m-%d'), error_message=T('use format y

[web2py] Date field represent not respected when for validation fails

2010-08-21 Thread RipRyness
I am trying to use a "m/d/" format for a date field. I've also created a custom widget for the field. Everything seems to be working fine except when a form is submitted with validation errors. The returned form value for the date reverts back to "-dd-mm", even when the form was submitte