Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
Thanks for reply richard but not geting you. On Fri, Sep 16, 2011 at 8:45 PM, Richard Vézina wrote: > It suposed to be managed by default no? > > Richard > > > On Fri, Sep 16, 2011 at 11:12 AM, sagar wrote: > >> >> How to redirect user to original url he asked after login >> >> I seen there is a

Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
By deafult it is not redirected to url he asked I had definded auth.settings.login_next=url(default url) but by removing it also not redirecting to the url user asked. On Fri, Sep 16, 2011 at 8:54 PM, sagar nigade wrote: > Thanks for reply richard but not geting you. > > On Fri, Sep

Re: [web2py] How to redirect user to original url he asked after login

2011-09-16 Thread sagar nigade
t try the > > @auth.requires_login() > > > It maybe the decorator that manage the redirection... > > I have look in my app and can't see that I do something special for allow > redirection... > > Richard > > On Fri, Sep 16, 2011 at 11:31 AM, sagar nigade wrote: &g

[web2py] Re: how to ignore keyword in web2py

2011-06-21 Thread sagar nigade
Please let me know is it possible or not? On Tue, Jun 21, 2011 at 11:32 AM, sagar wrote: > i have to use group as column name in web2py. > i am using mysql as a db. > in mysql we can do it using `group` > in python we can do it using group_ > > d=db.test.insert(name=exacturl,group="") > > How to

Re: [web2py] Re: how to ignore keyword in web2py

2011-06-21 Thread sagar nigade
ok. Thanks for your reply Massimo On Tue, Jun 21, 2011 at 7:40 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > this is not supported at the moment but it is in our plans. > > On Jun 21, 3:23 am, sagar nigade wrote: > > Please let me know

Re: [web2py] Re: Working with CAS

2011-06-23 Thread sagar nigade
Massimo, Thanks for your reply now I am working with new version 1.96.4 but now as given in cas_auth.py I have update my db.py with from gluon.contrib.login_methods.cas_auth import CasAuth auth.define_tables(username=True) auth.settings.login_form=CasAuth( urlbase = "http://127.0.0.1:8000/casapp

Re: [web2py] Re: Working with CAS

2011-06-23 Thread sagar nigade
Its done there was some setting issues. On Thu, Jun 23, 2011 at 1:16 PM, sagar nigade wrote: > Massimo, Thanks for your reply now I am working with new version 1.96.4 > but now as given in cas_auth.py > > I have update my db.py with > > from gluon.contrib.login_methods.cas_a

Re: [web2py] How to add user to user_auth table of CAS

2011-07-01 Thread sagar nigade
oops thinkig some other way soory...thats simple it can be encoded using urllib2 and send to cas app..there i can get in request.vars.i thinks thats the right approach.. On Fri, Jul 1, 2011 at 4:34 PM, sagar wrote: > Hi, > > I have situation where ,once I recive Email ids from users i have >

Re: [web2py] Re: can we use javascript in sqlform How?

2011-07-15 Thread sagar nigade
thanks Anthony, On Fri, Jul 15, 2011 at 9:18 PM, Anthony wrote: > The id of the 'type' widget will be 'template_properties_type', so you can > add JS to the page to listen for the selection event and display/create a > text box whenever 'custom' is selected. If you want the content of the text >

Re: [web2py] Re: how to create image as link using web2py controller

2011-08-22 Thread sagar nigade
Thanks Anthony and Matt On Mon, Aug 22, 2011 at 9:24 PM, Matt Gorecki wrote: > You can do this. This example comes straight from the web2py book. > http://web2py.com/book/default/chapter/05#Built-in-Helpers > > A(IMG(_src=URL('static','logo.png'), _alt="My Logo"), > _href=URL('default','index'))