[Zope-dev] Return variables from a DTML Method

2000-11-30 Thread bentzion
I want to change some ZClass properties by getting return results from a DTML Method. Something like this: dtml-call "myzclass.propertysheets.get('Basic').manage_changeProperties(dtmlM eth(this(),_))". How do I get the dtmlMeth to return a Mapping? (or should I be doing this a different way?)

[Zope-dev] Create Virtual DataSkin

2000-11-27 Thread bentzion
This simple issue is driving me crazy... I am trying to create a DataSkin with some Properties in a MySQL database. So I have an ID, NAME, and DESCRIPTION that is in REQUEST and using: dtml-let ni="newItem(key=REQUEST['key'])" nips="ni.propertysheets.get('Basic')" dtml-call

[Zope-dev] More ZPatterns confusion

2000-11-26 Thread bentzion
I am trying to add a ZClass with a DataSkin Property sheet to a Virtual Rack. So I call the following: dtml-let ni="newItem(key=REQUEST['key'])" props="ni.propertysheets.get('Basic')" dtml-call "props.manage_changeProperties(REQUEST.form)" /dtml-let I assume this should call

RE: [Zope-dev] ZPatterns Project Help!

2000-11-22 Thread bentzion
m(self.account_id) COMPUTE account_object=(RESULT is _.None) and NOT_FOUND or RESULT -steve "bentzion" == bentzion [EMAIL PROTECTED] writes: bentzion Another question... bentzion I want to have a GAP that will add some other Object t

[Zope-dev] ZPatterns Project Help!

2000-11-21 Thread bentzion
Another question... I want to have a GAP that will add some other Object to an attribute of my DataSkin. This is what I have tried with no success. fromexpr: accounts.getItem(self.account_id) attrsexprs: account_object=RESULT This way in my UI Methods in my DataSkin I can access (and change)