[Zope-dev] changing/storing Properties with ZPatterns

Joachim Schmitz js@aixtraware.de
Fri, 1 Dec 2000 10:07:05 +0100 (CET)


Hi,

I setup a Specialist with a ZCLass "AZ" for persistent storage. In AZ I
setup a Dataskin propertysheet "Basic" with properties Name, Street etc.

Now I made dtml-method form which iterates with: 

<dtml-call "REQUEST.set('ni',getItem(sid+id))">
<dtml-in "ni.propertysheets.Basic.propertyMap()">

over the Basic propertysheet,builds the form, and stores the values within
another dtml-method edit with:

<dtml-call
"ni.propertysheets.Basic.manage_changeProperties(REQUEST)">

this works fine. Now I wanted to have attributes which I don't want to
display in the form, for example complete attribute. I therefore created
another dataskin propersheet Internal in AZ with a property complete
and tried to set it with:

<dtml-call
"ni.propertysheets.Internal.manage_changeProperties(REQUEST,complete='1')">

But I don't manage to store retrieve this attribute.
All attributes in the Basic propertysheet I can store and retrieve.

what is the magic behind this ?



Mit freundlichen Grüßen

Joachim Schmitz  

          
AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven  
Telefon: +49-2464-8851, FAX: +49-2464-905163