Forum OpenACS Q&A: Response to if/else tags in adp

Posted by Reuven Lerner on

I agree that there isn't any good reason to have text between the </if> and <else> tags.  But the graphic designer (who is the client) didn't know this, and reported that weird things were happening to her pages.

So I'm not really asking for ADP to allow random stuff between </if> and <else>.  Rather, I'm asking that (a) this restriction be made explicit in the documentation, and (b) the error message make the error more obvious, so that designers and programmers alike aren't confused and surprised when funny things happen.