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 "nips.manage_changeProperties(REQUEST=REQUEST)"> </dtml-let> The item gets created but the Properties are not changed. Can someone please post the ADD/CHNAGE Trigger syntax and accompanying ZSQL Methods for a simple creation of a DataSkin ZClass. Much appreciated.
Hmm... since triggers are done at transaction commit time, could it be that the 'change' trigger doesn't happen if the change occurs on the same transaction as an 'add'? -steve
"bentzion" == bentzion <bentzion@bellatlantic.net> writes:
bentzion> This simple issue is driving me crazy... I am trying to bentzion> create a DataSkin with some Properties in a MySQL bentzion> database. So I have an ID, NAME, and DESCRIPTION that is bentzion> in REQUEST and using: bentzion> <dtml-let ni="newItem(key=REQUEST['key'])" bentzion> nips="ni.propertysheets.get('Basic')"> <dtml-call bentzion> "nips.manage_changeProperties(REQUEST=REQUEST)"> bentzion> </dtml-let> bentzion> The item gets created but the Properties are not bentzion> changed. bentzion> Can someone please post the ADD/CHNAGE Trigger syntax bentzion> and accompanying ZSQL Methods for a simple creation of a bentzion> DataSkin ZClass. bentzion> Much appreciated.
participants (2)
-
bentzion@bellatlantic.net -
Steve Spicklemire