[Zope] formulator product

Skip Montanaro skip@pobox.com
Tue, 26 Nov 2002 19:43:41 -0600


    David> I would like to populat a checkbox type form element with the
    David> object id's of the contents of that folder -- stuff.  The trouble
    David> is I'm using TAL and cant find much in the way of examples of
    David> using tal to do this.  Any pointers?

Having just learned this sort of thing from folks on the formulator list
recently, I refer you to the TALES tab of your MultiCheckBoxField.  In the
Items slot on the TALES tab, enter something like

    python:form.restrictedTraverse('/').objectItems()

then poke the Test tab.  There should be one checkbox for each folder in
your root.

-- 
Skip Montanaro - skip@pobox.com
http://www.mojam.com/
http://www.musi-cal.com/