-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <[EMAIL PROTECTED]>, Graham Chiu
<[EMAIL PROTECTED]> writes
>
>To help me with the tedious business of creating forms, I would like to
>make a generic field gadget.
>
>I thus have a dtml-document which has a number of attributes: 
> Eg: fieldname = 'userid'
>     fieldname-error = 'userid-error'
>
>
>But I now want this dtml-document when rendered to read the values of
>fieldname, and fieldname-error, and then generate the dtml equivalent to
>this ...
>
><dtml-if userid>
> value="<dtml-var userid>"
></dtml-if>> <br>
><dtml-if userid-error>
> <font size="2" color="red"><dtml-var userid-error></font><br>
></dtml-if>
>
>Clues?
>
>I presume the MetaPublisher product does this in rendering the dtml to
>another final dtml-document.
>

Does anyone have any leads for me on this one? ( How come the easy
questions get 5 answers in row :-) ?)

- -- 
Regards,  Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.co.nz/index.php
Powered by Interbase and Zope

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBOSpkDbTRdIWzaLpMEQLJtACbBNK2nHGdfZffF2QowmsG+jmhn7oAoOjP
id684BKh5Zsy91GY8qptmcQH
=wDb8
-----END PGP SIGNATURE-----

_______________________________________________
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