On Dec 13, 2007, at 4:24 AM, Dennis Meulensteen wrote:
>> We could certainly add a time type with a Python type of
>> datetime.time, but those are pretty useless for editing. Perhaps it
>> would be best to use a Python string?
> It doesn't matter much to me. I suppose a string would be the most
> flexible
> solution, but that kind of subverts the purpose of having strong types
> anyway... This reminds me of the VB "variant". Maybe use datetime.
> (date)time
> at the bizobj level and represent it with a string in the UI?
Actually, everything is a string at the UI level if it is
represented in a text control; we have a bunch of logic to do the
conversion. We've just never done it for the time type, since it
usually makes a lot more sense to use datetimes.
>> You can usually right-click right on the tree node
>> for any object to get the same context menu you would had you right-
>> clicked on the design surface.
>>
> Great, works like a charm! Now I'm trying to figure out how to save
> the child
> records.
Same as you would for creating a new child: self.Form.save("child"),
where 'child' is the DataSource of the child bizobj.
> Using Dabo has made me realize how much I rely on documentation and
> coding by example. It's a very humbling experience indeed... Good
> thing I got
> out of professional software development while I had the chance ;-)
We're trying to remedy that, but there are only so many hours in a
day...
I always encourage people to record their experiences as newcomers
to Dabo on the Wiki, so that others who discover Dabo can learn from
your struggles and avoid some common problems. I also have a
documentation project that I've been working on for the last couple
of months that I hope to make available soon.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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]