File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
PropertyEditorManager doesn't find my PropertyEditor
Joined: Sep 26, 2005
Sep 26, 2005 04:05:00
This is my first post on JR and I begin with a question about a Java SE feature that I'm not able to make work.
I try to use a
to convert a
into a MyCustomType. To do so, I create a MyCustomTypeEditor extending
I used :
PropertyEditor pe = PropertyEditorManager.findEditor(MyCustomType.class);
to locate (and get) my MyCustomTypeEditor.
According to the JavaDoc :
pe == null
instead of my editor.
Maybe forgot I something. I asked some others Java developpers, but we didn't found a clue.
[ September 28, 2005: Message edited by: Lionel Bartel ]
High Plains Drifter
Joined: Oct 25, 2000
Sep 27, 2005 11:58:00
Welcome to JavaRanch!
Please review our
and adjust your display name accordingly.
[ September 27, 2005: Message edited by: Michael Ernest ]
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson
It is sorta covered in the
JavaRanch Style Guide
subject: PropertyEditorManager doesn't find my PropertyEditor
Cleared SCWCD 2 hours ago
java beans propertyDescrptor
difference between c:set with-body and no-body versions
Print complete UI.
Exception on delete: save the transient instance before merging
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013