[Zope] tales expressions issue

David Bear David.Bear@asu.edu
Thu, 2 Jan 2003 16:10:12 -0700


> David Bear wrote at 2002-12-26 16:08 -0700:
> 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 populate 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 see
> 
>   "python:form.department.listTitles()"		works
>   "python:form.population()"			does not
> 
Correction to my first post, I use
python:form.department.listTitles()
python:form.populations.listTitles()

It seems formulator is only capable of evaluated ONE TALES expression for ALL form objects that exist...  Is this a bug?
 
to recap, my listTitles() script lives in the same folder as the formulator form.  All other folderish objects live beneath the the form.  department, population, etc are children of the folder where both listTitles and the form exist.  I've test listTitles() for correct acquistion using straight URL's and it works as expected.  

It just seems that when attempting to populate a formulator object, formulator only evaluates ONE python expression...

-- 
David Bear
College of Public Programs/ASU
Mail Code 0803