10 Dec
2003
10 Dec
'03
7:15 p.m.
Hara wrote:
Is there an elegant way of passing a variable from one DTML method to another DTML method without using a form? I have a page with many images that when I click on an image I like to pass the image name to the next page.
if your images are set up with standard html linking then you can pass parameters as you do with any html link: eg. <a href="someDTMLroutine?fielda=valuea&fieldb=valueb"><img...></a> Then, in the dtml routine 'someDTMLroutine' you can access the variables as follows: <dtml-var "REQUEST['fielda']"> or <dtml-var fielda> HTH Jonathan