I had a folder the contains zpt objects call stuff. I would like to populat a checkbox type form element with the object id's of the contents of that folder -- stuff. The trouble is I'm using TAL and cant find much in the way of examples of using tal to do this. Any pointers?
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/
participants (2)
-
David Bear -
Skip Montanaro