Re: [web2py] Re: applying BEAUTIFY to UL in controller

2012-12-16 Thread praveen krishna
The objects in UL are lists in controller.I am confused how to implement the syntax given in the documentation to my issue. These are list of objects in UL : hits_forward_mismatch.append(LI(PRE( '%s \n' % record.filename, '\n %s' % query_forward_mismatch1,

[web2py] Re: applying BEAUTIFY to UL in controller

2012-12-14 Thread Arglanir
I think the goal of BEAUTIFY() helper is to nicely display python lists and dicts. See documentation in html.py : class BEAUTIFY(DIV): example:: BEAUTIFY(['a', 'b', {'hello': 'world'}]).xml() 'divtabletrtddiva/div/td/trtrtddivb/div/td/trtrtddivtabletrtd