I think the general idea of automating html generation for data entry
web forms is a very
good one, but IMHO it's heroic to even think about doing this sort of
stuff in dtml!! (This
discussion probably should be moved to zope-dev?)

I've got something which generates useful DTML and ZSQL code
automagically from ZClass BASIC propertysheet contents and so can be
used to do the grunt work for making zclass add and edit methods. It
generates ZSQL code which is only tested for the sybaseda but would be
relatively easy to tweak for other DA's

It uses a single python external method - have a look at
http://www.zope.org/Members/rossl/ZClassExtender for an example of
what's possible...feel free to extend it?!!

Sin Hang Kin wrote:

> I have the method form_dtmlDocument which generate the data entry form from
> an existing dtmldocument, How can I determine the type of the properties?
> Moreover, if the property is expected as list, how can I convert it into
> multiple input tag?


Dr Ross Lazarus
Associate Professor and Sub-Dean for Information Technology
Faculty of Medicine, Room 126A, A27, University of Sydney,
Camperdown, NSW 2006, Australia
Tel: (+61 2) 93514429   Mobile: +61414872482  
Fax: (+61 2) 93516646   Email: [EMAIL PROTECTED]

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

Reply via email to