private void createFormBeanConfigIfNecessary(
     ModuleConfig config, Mapping mapping, final String formName) {
   FormBeanConfig formBeanConfig = config.findFormBeanConfig(formName);
   if (formBeanConfig == null) {
     formBeanConfig = new FormBeanConfig();
     formBeanConfig.setType(mapping.formBeanClass().getName());
     formBeanConfig.setName(formName);
     config.addFormBeanConfig(formBeanConfig);
   }
 }