Just wanted to share something that I thought was kind of neat (if
obvious).  I often present properties from a property sheet, and this
is an easy way to do it:

Assuming there are three fields in the property sheet, called field1, field2
and field3.

 <dtml-in "('field1', 'field2', 'field3')">
  <dtml-if "_[_['sequence-item']]">
     <dtml-var "_['sequence-item']" capitalize>
     <dtml-var "_[_['sequence-item']]">

It will give you something like this:

        Name    Value
        ------- -----
        Field1  abc
        Field2  def
        Field3  ghi


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

Reply via email to