validation


Getting the model hints in the code

While trying to make a custom validator in a form, there was the need to reuse the information set in the portlet-model-hints.xml file. You can do this by using the following Util class:


i18n and type conversion validation messages with Spring

Given a form backing object (aka command object) which contains a nummeric field, i.e.