Hi
 
I'm trying to extend the DateChooser class, providing a custom dropdown
when the user clicks the icon.
 
The custom dropdown extends DateChooser, so (in theory), everything
should be simple, right?
 
Except that the createDropDown method of DateField is private.
 
Here's what I've done so far:

*       Overridden createChildren, calling super.createChildren(), and
my own createDropdown() which creates my subclassed date chooser
*       Overridden the getter and setter for dropdownFactory(),
returning a class factory for my subclass

The problem I'm having is that when the private displayDropdown is
called, specifically on the line:
 
point = dd.parent.globalToLocal(point);
 
dd resolves to my subclass, but it's parent is null.  I can't see where
this is set in the super DateField class.
 
What am I missing?  How do I do this?
 
Thanks in advance for any help.
 
Marty

Reply via email to