I know this is a weak question but I can't seem to get my head around it. I want to code something like the following in a view html file:
{{=object.method()}} ...and get some valid html included in the view. Let's say I want a label, a value and a <br/>. I expect the method to look something like: from html import * def method(): items=[] items.append(LABEL('MYLABEL')) items.append('some value') items.append(BR()) return DIV(items) # I have also tried DIV(items).xml() ... but I never seem to get the html - I just see gluon.html.LABEL etc. What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---