Re: [web2py] several vars in page

2015-03-20 Thread Carlos Costa
Question 1: The parenthesis are wrong. The _href attribute is inside I and not A helper. In fact, a parenthesis was missing too. {{if page:}} {{request.vars.page = [page - 1] }} {{=SPAN(A(I(T('Previous')), _href = URL(vars = request.vars ) ) ) }} {{elif len(rows) > items_per_page:}} {{request.v

[web2py] several vars in page

2015-03-19 Thread 黄祥
hi, i have several vars that store : view (grid or list), sort (a_z, z_a, highest_price, lowest_price, newest), search_product, category_product (drop down list IS_IN_DB() ) and product_brand (drop down list IS_IN_DB() ) search_product, category_product (drop down list IS_IN_DB() ) and product