[Zope] tales expressions issue
David Bear
David.Bear@asu.edu
Thu, 26 Dec 2002 16:08:38 -0700
I have a formulator form with 12 form objects -- some text boxes, some check boxes, etc. There are 3 multicheckbox objects that want to populate with objects from a folder object. Ergo, I have a multicheckbox objects called department, population, and institution. I also have folder objects by the SAME name at the same level in the zope heirarchy as the formulator form. I have a python script called listTitles also.
Now the strange thing happens when I use a python expression in to populate each of the above mention checkbox fields. I use "python:form.department.listTitles()" to populatre the department formulator object. It works. I use "python:form.population()" to populate the populatio formulator object -- it does NOT work. Same thing for institution.
I'm begining to wonder if I can only have one expression on a formulator form. Any idea's what might be happening? I can put in the url "http://server/test/department/listTitles" and I get back a python list of objects in the department folder. Which is what I expect. (so I know acquisition is working as I think it should)
--
David Bear
College of Public Programs/ASU
Mail Code 0803