Questions tagged [propertyeditor]
72 questions
10
votes
1 answer
How can I implement my own custom property editor for all instances of a certain type?
I have followed a few tutorials on creating a custom property editor dialog, but there are so many things involved that I could not get it to work right. What I am trying to accomplish is a custom form with a date picker (calendar), a time picker,…

Jerry Dodge
- 26,858
- 31
- 155
- 327
6
votes
1 answer
Is there an annotation-based way to register PropertyEditors globally in Spring MVC 3.0?
I was wondering if there was a way of registering a PropertyEditor globally within Spring MVC 3.0 onwards. In the documentation their documentation they show how to use annotations to customise bean PropertyEditor on a per-controller basis, and -it…

Sled
- 18,541
- 27
- 119
- 168
6
votes
1 answer
How do I make the Object Inspector show more TColor property values?
The IDE Object Inspector shows TColor properties with a drop-down ColorBox, and the color can be selected by name - clBlack etc, as defined in the Graphics unit. The problem is that the clWeb colors also defined in the Graphics unit are not…

HMcG
- 2,062
- 4
- 24
- 36
6
votes
4 answers
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…

axk
- 5,316
- 12
- 58
- 96
5
votes
3 answers
Spring CustomNumberEditor parses numbers that are not numbers
I'm using Spring CustomNumberEditor editor to bind my float values and I've experimented that if in the value is not a number sometimes it can parse the value and no error is returned.
number=10 ...... then the number is 10 and there's no…

Javi
- 19,387
- 30
- 102
- 135
4
votes
1 answer
How to modify TComponentProperty to show only particular items on drop down list?
Please consider such scenerio:
I have component called TMenuItemSelector which has two published properties: PopupMenu - allows to pick an instance of TPopupMenu from the form and MenuItem which allows to pick any instance of TMenuItem from the…

Wodzu
- 6,932
- 10
- 65
- 105
4
votes
0 answers
How can I set a custom PropertyEditorSupport.setAsText(String) for spring's form select list?
I have a spring form. The form contains a select list that is bound to an enum type. I have also added a "choose" option to the select list that isn't represented in the enum.
I have seen some threads online where the people suggest using a…

new Thrall
- 970
- 1
- 12
- 20
3
votes
2 answers
Converting Delphi 7 property editor to Delphi XE2
First of all, I have never written a property editor from scratch, but had some help with one in another question. Refer to the accepted answer there. This was in Delphi 7, and now I have started using XE2 and I have to make sure my property editor…

Jerry Dodge
- 26,858
- 31
- 155
- 327
3
votes
1 answer
Spring 3 Custom Editor field replacement
Having my ValueObject
UserVO {
long id;
String username;
}
I created custom editor for parsing this object from string id#username
public class UserVOEditor extends PropertyEditorSupport {
@Override
public void setAsText(String text) throws…

Jan
- 138
- 1
- 8
3
votes
2 answers
QTreeView only edits in first column?
I am trying to make a simple property editor, where the property list is a nested dict and the data is displayed and edited in a QTreeView. (Before I get to my question -- if anyone already has a working implementation of this in Python 3 I'd love…

ehudson
- 205
- 3
- 6
3
votes
1 answer
In Delphi, what does the paVCL flag of the TPropertyAttributes set indicate about the resulting property editor
The TPropertyAttributes set in the DesignIntf unit includes the paVCL flag. However, the purpose of this flag is not documented. I found a reference (in German) that suggested that the property editor was a WinCLX property editor, but that doesn't…

Cary Jensen
- 3,751
- 3
- 32
- 55
3
votes
1 answer
PropertyGrid Editor for a property list with inherited classes
I'm looking for an example of a property editor for something like:
public class ContainerClass
{
public string ContainerName { get; set; }
public List Containers { get; set; }
public ContainerClasss()
{
Containers = new…

Stephen Lee Parker
- 1,215
- 9
- 19
3
votes
1 answer
Spring MVC custom editor and select-options bad performance
Im using custom editor in Spring MVC to map string valuest to my domain objects. Simple case: User object refers to Company (User.company -> Company). In User form I register data binder:
protected void initBinder(WebDataBinder binder) throws…

Bad Pitt
- 524
- 1
- 6
- 15
2
votes
1 answer
Cannot access JList items in custom property editor
I have a simple OutlineView in the NetBeans editor area that shows two columns. The content of the cells of the second column shall be settable with a custom property editor via the PropertySupport. The custom property editor contains a JList that…

WeserLinux
- 31
- 2
2
votes
1 answer
Property editor with categories
I'm writing an app in Java and swing using Netbeans, and I need property editor (like this). How I can add it to my application?

m4tx
- 4,139
- 5
- 37
- 61