FloatingPanel Error

View: New views
4 Messages — Rating Filter:   Alert me  

FloatingPanel Error

by Nate Lowrie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Had a dDateTextBox in a dOkCancelDialog and double clicked and got the
traceback below.  The FloatingPanel code was put in the BaseForm class
and dDialog inherits from dFormMixin, so it was not included.  Don't
have time to sort out the error tonight.

Traceback (most recent call last):
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 594, in __onWxMouseLeftDoubleClick
    self.raiseEvent(dEvents.MouseLeftDoubleClick, evt)
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dPemMixin.py"
, line 922, in raiseEvent
    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, **kwargs)
  File "c:\Python25\lib\site-packages\dabo-full\trunk\dabo\lib\eventMixin.py", l
ine 92, in raiseEvent
    bindingFunction(event)
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dDateTextBox.
py", line 124, in __onDblClick
    self.showCalendar()
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dDateTextBox.
py", line 131, in showCalendar
    cp = self._CalendarPanel
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dDateTextBox.
py", line 392, in _getCalendarPanel
    fp = self.Form.FloatingPanel
AttributeError: 'dOkCancelDialog_91381331888' object has no attribute 'FloatingP
anel'


_______________________________________________
Post Messages to: Dabo-dev@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/4bef56240807222113o75d402detd2b5eb92d2f3e336@...

Re: FloatingPanel Error

by Ed Leafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 22, 2008, at 11:13 PM, Nate Lowrie wrote:

> Had a dDateTextBox in a dOkCancelDialog and double clicked and got the
> traceback below.  The FloatingPanel code was put in the BaseForm class
> and dDialog inherits from dFormMixin, so it was not included.  Don't
> have time to sort out the error tonight.


        The logic for FloatingPanel is in dForm, not dFormMixin. I'll fix  
this and commit later.

-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-dev@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/F9F61F24-1EFD-4095-9B38-B0C61CD61566@...

Re: FloatingPanel Error

by Nate Lowrie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jul 23, 2008 at 8:50 AM, Ed Leafe <ed@...> wrote:

> On Jul 22, 2008, at 11:13 PM, Nate Lowrie wrote:
>
>> Had a dDateTextBox in a dOkCancelDialog and double clicked and got the
>> traceback below.  The FloatingPanel code was put in the BaseForm class
>> and dDialog inherits from dFormMixin, so it was not included.  Don't
>> have time to sort out the error tonight.
>
>
>        The logic for FloatingPanel is in dForm, not dFormMixin. I'll fix
> this and commit later.

Actually, the FloatingPanel logic is in the BaseForm class...If we
have dDialog subclass BaseForm instead of dFormMixin we can give
Bizobj functionality to dialogs.  Might be better if we just move
everything in BaseForm over to dFormMixin.

Nate L.


_______________________________________________
Post Messages to: Dabo-dev@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/4bef56240807230958i2784360by5571b90131b77a5d@...

Re: FloatingPanel Error

by Ed Leafe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Jul 23, 2008, at 9:50 AM, Ed Leafe wrote:

> The logic for FloatingPanel is in dForm, not dFormMixin. I'll fix
> this and commit later.


        Fixed.

-- Ed Leafe





_______________________________________________
Post Messages to: Dabo-dev@...
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/8A6914CB-CC63-47C4-B0F0-A8CFF769B5F3@...
LightInTheBox - Buy quality products at wholesale price