The error* tags in the Ensemble Common library allow you to insert and format error messages within the page that contains the tag(s).
The pt:common.error tag displays errors on the page, placed and formatted as desired. If the pt:common.errortext tag is included inside this tag, the contents of the tag will only be processed if there is an error. If the child tag is not present, any error messages will be formatted and displayed from this tag in the standard style.
If the pt:common.errortext tag is included, only the first error message will be displayed. Other errors, as well as exception stack traces and extended error messages, will be ignored.
<pt:common.errorcode pt:key="errorcodes"/> <pt:logic.foreach pt:data="errorcodes" pt:var="code"> <pt:common.errortext/>