Forum OpenACS Q&A: Re: creating a onerow template variable

Collapse
Posted by Dave Bauer on
A onerow is really an array.

So in your tcl file you can do

array set props [field1 value field2 value]
or
set props(field1) value

and then refer to it in the adp as @props.field1@ without any additional tags.

Collapse
Posted by robert parker on
oh that's really obvious *blush*, thanks for the quick reply anyway