Forum OpenACS Development: Re: Just noticed something strange happening with acs-templating if tags....

Simplest solution is to generate the HTML you want to embed in the property in your Tcl script and just insert that variable reference containing the HTML into the property tag.

SInce the template is only parsed once, you can parse the if tags then the outer property tags. Its all parsed into one tcl script.

You could modify the property tag tcl to accept code within (such as the multiple tag etc.) but it seems overly complicated. Just evaluate what you need in the tcl script and generate the HTML there.

Dave,

Thanks for the reply. Yes, I was hoping to avoid hacking away at the tcl scripts with abandon like I used to!

😊

R.