[Zope] Arg! How format a link from a DB?

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Mon, 22 Nov 1999 15:28:25 +1100


>>> Bradley McLean wrote
> I've got a bunch of data in some sql tables.  I'd
> like to be able to define a DTML Method that formats
> up a link tag based on an incoming record id.
> 
> I then want to include this method in another one.
> ----- Calling dtml method:
> <dtml-var "buildHotlinkFor(ID=5)">

You need to pass REQUEST and the namespace through
Try <dtml-var "buildHotlinkFor(REQUEST, _, ID=5)">
 
Anthony