[web2py] SQLFORM.grid custom applications

2013-07-03 Thread Kamil
sday' < ... 3) There is a field with requires=IS_IN_SET(...). SQLFORM.grid generates then input type=select. When we append another validator input becomes simple text box. I have two such fields and have to validate if first < second. How to add this validator and still be able using sele

[web2py] Re: SQLFORM.grid custom applications

2013-07-04 Thread Kamil
Thanks, adding format='%('city_name)s' solves the first problem. That's obviously in the book... But the line db.children.city.requires = IS_IN_DB(db, db.parent.id,'%(name)s') doesn't work actually. I get: 'DAL' object has no attribute 'parent' -- --- You received this message because you a

[web2py] Re: SQLFORM.grid custom applications

2013-07-04 Thread Kamil
Right... Any ideas about other problems? Thanks guys... -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more opti

[web2py] WebAuth remote_user cookie based authentication

2014-01-22 Thread Kamil
I'm developing a site for my intranet, which already has an established authentication method, WebAuth. I would like to continue using this method as only one login would be required to visit multiple sites on the intranet. I would like to redirect the user to a website (say http://intranet/cg