propertyeditor

Spring MVC : Binding 3 dropdowns to a date property in SimpleFormController

How should I configure the class to bind three dropdowns (date, month, year) to a single Date property so that it works the way it works for 'single request parameter per property' scenario ? I guess a should add some custom PropertyEditors by overriding initBinder method. What else ? ...

Runtime-dynamic properties in QPropertyEditor

Hello, I am using the QPropertyEditor from Qt-Apps.org. is it possible to create a class with exposed Properties where the amount of properties is runtime-dynamic? So for example you have a class which represents a vector of floats with an arbitrary length which is not known at compile time. So you have a vector<float> myFloats; as ...

Property Editor not registered with the PropertyEditorManager error on Custom Validation Tag (java)

Hello, I am using TomCat 5.5 with MyFaces 1.1 and am trying to implement a custom regex validation tag. My RegExValidator class looks like this: public class RegExValidator implements Validator, StateHolder { private String regex; private boolean transientValue = false; public RegExValidator() { super(); } public RegE...

Delphi: How do i know what my property editor is editing?

i have a property editor (descendant of TPropertyEditor) that is used to edit a property. When it comes time to edit my property, how do i know what property of what object i'm editing? If i'm going to edit a property, i have to know what property i'm editing. i've been pulling my hair out, sifting through the Delphi help, the online h...

Localization issues PropertyEditor

I am using PropertyEditor in .NET 3.5 application to allow users edit settings contained in some serialized class. This application requires localization to support multiple languages. Localized strings implemented using standard .NET Resources. PropertyEditor requires category, display name and description to be set via attributes. Exa...

TCollection PropertyEditor with editable Columns

Hello, for my own TCollection descendant I want to extend the collection property editor. I want to see more columns for other properties of my TCollectionItem. And I am a lucky because it is pretty easy. The only thing I want to do was to override these three methods TAttributeList = class(TOwnedCollection) private ... protected f...

Spring @InitBinder not invoked when showing form => CustomEditors not defined

hi, I have following (simplified to the bone) Controller: @Controller public class TestController { @RequestMapping(value = "/test.htm", method = RequestMethod.GET) public String showForm(final ModelMap map) { final TestFilter filter = new TestFilter(); filter.setStartDate(new Date(System.currentTimeMillis())); map.addA...