[web2py] Re: _href and src url not rendered

2010-04-18 Thread mdipierro
I am not sure what is wrong here, and the example is complex so I cannot understand the details. Nevertheless, I suggest replace response.render('clublocatormail/send_mail.html',context) with from gluon.template import render render(filename='clublocatormail/send_mail.html',context=context)

[web2py] Re: _href and src url not rendered

2010-04-17 Thread annet
Maybe the following information is of help to help me solve the problem. The mail function reads like: def send_mail(): mailinglist=db((db.bedrijfcontactpersoon.bedrijf==db.bedrijf.id)(db.bedrijfcontactpersoon.bedrijf==db.bedrijfinschrijving.bedrijf) \

[web2py] Re: _href and src url not rendered

2010-04-17 Thread annet
I converted the send_mail function to a none mail function. The send_mail function: def send_mail(): mailinglist=db((db.bedrijfcontactpersoon.bedrijf==db.bedrijf.id)(db.bedrijfcontactpersoon.bedrijf==db.bedrijfinschrijving.bedrijf) \