11 Jun
2002
11 Jun
'02
7:33 p.m.
On Tue, Jun 11, 2002 at 12:16:27PM -0700, D. Rick Anderson wrote:
How can I use the sequence variables for something other than rendering? I can do a <dtml-var sequence-number> and it will render the current sequence number just fine, but if I do a <dtml-if "sequence-number == numberVariable"> it barfs. It also barfs if I try to assign it to another variable. What am I doing wrong?
You can't have the "-" char in a name, so you have to use this magic: <dtml-if "_['sequence-number'] == numberVariable"> ... </dtml-if> peace, Bo