In my model I have:
db.define_table('utility',
db.Field('utility',label='Utility *
',length=12,default='',notnull=True,unique=True),
db.Field('content',type='text'),
migrate=False)
In a controller I have:
def privacy():
response.functionname=T('Privacy')
content=db(db.utility.id==3).select(db.utility.content)
return dict(content=content[0])
In the corresponding view I have:
{{=XML(content.content)}}
The problem is that the content field contains the following code
<p>..... {{=A('contact formulier',_href=URL(r=request,f='contact'))}}</
p>
which is displayed as it is, not as a link. What is the correct syntax
to get the link displayed as a link.
Kind regards,
Annet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---