registerCustomEditor « Bean « Spring Q&A





1. initBinder registerCustomEditor for a Collection    forum.springsource.org

initBinder registerCustomEditor for a Collection The following is from the javadoc for org.springframework.validation.DataBinder public void registerCustomEditor(Class requiredType, String field, PropertyEditor propertyEditor) ...If the field denotes an array or Collection, the PropertyEditor ...

2. Where is new SwingFormModel.registerCustomEditor( ... )    forum.springsource.org

Hi, After I upgraded to 'RCP 0.1' I cannot find a easy way to register a CustomEditor. Previously I just did the follow: Code: getFormModel().registerCustomEditor("seats", //$NON-NLS-1$ new CustomNumberEditor(Short.class, false)); I also ...

3. Question: AbstractForm.getFormModel().registerCustomEditor    forum.springsource.org

Hi, I saw a lot example that use the following code : In abstractForm sub class : getFormModel().registerCustomEditor(...) But getFormModel() returns a ConfigurableFormModel which not hold the method registerCustomEditor. ...

4. registerCustomEditor to a collection of custom classes    forum.springsource.org

registerCustomEditor to a collection of custom classes I have a collection of a custom class (with it's own custom PropertyEditor) in my command class. My JSP has a multi-select box. I ...

5. registerCustomEditor for an interface attribute    forum.springsource.org

registerCustomEditor for an interface attribute Hi Using SimpleformController and overriding the initBinder() call to register my own editors using registerCustomerEditor. My command object has an attribute which is an interface, not ...

6. registerCustomEditor not working    forum.springsource.org

Hi all, I'm trying to create a custom editor for a List of custom classes, but can't get the binder to register any custom editors at all. My List is stored ...

7. RegisterCustomEditor method or declarative XML    forum.springsource.org

Hi! I'm learning Spring, I was now studying about all the propertyEditors, and I was just wondering what is better: - Calling the RegisterCustomEditor method from the initBinder - Register the ...

8. registerCustomEditor Help needed    forum.springsource.org

registerCustomEditor Help needed In my SimpleFormController, I have a custom editor I register in the initbinder to format my Float values out to two decimal places. This works fine on display ...