[opencms-dev] Validation rule messages - documentation?

Kuntz, Tim tim_kuntz at pamperedchef.com
Sat Mar 22 00:24:03 CET 2008


I am trying to understand how OpenCms generates error messages in the
structured editor beyond hard-coding one in the rule. Can anyone point
me to some documentation?


Looking at the following rule from the templateone linklist.xsd, it
appears there is a validation object with fields that get passed to a
formatter - but in what property file is the message to be formatted
kept?

<rule element="Title" regex="!^" message="${validation.path}:
${key.linklist.validation.title.error|${validation.value}|${validation.r
egex}}" />

Thanks much,
Tim



More information about the opencms-dev mailing list