No one on my project can answer this one and I've had no success on google.

The validation.xml has stuff like this. But, I cannot figure out how to tell spring which message key to use. I just get messages like "expression" or "not.blank". The correct field is highlighted, but I need multi-lingual support.

<validation>

<class name="com.MyClass" >
<property name="amount">
<not-null/>
<expression condition="amount>0" key="error.invalid.amount"/>
</property>
<property name="reason">
<not-blank/>
</property>
</class>

</validation>