On Wed, Jun 25, 2008 at 10:28 AM, Ed Leafe <[EMAIL PROTECTED]> wrote:
> On Jun 25, 2008, at 10:24 AM, Nate Lowrie wrote:
>
>> Have an update.  I have figured out that the Bizobj reference isn't
>> getting set right in the Properties tab.  I can set it to
>> "self._myBizobj" but it doesn't recognize that as an object reference.
>> However, when I set the DataSource manually everything works.  I am
>> not sure if this is a bug, but I thought I would pass the information
>> along.
>
>
>        Everything is a string in the prop sheet; when the DataSource is set
> on the live object, the string should be evaluated in context. Of
> course, it won't resolve in the Class Designer, but it should resolve
> when run.
>
>        Can you add some debug output to
> dabo.ui.dDataControlMixinBase._getSrc() to follow the course of the
> resolution of the DataSource string? If you need help, let me know and
> I can send you a version with some debug output added.

Did the testing.  The problem was in this case that self referred to
the dTextBox object rather than the form.  Because of the try/except
clause around the eval statement (line 383), the error was silent and
not reported.  When I replaced the component with
'self.Form._myBizobj' it work, though I found out that the
_scrIsBizobj parameter wasn't being set properly if the string did
turn out to be a Bizobj.  Fixed both in the latest commit.

Nate L.


_______________________________________________
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/[EMAIL PROTECTED]

Reply via email to