Dr. Ross Lazarus writes: Have you guys seen MetaPublisher?! http://hive.beehive.de/Beehive/www.beehive.de/Zope/MetaPublisher/ A very strong offering in this direction.
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: rossl@med.usyd.edu.au
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Jason Spisak CIO HireTechs.com 6151 West Century Boulevard Suite 900 Los Angeles, CA 90045 P. 310.665.3444 F. 310.665.3544 Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email address may not be added to any commercial mail list with out my permission. Violation of my privacy with advertising or SPAM will result in a suit for a MINIMUM of $500 damages/incident, $1500 for repeats.