[Zope] tales expressions issue
David Bear
David.Bear@asu.edu
Mon, 30 Dec 2002 09:40:52 -0700
On Fri, Dec 27, 2002 at 08:35:53PM +0100, Dieter Maurer wrote:
> David Bear wrote at 2002-12-26 16:08 -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 see
>
> "python:form.department.listTitles()" works
> "python:form.population()" does not
>
> For me, these are quite different....
>
sorry, my type. it should be
python:form.department.listTitles()
python:form.populations.listTitles()
etc..
>
> Dieter
--
David Bear
College of Public Programs/ASU
Mail Code 0803