Forum OpenACS Q&A: Re: break out of a multiple tag?

Collapse
Posted by Tilmann Singer on
Well you could if you really need it make the unwanted elements invisble like this:

<multirow>
<if not @multirow.some_value@ gt @my_limit@>
...
</if>
</multirow>

Would result in a few unnecessary loop runs, but it is available right now.

Simplicity is a great feature of the templating language - it's designed to be easy to explain to non-programming graphic designers. I am not sure if I want to explain the concept of break and continue to them, but then if it's clearly marked as advanced feature in the documentation, why not.