Zope masters, listen, for the student has doubts. I am building a Cope site that will be a cooperation tool for my workgroup. Some of the other group members are not extremely computer literate, so all my interfaces have to be simple, and only contain the necessary functionality. Now, in our work, we have Items. Items have statistics and descriptions. I want to make it possible for the group members to manipulate Items. I want them to be able to see lists of Items, organized by different criteria. I want them to be able to change the statistics of Items. I want them to be able to read and change the descriptions. If they write a new description for an item offline, I want to enable them to upload this description for the Item. All this without them meeting the complexity of the Zope "manage" interface, only my own home-built tables and forms. After meditating on the Zope documentation, I have come to the belief that the right thing to do will be to create a Product with a Z class that has statistics as properties and a DTML document containing the descriptions. However, confusion clouds my mind: * How do I set properties from DTML, based on form input? * How do I edit the contents of a DTML document from a DTML method? * Is the structure I have chosen the best one? -Magnus
Hi Magnus ! magnus@vestnett.no wrote:
After meditating on the Zope documentation, I have come to the belief that the right thing to do will be to create a Product with a Z class that has statistics as properties and a DTML document containing the descriptions. However, confusion clouds my mind:
* How do I set properties from DTML, based on form input? * How do I edit the contents of a DTML document from a DTML method? * Is the structure I have chosen the best one?
Have a look at the ZDP-Tools for inspiration. http://www.zope.org/Members/roeder http://www.zope.org/Members/roeder/ZDP-Tools-0.1-Announcement Discussion is possible via http://zdp.zope.org:8080/ZDP/projects/zdptools or via the ZDP mailing list: zdp@zope.org It would be fairly easy to extend the ZDP-Tools for your needs, because _everything_ is done with DTML, and most things can be changed even by novice DTML programmers. Just plug in your own subclass of DocumentFolder. Greetings, Maik Röder
participants (2)
-
magnus@vestnett.no -
Maik Roeder