I am able to get my server-side validation working, but once I add
<@valang.validate commandName="promoCodeValidator"/> to my ftl I get the following final root cause error

org.springmodules.validation.valang.parser.ParseEx ception: Encountered "<EOF>" at line 1, column 0.
Was expecting:
"{" ...


NOTE: WHEN I REMOVE THE client-side validation, the server-side validation works fine. So I don't think there's anything wrong with my validation syntax.