Jason C. Leach writes:
dtml-let x=sequence-item
What is the sintax to refrence that object?
img src=dtml-var x.id
This will give you a NameError (maybe KeyError), as
the variable "x.id" is unknown.
Are you interested in the "id" of "x"?
Then the best thing is:
dtml-with x
dtml-var x gives you the object if sequence-item was actually an object.
Is there something else you are tyring to do like get the url to the object
for an image tag? in that case try dtml-var "x.absolute_url()", untested
but since let also pops onto the namespace dtml-var absolute_url should
hi,
Ya. I'm developing a site (area really) for a client that must
automatically detect all images, displaying only thumbnale images, which
get linked to the large size. Once I get referencing down, it should be
OK.
j.
..
. Jason C. Leach
... University College of the