Sin Hang Kin writes:
I wrote a small how-to on form wizards.
http://www.zope.org/Members/jspisak/wizard_keys
> 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 )
>
All my best,
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.
_______________________________________________
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 )