Hello,

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?

CODE : form_dtmlDocument

<dtml-var standard_html_header>
<h2><dtml-var title_or_id> <dtml-var document_title></h2>
<form action="<dtml-var URL1 missing>" method="post">
<dtml-in "propertyIds()">
   <b><dtml-var "_['sequence-item']"> : </b>
   <input type="text" name="<dtml-var "_['sequence-item']">"
value="<dtml-var "_[_['sequence-item']]">" size="50">
   <br>
</dtml-in>
<textarea cols="50" rows="4">
<dtml-var this>
</textarea><br>


<input type="submit" name="edit_dtmlDocument:method" value="OK">
<input type="submit" name="dump_request:method" value="debug">
</form>

<dtml-var standard_html_footer>
Rgs,

Kent Sin
---------------------------------
kentsin.weblogs.com
kentsin.imeme.net


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to