Excellent!!! Python + Web2py = Productivity Guaranteed! On Mon, Dec 31, 2012 at 5:30 PM, Bruno Rocha <rochacbr...@gmail.com> wrote:
> def get_drop_down_option9(options_dict, selected): > return [OPTION(value_, _value=key_ , **{'_selected': 'selected'} if > selected == key_ else {}) for key_, value_ in options_dict.iteritems()] > -- ....................................................................................... Teddy Lubasi Nyambe Opensource Zambia Lusaka, ZAMBIA Cell: +260 97 7760473 website: http://www.opensource.org.zm ~/ Human Knowledge belongs to the world! - AntiTrust Man is a tool-using animal. Without tools he is nothing, with tools he is all - Thomas Carlyle 1795-1881 /~ --