[web2py] Cannot change PasswordWidget class in view for custom auth form.

2013-01-13 Thread Aris Green
I need flexibility when styling the form. This does work for the other auth fields such as email, first_name, etc. Thanks Aris Green --

[web2py] Re: Cannot change PasswordWidget class in view for custom auth form.

2013-01-14 Thread Aris Green
hould probably document it better. > > Anthony > > On Monday, January 14, 2013 12:22:41 AM UTC-5, Aris Green wrote: >> >> Why does this code not work? >> >> {{=form.custom.begin}} >> >># some junk here, next line does not work >> >> {{

[web2py] Cannont Initial Password Field in Custom Form

2012-01-31 Thread Aris Green
In have been trying to initialize a password field in a custom form using SQLFORM.factory, although I cannot initialize password type fields using form.vars['passfield'] = 'somevalue'. I am not using the registration form but instead am using a custom form that I want control over. Setting the

[web2py] Cannot send email using IMAP server.

2012-03-07 Thread Aris Green
I am using mail.send and I get messages like the follow: WARNING:web2py:Mail.send failure:(-1, 'IMAP4rev1 SmarterMail'). Can I use web2py tools.mail to send messages or do I need another Python library to send the mail. The settins are similar to this: mail.settings.server = 'mail.foo.com:143

[web2py] Nasty redirect in Ajax call. 'web2py-redirect-location' header breaks website.

2013-05-05 Thread Aris Green
Hello, I am submitting a form via ajax and setting the response.view to another component URL to load up another component in the parent div after a post back. Something nasty happens. An HTTP header 'web2py-redirect-location' is set and that causes a Javascript library loaded on the page to set

[web2py] Re: Nasty redirect in Ajax call. 'web2py-redirect-location' header breaks website.

2013-05-06 Thread Aris Green
Thanks for getting back to me so quickly. I figured a few things out. I am using a component for users to join an email list. I have them create their users name and modify them with components loaded in the view (ajax=False, ajax_trap=True). When you add an email address and password into

[web2py] Re: Nasty redirect in Ajax call. 'web2py-redirect-location' header breaks website.

2013-05-06 Thread Aris Green
So, do you plan to change this? Should I for now I could use auth.login_bare(...) and avoid the redirect with client_side=True? Aris -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving email

[web2py] Re: Nasty redirect in Ajax call. 'web2py-redirect-location' header breaks website.

2013-05-08 Thread Aris Green
Thanks a lot, that seem to work. I had to do that in several places. It looks like you have client_side = auth.settings.client_side in trunk. Is there any knowledge of when the next release is? -- --- You received this message because you are subscribed to the Google Groups "web2py-users"