19 Feb
2002
19 Feb
'02
11:25 p.m.
Kevin Carlson writes:
I have some code where I am in a folder and am accessing an image in that folder by name (passed into the page as an argument named "pic" in the URL). I am trying to access a property ("desc") of the image object ("pic") and am only able to do it using the following code: (Note that I am doing this from the folder containing the image object.)
<dtml-in objectItems prefix=p > <dtml-if expr="p_key == pic"> <dtml-var desc html_quote> </dtml-if> </dtml-in> "<dtml-var expr="pic.desc" html_quote>" does not work? What happens/goes wrong?
Dieter