null
Return the form bean configuration for the specified key, if any; otherwise return null. @param name Name of the form bean configuration to return
190191192193194195196197198199200
// Retrieve the requested object to be exposed Object object = null; String selector = null; if (formBean != null) { selector = formBean; object = config.findFormBeanConfig(formBean); } else if (forward != null) { selector = forward; object = config.findForwardConfig(forward); } else if (mapping != null) { selector = mapping;
455456457458459460461462463464465
if (name == null) { return; } // Look up the FormBeanConfig we are processing FormBeanConfig fbConfig = moduleConfig.findFormBeanConfig(name); if (fbConfig == null) { throw new IllegalArgumentException("Cannot find form bean '" + name + "' configuration"); }
134135136137138139140141142143144
Object object = null; String selector = null; if (formBean != null) { selector = formBean; object = config.findFormBeanConfig(formBean); } else if (forward != null) { selector = forward; object = config.findForwardConfig(forward); } else if (mapping != null) { selector = mapping;
755756757758759760761762763764765
} String formName = formType.substring( lastQualifier + 1 ); formName = Character.toLowerCase( formName.charAt( 0 ) ) + formName.substring( 1 ); if ( moduleConfig.findFormBeanConfig( formName ) != null ) { formName = formType.replace( '.', '_' ).replace( '$', '_' ); assert moduleConfig.findFormBeanConfig( formName ) == null : formName; }
758759760761762763764765766767768
formName = Character.toLowerCase( formName.charAt( 0 ) ) + formName.substring( 1 ); if ( moduleConfig.findFormBeanConfig( formName ) != null ) { formName = formType.replace( '.', '_' ).replace( '$', '_' ); assert moduleConfig.findFormBeanConfig( formName ) == null : formName; } return formName; }
608609610611612613614615616617618
611612613614615616617618619620621
140141142143144145146147148149150