I have the following menu: response.util_menu=[ ['Disclaimer',request.function=='static' and request.args=='disclaimer',URL('util','static',args='disclaimer')], ['Privacy',request.function=='static' and request.args=='privacy',URL('util','static',args='privacy')], ['Copyright',request.function=='static' and request.args=='copyright',URL('util','static',args='copyright')], ['Cookies',request.function=='static' and request.args=='cookies',URL('util','static',args='cookies')], ['Site map',request.function=='static' and request.args=='sitemap',URL('util','static',args='sitemap')], ['Contact',request.function=='contact',URL('util','contact')]]
request.function=='contact' works fine request.function=='static' and request.args=='disclaimer' doesn't work. the class="active" isn't being set. Why not? -- --- 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 options, visit https://groups.google.com/groups/opt_out.