Hi Ben,

   GAPs are sort of deprecated at this point in favor
of SkinScript. In SkinScript you might do something like this:

WITH accounts.getItem(self.account_id) COMPUTE account_object=RESULT

or more carefully...

WITH accounts.getItem(self.account_id) COMPUTE account_object=(RESULT is _.None) and 


>>>>> "bentzion" == bentzion  <[EMAIL PROTECTED]> writes:

    bentzion> Another question...

    bentzion> I want to have a GAP that will add some other Object to
    bentzion> an attribute of my DataSkin. This is what I have tried
    bentzion> with no success.

    bentzion> fromexpr: accounts.getItem(self.account_id) attrsexprs:
    bentzion> account_object=RESULT

    bentzion> This way in my UI Methods in my DataSkin I can access
    bentzion> (and change) the attributes of "account_object".

    bentzion> Q. How can I do this? Should I be doing this in a
    bentzion> different/better way?

    bentzion> Thanks, -Ben

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to