Op Wednesday 12 December 2007, schreef Ed Leafe:
> On Dec 12, 2007, at 3:55 PM, Dennis Meulensteen wrote:
>       A button is a UI element, so it should talk to its Form. The code is
> simply:
>
> def onHit(self, evt):
>       self.Form.new()
>
> The form will then handle talking to the bizobj, updating the
> display, etc. When you have made your changes to the the new record,
> your Save/Cancel buttons should call self.Form.save() and
> self.Form.cancel(), respectively.
Thanks, I did just that and it works great. But what do I now need to do in 
order to add a new row to the (child) grid on the right while staying with 
the current record of the parent table? 


>       Can you give me more information on this? What MySQL data types
> caused the problem?

it was the mySQL datatype TIME that was not recognized. IIRC, the connection 
wizard also listed it as "". I have since removed that column from the DB.

I can't seem to get the right click context menu when I click on the 
right-side grid or anywhere on the right sizer's domain. That sizer is never 
selected, though I can select the panel background.
I also can't save the widths of any of my buttons in the Object Info screen! 
They always revert to width=80!?!
I run openSuse 10.3x86-64 and used your download and the suse package 
management to install all prerequisites.

I also have some other issues for your perusal ( I don't expect an answer, I 
thought you might like to know):

I get loads of these in the ClassDesigner but it still works:
(python:23055): Gtk-WARNING **: gtkwidget.c:4249: no accelerator (113,4) 
installed in accel group (0x348b0c0) for GtkImageMenuItem (0x3c3e370)
(python:23055): Gtk-CRITICAL **: gtk_widget_add_accelerator: assertion 
`GTK_IS_WIDGET (widget)' failed

Then I got all this before a crash:
None PROP DICT:, ROW= None PROP DICT:, ROW= None PROP DICT:, ROW= None PROP 
DICT:, ROW= None PROP DICT:, ROW= None PROP DICT:, ROW=
Traceback (most recent call last):
  
File 
"/usr/local/lib64/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/ui/uiwx/dControlMixin.py",
 
line 21, in _onWxHit
    self.raiseEvent(dEvents.Hit, evt, *args, **kwargs)
  
File 
"/usr/local/lib64/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/ui/uiwx/dPemMixin.py",
 
line 843, in raiseEvent
    super(dPemMixin, self).raiseEvent(eventClass, nativeEvent, *args, 
**kwargs)
  
File 
"/usr/local/lib64/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/lib/eventMixin.py",
 
line 92, in raiseEvent
    bindingFunction(event)
  
File 
"/usr/local/lib64/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/ui/uiwx/dGrid.py",
 
line 2336, in onIncSearchTimer
    self.runIncSearch()
  
File 
"/usr/local/lib64/python2.5/site-packages/Dabo-0.8.2-py2.5.egg/dabo/ui/uiwx/dGrid.py",
 
line 2607, in runIncSearch
    toofar = fldval > srchStr
TypeError: can't compare datetime.date to unicode
Segmentation fault




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

Reply via email to