Now I understand the problem. When I rewrite the _href:

{{=A('View it in your browser',  _href="http://127.0.0.1:8000"; +
URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
_target="_blank")}}

... the problem is solved. I guess I'd best add a variable containing
the "http://127.0.0.1:8000"; value e.g. mydomain, and then:

{{=A('View it in your browser',  _href=mydomain +
URL(r=request,c='clublocatormail',f='browser_version',args=[item.bedrijfcontactpersoon.bedrijf_id,item.contactpersoon.id]),
_target="_blank")}}


Does anyone know a better solution?


Kind regards,

Annet.


-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to